Override a SYSIN DD DSN in the proc from the JCL?

Override the SYSIN DD Domain Name Source (DNS) in proc using the Job Control Language (JCL) this code syntax.

Q:
How can I override a SYSIN DD DSN in the proc from the JCL?

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.

For example:

//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.

If the IBM JCL manuals confuse you, you may want to pick up a book on JCL like Murach's OS/390 and z/OS JCL. There are other JCL books that you can find on Amazon.com as well.

Dig Deeper on IBM system z and mainframe systems

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close