Contents - Index


 

Use JobList to create a list session of a JES data set group or of a POWER job.

 

JobList may also be entered as JobLi[st], ListJ[ob], LiJ[ob], ListP, LiP or LP.

 

Optional Operands

 

JOB is a JES job containing the JES data set group that is to be listed or is a POWER job to be listed.

 

GROUP [JES jobs only]. is the JES data set group to be listed.

 

 GROUP must not be specified if DSET is specified.

 

DSET [JES jobs only.]. is the data set to be listed.

 

 DSET must not be specified if GROUP is specified.

 

JobList can also be invoked by entering the ContextList command while a JobLibrary display is active.  Initially, the attributes of a JobList session are ZONE=1-253 for Locate, LocateUp, and Qualify and FINDCOL=1 for Find, FindFirst, FindUp, NotFind, and NotFindUp.  These can be changed with the SessionAlter command.

 

If the job or job data sets are deleted while you are listing them, your session will collapse to a one-line message indicating the entry has been deleted.  You must issue SessionClose or SessionDiscard against this session.

 

JES Notes

 

If none of JOB, GROUP and DSET are specified, the last referenced job (and data sets) are displayed.  If only JOB is specified, all SYSOUT data sets are displayed.

 

JobList sets the last referenced job (and data sets).

 

POWER Notes

 

If JOB is not specified, the last referenced job is displayed.

 

JobList sets the last referenced job.

 

When Valid

 

Check with your System Administrator to determine the restrictions on access to jobs at your site.  The exit routine distributed with BIM-EDIT provides several restriction schemes your System Administrator can select from.

 

Return Codes

 

OK Successful.

NF Job or job data sets not found.

-- Codes as defined by the BIXPWQA exit routine.

 

JES Examples

 

Create a JobList session for the sysout data sets of JES job 6543:

 

   => lp 6543

 

Create a JobList session for data set SYSPRINT in step GO of JES job XM3050:

 

   => lp xm0350,dset=go.sysprint

 

Create a JobList session for data sets in hold queue class A in the last referenced job (and data sets):

 

   => lp group=a

 

POWER Examples

 

Create a JobList session for the POWER job XM3050 in the RDR queue:

 

   => lp rdr.xm3050

 

Create a JobList session for segment 2 of POWER job 1278 in the PUN queue:

 

   => lp pun.1278.2

 

Create a JobList session for the POWER job ACPAY805 in the LST queue:

 

   => lp acpay805