Control-M is having problems reading the jobs sysout and is issuing the messages like: CTM262W 0020 UNSUCCESSFUL ATTEMPTS TO READ JOB DATA BY SUBSYSTEM REQUEST. RETRY |
Check all the following and set the recommended parameters:
- In ioa.PARM(CTMPARM) in section SPYER set parameters SAPI=Y and SDSB=Y. - Make sure the Control-M held output class defined in ioa.PARM(CTMPARM) section MONITOR parameter HLDCLAS is defined in JES as (HOLD,HOLD) =>To specify the held output class, the following JES definition must be made: OUTCLASS(h) OUTDISP=(HOLD,HOLD) /* IS A HELD CLASS */ OUTPUT=PRINT /* PRINT CLASS */ where h is the sysout class specified in the HLDCLAS parameter in the CTMPARM member. => To display and check the current CLASS details use the JES2 command: $D OUTCLASS (<HLDCLAS>) Exemple: $D OUTCLASS (X) RESPONSE=CMB2 $HASP842 OUTCLASS(X) $HASP842 OUTCLASS(X) OUTPUT=PRINT,BLNKTRNC=YES, $HASP842 OUTDISP=(HOLD,HOLD),TRKCELL=YES - Make sure that the job submitted by CONTROL-M have in JOB card MSGLEVEL=(1,1) - If the job is an "ON SPOOL" jobs, e.g. a JOB/STC not submitted but tracked by Control-M, make sure that the TASKTYPE parameter in the job SCHEDULE definition is the correct one: => STC when tracking a started task => JOB when tracking a regular job. Else the sysout will NOT be found leading to message CTMD50S. - Also make sure that the tracked job is using a MSGCLASS equal to HLDCLAS, when working in a JES3 environment, and equal to any held SYSOUT class (not necessary the same one as HLDCLAS), when working in a JES2 environment. - When an NJE job is returned to Control-M running on JES3, make sure the outputs are in HOLD EXTWTR (not HOLD TSO). If this can't be achieved, the use of JES3 exits IATUX37 or IATUX38 can be helpful to change the "sysout class type" to "20" which means External writer. - Make sure that the messages such as IEF375I, IEF376I, IEF033I are not suppressed by any software. See the complete list of required messages in the manual: |