Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to check Lib sizes?

Status
Not open for further replies.

fvlmasl2

Programmer
Sep 21, 2003
7
US
Hello All...

I need to check what libraries(program, files, query,....)
for their size. I kind of remember a report that breaks out all lib's and their sizes. Can someone point me in the right direction?

Thanks
Frank

 
Hi fvlmasl2,

You could post same question to the RPG forum and get a better audience.... but this is how I'd approach it.

Use the DSPOBJD command - specify object type *LIB - or User lib if that is an option i the Attributes line.

for Output specify *outfile - give it a name and the library you want the file to be written to.

Then, build an AS400 Query (CRTQRY I think is the command)
specify your above outfile name - select only the fields you are interested in .. lib name, size etc

maybe this will get you started. I have done this but at home don't remember the exact command specs.

HTH, John

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top