Can Optimizer/II or SymDump Batch exit CAOCUPRT be used to determine which repository to write the CAIPRINT dump to based on the Job account code?
Release: 8.5
Component: Optimizer/II
Starting with release 8.5 fix RO35462 for products Optimizer/II and SymDump Batch the Job account code is now available to exit CAOCUPRT.
The user exit CAOCUPRT allows the CAIPRINT repository to be determined based upon user-specified criteria (such as user id or job name). The user exit receives control if the CAIPRTLB DD is not specified in the JCL.
The change is reflected by new field PRTACCT in member HLQ.CARXJCL(CAOCUPRT).
Note: This change will be transparent to customers currently using CAOCUPRT.
You do not need to reassemble CAOCUPRT and will experience no change in the behavior of this program.
The layout below is located in member HLQ.CARXJCL(CAOCUPRT).
PRTPARM DSECT
PRTJOB DS CL8 JOB NAME
PRTSTEP DS CL8 STEP NAME
PRTUSRID DS CL8 USERID
PRTTIME DS CL8 TIME OF REPORT (00HHMMSS)
PRTDATE DS CL8 DATE OF REPORT (YYYYMMDD)
PRTPGMID DS CL8 PROGRAM ID
PRTCODE DS CL7 COMPLETION CODE (LEFT JUSTIFIED)
* FORMAT SXXX, UNNNN OR MMMNNNN)
PRTDSN DS CL44 PRTLIB DATA SET NAME
PRTACCT DS CL25 ACCOUNT CODE (IF AVAILABLE)
PRTPARML EQU *-PRTPARM