AS/400 HELP    

                                    "QRYIFSLIB" 

Print out a summary and detail Query listing of your AS/400 IFS

This is one program taken from IBM’S  IFSTOOL library (freeware)

 

 

This version  is meant for  V5r1. It may not work on later releases. The complete source for this and the other programs is available in the IFSTOOL library.   This download includes QRYIFSLIB, two small CLPs and a QUERY.   

 

 

PC INSTRUCTIONS:

Download "QRYIFSLIB” 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 “ QRYIFSLIB.savf”

QUOTE    SITE     NAMEFMT   1

BIN

PUT       QRYIFSLIB.SAVF

QUOTE   RCMD   RSTLIB   SAVLIB(QRYIFSLIB)   DEV(*SAVF)   SAVF(QGPL/QRYIFSLIB)

 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 qryifslib.savf                          

 

AS/400 INSTRUCTIONS:     

 

  

CALL QRYIFSLIB/QRYIFS

 

NOTE:   QRYIFSLIB can be called on the command line and will display a couple of screens of instructions. QRYIFS is a cl program that  submits program QRYIFSJ  to QBATCH , runs QRYIFSLIB  and then runs a query to print a detail listing. You may want to modify query QRYIFSLIB1 to suit your needs.   

 

NOTE:  If you leave a CD in the drive QRYIFSLIB will include its contents in the summary and detail query