How can I override a SYSIN DD DSN in the proc from the JCL?
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Mark Zelden, Senior software and systems architect, Zurich North America:
The syntax to override a DD statement in a proc from the execution JCL is //STEPNAME.DDNAME DD.
//MYJOB JOB (ACCT),CLASS=A //* //EXEC PROC=MYPROC //* //STEP1.SYSIN DD DSN=MY.PDS.CNTL(SYSIN1),DISP=SHR
For more information see section 5.2 on modifying procedures in the MVS JCL Reference.