Previous Topic: CA Roscoe SupportNext Topic: Using No Runtime Options


Conflict with the CA Roscoe EXPORT Command

Any libraries that are allocated to CA Roscoe by the JCHKPLIB DD statement are not available to the EXPORT command. CA Roscoe uses an exclusive enqueue to gain control of the library to ensure that updates are single-threaded. Since these libraries are allocated DISP=SHR to CA Roscoe, the message DATASET UNAVAILABLE, TRY AGAIN LATER is generated.

The CA JCLCheck DEQUE option provides a solution to this problem by removing the data set from the queue. The easiest way to do this is to add a step to invoke CAZ2DEQ before the CA Roscoe online step. The necessary JCL is shown in the sample job in the OPTION Library. The DD statements between the JCHKFREE DD statements must be the same (ddname and dsname) as the PROCLIB DD statements you add to the CA Roscoe online step.

CA Roscoe Jobstream Modification for the DEQUE Option

//ROSCOE   JOB
///
///
//JCLDEQ   EXEC  PGM=CAZ2DEQ
//SYSPRINT DD    SYSOUT=A

//JCHKFREE DD    DUMMY          MARK START OF GROUP TO FREE
//JCHKPLIB DD    DSN=SYS1.PROCLIB,DISP=SHR
//         DD    DSN=SYS2.PROCLIB,DISP=SHR
//         DD    DSN=SYS1.IMS.PROCLIB,DISP=SHR
//JENDFREE DD    DUMMY          MARK END OF GROUP TO FREE
///
//ONLINE   EXEC  PGM=ROSCOE
//JCHKPLIB DD    DSN=SYS1.PROCLIB,DISP=SHR
//         DD    DSN=SYS2.PROCLIB,DISP=SHR
//         DD    DSN=SYS1.IMS.PROCLIB,DISP=SHR