by apru » Thu Mar 13, 2014 11:36 am
Hi
In the other post about TWS Job scheduling,I read about the PIF interface command to print the error information about a job.I just tried the following code in JOBLIB alloted for OPC and submitted it ,but faced some issues..code snippet goes this way:
//STEP010 EXEC PGM=EQQYCAIN,PARM...,REGION=2M
//EQQMLIB DD DISP =...,DSN=......
//STEPLIB DD DISP =...,DSN=......
//BATCHL DD SYSOUT=*
//OI DD SYSOUT=*
//CPOC DD SYSOUT=*
//CPOP DD SYSOUT=*
//DATAFI DD SYSOUT=*
//EXPORTAD DD SYSOUT=*
//EXPORTOI DD SYSOUT=*
//ERREUR DD SYSOUT=*
//EQQMLOG DD SYSOUT=*
//EQQDUMP DD SYSOUT=*
//SYSPRINT DD DSN=.....,DISP=......,SPACE=.....,DCB=......,
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
ACTION=LIST,RESOURCE=CPOPCOM,JOBNAME=GDCPY,STATUS=E
/*
But the program got abended with S106....
details:
PIF interface INIT OPC=OPCC,RC=0
ERROR WORD=E
LIST CPOPCOM RC=0110
PIF INTERFACE TERM OPC=OPCC,RC=00
STEP010 WAS EXECUTED ,COND CODE=0110