AS/400 HELP    

                                        "LIBINFO" 

                           

 

LIBINFO   prints 2 lists  showing the size of your libraries.  It uses IBM’s QUERY to print the first list in order of library name and the second in ascending order of library size.   API   QLIRLIBD is used.   It provides a quicker (one line summary) than DSPLIB.   You can run it at set intervals  to gauge the growth of your libraries.   (warning: run time may take an hour or more)

LIBINFO     is an amalgamation of  2 programs from Martin Rowe  that show the actual size of an AS/400 library. ( One via a clp (RTVLIBINF)and the other via API QLIRLIBD) I combined both programs to use the api and  added a few  mods.

LIBINFO will run at V4r5 and higher.

 

PC INSTRUCTIONS:

Download "LIBINFO” to your PC.

Go to a DOS session and enter the following;

FTP SYSTEM                                        (system = your AS/400’s name or IP address)

Enter a valid user id and password

CD QGPL

LCD C:\DIRECTORY (directory= the directory on your pc where you downloaded “ libinfo.savf”

QUOTE    SITE     NAMEFMT   1

BIN

PUT       LIBINFO.SAVF

QUOTE   RCMD   RSTLIB   SAVLIB(PLIBINFO)   DEV(*SAVF)   SAVF(QGPL/LIBINFO)

 Note:  If there is a security problem restoring all objects with the command above,  sign on to your as/400 as Qsecofr and run RSTLIB  from the command line.

   DOWNLOAD  libinfo.savf                           

 

 

AS/400 INSTRUCTIONS:

ADDLIBLE LIBINFO

LI

NOTE2:  Info  is writen to file LIBINFO in library LIBINFO.    LIBINFO may take some  time to run as it examines every library on your AS/400.  I suggest you run it before or after the business day.