|
View previous topic :: View next topic
|
| Author |
Message |
lekshmi_ci
New User
Joined: 14 Mar 2007 Posts: 60 Location: Thiruvananthapuram
|
|
|
|
Hi
A PROC has a step using 5 Dataset with 5 DD names,
I need to override this step in JOB so that the Step uses only one dataset.
Please let me know the solution
Thanks |
|
| Back to top |
|
 |
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
| Are all the 5 datasets used in 1 concatenation DD name or do you have 5 different dd names for 5 datasets. |
|
| Back to top |
|
 |
lekshmi_ci
New User
Joined: 14 Mar 2007 Posts: 60 Location: Thiruvananthapuram
|
|
|
|
| I have 5 different ddnames for 5 datasets |
|
| Back to top |
|
 |
lekshmi_ci
New User
Joined: 14 Mar 2007 Posts: 60 Location: Thiruvananthapuram
|
|
|
|
Hi
A PROC has a step using 5 Dataset with 5 different DD names,
I need to override this step in JOB so that the Step uses only one dataset.
Please reply me the solution
Thanks |
|
| Back to top |
|
 |
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
You can override one dataset, and remaining 4 make it Dummy.
//step.ddname1 dd dsn=dataset
//step.ddname2 dd dummy
//step.ddname3 dd dummy
//step.ddname4 dd dummy
//step.ddname5 dd dummy |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
| OK, so you know the STEPNAME and the DD NAME, then code JCL override to use the dataset that you want to use followed by 4 DD DUMMY statements. |
|
| Back to top |
|
 |
khannay2k
New User
.jpg)
Joined: 24 Feb 2005 Posts: 28 Location: Bangalore
|
|
|
|
I guess we need not mention the remaining 4 DD names as dummy even if the step has different DD names, and the syntax for overriding in case of having same DD names (concatenation) the the syntax will be
//step.ddname dd
dd
dd
dd
dd dsn=dataset
this is we need to override for last dsn, can place in for whatever the DD we require.
Regards,
Rajesh |
|
| Back to top |
|
 |
khannay2k
New User
.jpg)
Joined: 24 Feb 2005 Posts: 28 Location: Bangalore
|
|
|
|
I guess we need not mention the remaining 4 DD names as dummy even if the step has different DD names, and the syntax for overriding in case of having same DD names (concatenation) the the syntax will be
//step.ddname dd
dd
dd
dd
dd dsn=dataset
this is we need to override for last dsn, can place in for whatever the DD we require.
Regards,
Rajesh |
|
| Back to top |
|
 |
Anuj Dhawan
Superior Member

Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
| lekshmi_ci wrote: |
I need to override this step in JOB so that the Step uses only one dataset.
|
Hi,
I didn't get one thing, which step is 'this' step ? |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
I do not believe this
| Quote: |
//step.ddname dd
dd
dd
dd
dd dsn=dataset
this is we need to override for last dsn |
addresses the question in the initial post. The initial post (if i understood correctly) specifies 5 separate ddnames.
Also, it would help if the existing jcl were posted as well as what the execution requires (not the actual overrides - we can help there). |
|
| Back to top |
|
 |
|
|