Tuesday, January 31, 2012

LJOB command in CA7

        LJOB lists job information.  If you want to list a job record, enter LJOB,JOB=jobname,LIST=NODD.  NODD is one command to provide all of the following in a single display.

LJOB,JOB=Jobname
LJOB,JOB=Jobname,LIST=JOB 
LJOB,JOB=Jobname,LIST=SCHD
LJOB,JOB=Jobname,LIST=TRIG 
LJOB,JOB=Jobname,LIST=DEPJ 
LJOB,JOB=Jobname,LIST=RQJOB or RQMT
LJOB,JOB=Jobname,LIST=RQNWK
LJOB,JOB=Jobname,LIST=RQUSR

This section of the display is the CA-7 job definition.  The information includes System Name, Last Run Date and Time, Job set for exec on Main (N=NOEX), and Elaps Time (Wall time of the Job which is the average of the last 5 successful completions of the job).  This information can also be obtained using the LIST=JOB option.


JOB=SFSA005D, LIST=NODD                                                     DATE=97.114    PAGE 0001

A          B       C              D       E         F            G            H     I     J      K                      L
JOB          ----JCL----             SYSTEM    USR   MAIN    PROSE    SCHED  --NUMBER OF-     LAST-RUN  
NAME      ID  MEMBER         -NAME-     -ID       -ID-       DSNBR   DSNBR  STP DDS RUNS   DATE/TIME 
                                                                               
SFSA005D 000 SFSA005D     FSFSAMS   003      ALL    *NONE*   000051    005  041  0013      97112/1628 
                                    M
--------------------------- JOB INFORMATION ---------------------------  (LIST=JOB)
       N -- SCHD RESOLUTION REQUIRED      N -- LOAD STEP TO BE EXECUTED        
       N -- OVERRIDE OF JCL REQUIRED        Y -- JOB MARKED AS MAINT ONLY        
       N -- MANUAL VERIFICATION REQD        N -- JOB SET FOR HOLD IN REQQ        
       Y -- REQUIREMNTS TO BE LISTED         Y -- COMP TRIGGERS OTHER JOBS        
       Y -- AUTO-GENERATION OF 7 RMS        Y -- JOB ELIGIBLE FOR PROMPTS        
       Y -- ERRORS FOR RQMT NOT USED      Y -- JOB SET FOR EXEC ON MAIN        
       Y -- ERRORS FOR DSN NOT FOUND      N -- JCL TO BE KEPT IN PRRN/Q    
                                                                          
N         . OWNER= *NONE* JCLLIB=NUMERIC JCLID - ARFSET=*NONE*
O        . LAST MAINTENANCE ON 97.048 AT 08:12:00 VIA LOAD                       
P        . CLASS=S,MSGCLASS=W,REGION=0999K,PRTY=000,CPUTM=00008,ELAPTM=0004       
Q       . TAPE1: CALC=00,MANL=00,TAPE2: CALC=00,MANL=00                         
R       . JOBNET=DAILY                                                          
S       . DONT SCHEDULE BEFORE 95195 AT 1100                                    
T       . DONT SCHEDULE AFTER 99195 AT 1100                                    
U       . CONSIDER ABNORMAL END IF 0000 IS LT HIGHEST STEP COND-CODE            
V       . # OF TIMES LATE = 0009    # OF TIMES RESTARTED = 0003   

       ------------------------------ SCHEDULES ------------------------------  (LIST=SCHD)
                        CALENDAR SCAL97FI                                      
       ID=001   ROLL=D  INDEX=+000                                             
                DOTM=2230  LEADTM=0030  STARTM=2200                            
                WEEKLY    DAY=MON,TUE,WED,THU,FRI                              
                                                                                
--------------------------- TRIGGERED JOBS ----------------------------  (LIST=TRIG)
          JOB=SFSA407D SCHID=000      QTM=0010 LEADTM=0000 SUBMTM=0000         
                                                                                
 --------------------------- SUCCESSOR JOBS ---------------------------- (LIST=DEPJ)
          JOB=/TFSA005D SCHID=000                                              
          JOB=SFSA015D  SCHID=000                                               

 ---------------- REQUIREMENTS AND NETWORK CONNECTIONS ------------ (LIST=RQJOB) 
JOB=SACA030D        SCHID=000   VRSN=97099/1003   LEADTM=10             
JOB=/TFSA005D       SCHID=000   VRSN=97046/1709                          
JOB=SFSA032D        SCHID=000   VRSN=97046/1711   LEADTM=10 
           
 NWK=SXCV205D        SCHID=000   NWKSCHID=000      LEADTM=0005    (LIST=RQNWK) 

           NWNBR=NW000136  SUBID=BALANCE   DESC=SXCV205D     **  INPUT **      

DSN=IOCP00P.PB.SYSS.PROD.LOADLIB                       **** PERM DSN **** (LIST=RQMT)
           DSNBR=DS000002  SCHID=000   VRSN=97048/0812                         
           CREATED BY **NONE**                                                 
 DSN=IDCP00P.PO.DB81.CUSLIB                                    **** PERM TO JOB ****
           DSNBR=DS000512  SCHID=000   VRSN=97048/0812                         
           CREATED BY **NONE**                                                 
DSN=SFSA00P.PB.SFSA0052.CHGBCK.INV                                      
           DSNBR=DS001790  SCHID=000   VRSN=97048/0812                         
           CREATED BY SFSA005D                                                  
                                                                                
SLIA-00 REQUEST COMPLETED AT 13:23:39 ON 97.114                                
Item Description

     JOBNAME - the name of the job as defined in the database
     JCL ID - number assigned to the  library the JCL resides in
     JCL - Member is the JCL member this job will execute.
     SYSTEM NAME -  Name assigned to assist in categorizing the job
     USR ID  - Option not used , default is zeros.
     MAIN ID - ALL   This job can execute on any CPU
     PROSE MEMBER - Option not used, default is *NONE*
     SCHED DSNBR -  Number indicates this job is on a schedule.  *NONE* means this job is either triggered or demanded in for execution.
      NUMBER of STP - Indicates the number of job steps this job contains.
      NUMBER of DDs - Indicates the number of DD statements this job’s proc contains.
     NUMBER of RUNS - Indicates the number of Successfully completed runs of the job.
      LAST-RUN DATE/TIME indicates the last date and time this job successfully ran.
     JOB INFORMATION  values are either Y or N
1      SCHD RESOLUTION REQUIRED - A Schedule has been created and indicates the need to be resolved.  Information is obtained from the SCHD screen when a schedule is built.
2      OVERRIDE OF JCL REQUIRED - Indicates if a job needs to have overrides in the JCL
3      MANUAL VERIFICATION REQUIRED - Job screen indicates VERIFY=Y . Job will be HELD in the Request Queue and needs to be manually posted
4      REQUIREMENTS TO BE LISTED - Identifies requirements messages to be logged
5      AUTO-GENERATION OF 7 RMS - Job screen indicates RMS=Y or N.  Determines if CA-11 Restart  interface is to be used.
6      ERRORS FOR RQMT NOT USED - Identifies requirements messages to be logged
7      ERRORS FOR DSN NOT FOUND - Identifies requirements messages to be logged
8      LOAD STEP TO BE EXECUTED - Identifies if the LOAD proc is to run to LOAD job information.
9      JOB MARKED AS MAINT ONLY - Indicates if the DSN requirements will be ignored
10    JOB SET FOR HOLD IN REQQ  - Job will be HELD in the Request Queue and needs to be manually posted.
11    COMP TRIGGERS OTHER JOBS - Indicates if this job will trigger another job.  Information is obtained from the JOB Trigger Screen when a trigger is added.
12    JOB ELIGIBLE FOR PROMPTS - Indicates if message prompts will be issued if a job is LATE.  Message goes to the log.
13    JOB SET FOR EXEC ON MAIN - Indicates if the job is executable on the HOST
14    JOB TO BE KEPT IN PRRN/Q - Indicates if the JCL is to be kept in the Prior Run Queue with the job information.

     OWNER = *NONE*  - JCLLIB=NUMERIC JCLID - ARFSET=*NONE*  These fields are not defined.
     LAST MAINTENANCE ON yy.ddd AT hh:mm:ss 
     CLASS= CA-7 job class defined to the job. Used for Workload Balancing.
MSGCLASS= MVS Message class assigned to the job.  Obtained from the JOB card via a LOAD
REGION= Amount of Region space needed for the job.  Obtained from the Job JCL via a LOAD
PRTY= CA-7 priority defined to the job.  Used for Workload Balancing
CPUTM= System Cycles in time. Value here indicates the average of the last 5 successful runs of the job.
ELAPTM= Wall time. Value here indicates the average of the last 5 successful runs of the job.
    TAPE1: 
1      CAL= Number of tape drives needed for this job. Obtained from  Job JCL via a LOAD. Used for Workload Balancing.
2      MANL= Number of tape drives needed for this job. Manual override to the CAL field. Used for Workload    Balancing.
TAPE2:     
3      CAL= Number of tape drives needed for this job. Obtained from  Job JCL via a LOAD. Used for Workload Balancing. 
4      MANL= Number of tape drives needed for this job. Manual override to the CAL field. Used for Workload Balancing.
     JOBNET - Name assigned to assist in categorizing the job
     DONT SCHEDULE BEFORE - yyddd AT hhmm  Indicates this job is not to be scheduled before the date/time specified
DONT SCHEDULE AFTER  - yyddd AT hhmm  Indicates this job is not to be scheduled after the date/time specified
CONSIDER ABNORMAL END IF nnnn IS cc HIGHEST STEP COND-CODE Indicates the JOB level condition code used to determine if a job executes successfully or not.
     # OF TIMES LATE = nnnn - # OF TIMES RESTARTED = nnnn

No comments:

Post a Comment