Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
A few other points:
Like most utilities, the parameters for IEBEDIT cannot start in the first column. If they do start in column 1, you need to shift them to the right a few columns.
specifies the contents of the output data set. These values can be coded:
specifies that the output is to consist of a JOB statement, the job step specified in the STEPNAME parameter, and all steps that follow that job step. All job steps preceding the specified step are omitted from the operation. POSITION is the default.
specifies that the output data set is to contain a JOB statement and all job steps specified in the STEPNAME parameter.
specifies that the output data set is to contain a JOB statement and all job steps belonging to the job except those steps specified in the STEPNAME parameter.
If you use TYPE=POSITION then there can only be the starting JOB STEPNAME. I think you want to use TYPE=INCLUDE instead.