Wednesday, February 15, 2012

List the job flow for a scheduled job by CA7

FSTRUC will list the job flow for a scheduled job.  If you want to find out the triggering stream of a scheduled job, enter

FSTRUC,JOB=JOBE,SCHID=001  (FSTRUC,JOB=jobname,SCHID=nnn)  You will see the following:

FSTRUC,JOB=JOBE,SCHID=1
FSTRUC                                                                                                                                 DATE mm-dd-yy    PAGE 0001
                                                                FORECAST FOR CA-7 JOBS
                START TIME          : mm-dd-yy AT hhmm
               
                JOB(S)                    : KMPA@CMS

                SYSTEM(S)            : ALL                        JOBNET(S)            : ALL

                OPTIONS               : BOTH JOB- AND DSN-TRIGGERED JOBS INCLUDED
                                                   CONNECTED OUTPUT NETWORKS NOT INCLUDED

                HIGHEST JOB DATE AND TIME                                          : yyddd/hhmm
                HIGHEST JOB NAME                                                            : Last job determined to be scheduled

                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
FSTRUC,JOB=KMPA@CMS,SCHID=1
FSTRUC                                                                                                                                 DATE mm-dd-yy    PAGE 0001
                                                NETWORK STRUCTURE FOR CA-7 JOBS
                                START TIME          : mm-dd-yy AT hhmm

A                      B                      C          D                      E                      F                      G
LEV#                       JOB NAME             SYS         START DTTM          END DTTM            TRIGGERING        JOB/DSN/SID
--- KMPA@CMS. . . . . . . . . . . . . . . .  CMPMER   yyddd/hhmm           yyddd/hhmm
001     KMPA003D . . . . . . . . . . . . . . CMPMER     yyddd/hhmm         yyddd/hhmm         KMPA@CMS                          :001
002           KMPA@OMS . . . . . . . . .  CMPMER     yyddd/hhmm         yyddd/hhmm         KMPA003D                             :001
003                 KMPARVLTP. . . . . . . CMPMER     yyddd/hhmm         yyddd/hhmm         KMPA@OMS                          :001
002           KMPA005D .. . . . . . . . . .  CMPMER     yyddd/hhmm         yyddd/hhmm         KMPA003D                             :001

SFCI-00 REQUEST COMPLETED AT hh:mm:ss ON yy.ddd            
                                   
Item Description - Starting on the left side:

     LEV#  indicates at which level of the job steam this job is scheduled  (--- is the job requested or lead job, 001 identifies the job(s) directly triggered from the lead job, 002 identifies the jobs directly triggered from the level 001 jobs and so on.)
     JOB NAME  identifies the job(s) in the job stream.
     SYS - System(s) associated with  the job(s) listed under the JOBNAME column.
     START DTTM - (Start Date/Time)   is the day requested to forecast and calculated start time of the job listed under the column JOBNAME.
     END  DTTM - (End Date/Time)   is the calculated end date and time of the job listed under the column JOBNAME.
      TRIGGERING JOB/DSN - Indicates the job or dataset that triggers the job listed in under JOBNAME column.
     SID - Schedule Id which the job(s) listed under the JOBNAME column.  Each Job schedule contains a schedule id.

No comments:

Post a Comment