AS/400 HELP    

                                  "BATCHUSERS" 

  Display a list of the Batch Users with an IP address

                     (who’s currently downloading )

 

 

BATCHUSERS  displays a list of  batch subsystem users  with an IP address

In the example  I was using EXCEL  and FTP .   EXCEL is handled by QSERVER subsystem. FTP comes through QSYSWRK.  IBM  will allow different  subsystems for the usual downloading . Only ‘BCH’  jobs with an IP address are selected.

 

BATCHUSERS was developed and compiled at 5.1 

PC INSTRUCTIONS:

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

QUOTE    SITE     NAMEFMT   1

BIN

PUT       BATCHUSERS.SAVF

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

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

 

 

AS/400 INSTRUCTIONS:

ADDLIBLE BATCHUSERS

BU

 NOTE   You can easily modify BATCHUSERS to include Interactive jobs. There are 2 simple mods.  Use SEU and do F16 to find  !    For the first occurrence  change  PARM  ‘B’  to  ‘*’    For the second occurrence  add    C   jobtype  oreq  ‘I’ .   Recompile .