Expert Advice

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

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

Requires Free Membership to View

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.


This was first published in November 2008

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: