Sorry, could not find a JCL forum to put this under. I have a proc with 2 steps. 1st step is a SORT, 2nd step is executes a DB2 program. My run JCL looks like
//JS020 EXEC PROC=PROCNAME
//SYSTSIN DD *
DSN SYSTEM (DB2T)
RUN PROGRAM(PROGNAME) -
PARM('PARMNAME') -
PLAN(DSYB001)
END
Looks like the SYSTSIN is being associated with the 1st step (SORT) instead of the 2nd step in my proc. How do I associate SYSTSIN with the 2nd step?
//JS020 EXEC PROC=PROCNAME
//SYSTSIN DD *
DSN SYSTEM (DB2T)
RUN PROGRAM(PROGNAME) -
PARM('PARMNAME') -
PLAN(DSYB001)
END
Looks like the SYSTSIN is being associated with the 1st step (SORT) instead of the 2nd step in my proc. How do I associate SYSTSIN with the 2nd step?