Error Message :
The behavior of the z/OS Agent v9 and v10 is different from that of v11.2 and v12.0. The order in the generated JCL has changed:
|correct order (v9 / v10)||wrong order (v11.2 / v12)|
|JOB statement||JOB statement|
|JOBPARM and Comments between JOB statement and fist EXEC statement (from z/OS dataset)||HEADER and PRE-PROCESS|
|HEADER and PRE-PROCESS||JOBPARM and Comments between JOB statement and fist EXEC statement (from z/OS dataset)|
|JCL (from z/OS dataset)||JCL (from z/OS dataset)|
The order of the JCL between JOB statement and first EXEC statement and HEADER / PRE-PROCESS has changed.
In previous versions, the JCL comes first. In the newer versions, HEADER / PRE-PROCESS comes first.
Other types work
- First EXEC statement calls a procedure, e.g.
//STEP001 EXEC SCJ#PROC
in case of it calls a program it works:
//STEP001 EXEC PGM=SCJ#PGM