JCL SCANNER - CAPTURE XCOM FILES FROM DATALIB

book

Article ID: 7080

calendar_today

Updated On:

Products

CA Repository

Issue/Introduction

The Repository JCL scanner does not scan and record the files which are being created in transmission step(s) specified via DATALIB used by XCOM. 

Environment

Release: DATASH00200-7.2-Repository-Webstation Option
Component:

Resolution

Solution RO95877 provides an enhancement to the JCL scanner which will expand on the contents of a DATALIB used by XCOMBTCH.  This has been introduced a new a paramter to the DBXSJCL program and is the 10th parm.    When set to ‘Y’ the program will expand DATALIB and write the contents to a new intermediate file

 

When set to ‘N’ or spaces, then DBXSJCL behaves as it does today and does not expand on DATALIB

 

The following example has the new parm set to Y to expand on DATALIB

 

ISPEXEC SELECT PGM(DBXSJCL) +              

 PARM('N,J,M,+                             

TSREPO.AMEX.JOB(AJLD9100),TSREPO.AMEX.PROC,+

0,R,N,B,Y')                    

 

Setting this parm to Y requires that you add a new DD statement to the JCL in both the ALC0 and ALN0 steps.  The DD name is XCOMBTCH.    

It is recommended to put this after the DBXTEXT DD.

For example

 

//ALC0  EXEC PGM=IEFBR14

.

.

//DBXTEXT   DD DSN=&TMPTEXT,                       

//             DISP=(MOD,DELETE),                  

//             UNIT=SYSDA,                         

//             SPACE=(TRK,(10,10)),                

//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=23360)

//XCOMBTCH  DD DSN=TSREPO.AMEX.XCOM,             

//             DISP=(MOD,CATLG,DELETE),            

//             UNIT=SYSDA,                         

//             SPACE=(CYL,(1,1)),                  

//             DCB=(RECFM=FB,LRECL=80)                

 

+

 

//ANL0 EXEC PGM=IKJEFT1A

.

.        

//XCOMBTCH  DD DSN=TSREPO.AMEX.XCOM,

//             DISP=SHR