Reputation: 125
I want to know why my JOB not run...
//PAYMENT JOB MSGCLASS=H
//STEP1 EXEC PGM=PAYMENT,REGION=1024K,
// PARM=('CSQ1,CARD.PAYMENTS,<userID>.REPLY,<userID>',
// '245.00,"My Payment"')
//STEPLIB DD DSN=<userID>.PART2.LOAD,DISP=SHR
// DD DSN=WMQ.V6R0.SCSQLOAD,DISP=SHR
// DD DSN=WMQ.V6R0.SCSQANLE,DISP=SHR
// DD DSN=WMQ.V6R0.SCSQAUTH,DISP=SHR
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
It's just run when all parameters are in the same line like this:
// PARM='CSQ1,CARD.PAYMENTS,<userID>.REPLY,<userID>,245.00,"My Payment"'
If I break the line my JOB not run, returning an error:
// PARM=('CSQ1,CARD.PAYMENTS,<userID>.REPLY',
// '<userID>,245.00,"My Payment"')
Error:
21.07.52 JOB03062 IEFC452I PAYMENT - JOB NOT RUN - JCL ERROR 955
...
STMT NO. MESSAGE
2 IEFC621I EXPECTED CONTINUATION NOT RECEIVED
3 IEFC605I UNIDENTIFIED OPERATION FIELD
4 IEFC605I UNIDENTIFIED OPERATION FIELD
Thanks!
Upvotes: 0
Views: 3323
Reputation: 10553
You have the PARM to far across to the right for a continuation (column 17). Try some thing like:
//STEP1 EXEC PGM=PAYMENT,REGION=1024K,
// PARM=('CSQ1,CARD.PAYMENTS,<userID>.REPLY,<userID>',
// '245.00,"My Payment"')
Contiuation must start in columns 4 through to 16 (see JCL Continuation)
Upvotes: 4