Previous Topic: Configuring CA DRAS for CA Dispatch

Next Topic: Modifying CA DRAS Control Statements for CA Dispatch


Modify BY3CJST for CA Dispatch

The following JCL has been customized for CA Dispatch. Note that there are additional modifications to the CA DRAS JCL that are required to communicate with a CA Dispatch repository.

//CADRAS EXEC PGM=CAHFDRAS,TIME=NOLIMIT,REGION=0M   
//STEPLIB  DD DISP=SHR,DSN=CAI.CBY3LOAD (DRAS LOADLIB)                     
//         DD DISP=SHR,DSN=CAI.CADSLOAD (DISPATCH REPOSITORY LOADLIB)         
//DRASCFG  DD DISP=SHR,DSN=CAI.CBY3OPTN(CAHFDCFG) (CONFIGURATION FILE)
//SYSOUT   DD SYSOUT=*,HOLD=YES                                       
//SYSPRINT DD SYSOUT=*,HOLD=YES                                       
//DRASLOG  DD SYSOUT=*,HOLD=YES                                       
//DRASTRC  DD SYSOUT=*,HOLD=YES
//DISP1    DD DISP=SHR,DSN=DISPATCH.SYSCTL (CA DISPATCH SYSCTL DATASET)                                        
//*** REQUIRED DUMMY JOURNAL STATEMENTS ***
//SYSJRLN  DD DUMMY                                                                                                
//CAIJRNL1 DD DUMMY 
//CAIJRNL2 DD DUMMY                             
//CAIJRNL3 DD DUMMY                             
//CAIJRNL4 DD DUMMY                                            

The CA Dispatch SYSCTL file must be allocated to the CA DRAS task to provide access to the CA Dispatch reports. The DDNAME added to the JCL must match the value defined in the ACCESS REPOSITORY parameter defined in your CA DRAS configuration file. In addition, the data set allocated must match the data set defined to the CA Dispatch region using the CAICTL DD statement.

In this example, a DDNAME of DISP1 is defined. There must be a separate and unique DDNAME statement added for each CA Dispatch region that must be accessed.

Note: For more information about ACCESS REPOSITORY statement, see Modifying CA DRAS Control Statements for CA Dispatch. DD DUMMY Statements are required for the CA Dispatch journal files.