After upgrade of z/OS Agent to version 11.2 or 12.0, jobs might fail or show different behavior

Document ID : KB000087486
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
n/a

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 statementJOB statement
JOBPARM and Comments between JOB statement and fist EXEC statement (from z/OS dataset)HEADER and PRE-PROCESS
HEADER and PRE-PROCESSJOBPARM and Comments between JOB statement and fist EXEC statement (from z/OS dataset)
JCL (from z/OS dataset)JCL (from z/OS dataset)
TRAILERTRAILER
 
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.
 
0EMb0000001QcBJ.png

Preconditions:
  • Job Type “z/OS JCL”
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
 

 
 
Environment:
OS: MVS
Cause:
Cause type:
Defect
Root Cause: Step with a procedure call without PROC= positional parameter is not recognized
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Component(s): Agent MVS

Automation Engine 12.0.1 - available
Automation Engine 11.2.4 - available
Additional Information:
Workaround :
n/a