Previous Topic: Job APCXJLIBNext Topic: Search for New and Changed Programs - Step APCXALMO


JCL Scan - Step APCBAJCL

Program APCBAJCL scans all job libraries and procedure libraries that are defined by your parameter definitions for these libraries. Additionally, the parameters for standard programs and standard procedures are processed. Only jobs and programs falling within the Scope are processed. The information regarding which application program is called in which step of which job is provided in the job cluster and in the interface file APCJSTPR.

New entries in the job cluster do not have statistical average values or history. If program APCBAJCL detects a new application program name, it overrides the existing application program name with the new name and deletes all existing statistical information. If the JCL change should result in a new job step name and the old name is no longer used, Performance Management Assistant does not delete the old name.

For more information on standard programs, see Defining Standard Programs. For more information about standard procedures, see Defining Standard Procedures.

Report APCREP contains all warnings, that is, JCL errors in the job statement or procedure not found. If there are many procedure not found in proclib errors, you should check if you have defined all PROCLIBs; see Defining Procedure Libraries.

As a result of the joblib/proclib/datalib scan, Performance Management Assistant generates file APCJSTPR containing call information per job step. Normally this file is a temporary data set. If this information is of interest for further use within your company, you can change the JCL so that DD statement APCJSTPR refers to a permanent data set (see the following JCL.

Organization

QSAM

 

Record length

80 bytes

 

Record layout

1-8

Job name

 

9-16

Step name

 

17-24

Procstep name

 

25-32

Program name

 

33-80

Filler

//APCBAJCL EXEC  PGM=APCBAJCL
//STEPLIB  DD DSN=CAMAT.PMA.CEETLOAD,
//            DISP=SHR
//APCNEW   DD DSN=NULLFILE,
//            DISP=SHR
//APCPARAM DD DSN=CAMAT.PMA.PARMS,
//            DISP=SHR
//APCBJOB1 DD DSN=CAMAT.PMA.KSDSJOB,
//            DISP=SHR
//APCBEXC1 DD DSN=CAMAT.PMA.KSDSEXC,
//            DISP=SHR
//APCJSTPR DD DSN=&&JSTPRT,
//            DISP=(,PASS),
//            DCB=(RECFM=FB,LRECL=80),
//            UNIT=SYSTS,
//            SPACE=(CYL,(1,5))
//APCREP   DD SYSOUT=*
//APCEREP  DD SYSOUT=*
//APCJLOG1 DD DSN=CAMAT.PMA.LOG,
//            DISP=OLD
//*