Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Overriding a step to use only one DD when it has 5 DDs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Mon Jun 11, 2007 11:03 am    Post subject: Overriding a step to use only one DD when it has 5 DDs
Reply with quote

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
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Jun 11, 2007 11:09 am    Post subject:
Reply with quote

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
View user's profile Send private message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Mon Jun 11, 2007 11:47 am    Post subject:
Reply with quote

I have 5 different ddnames for 5 datasets
Back to top
View user's profile Send private message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Mon Jun 11, 2007 12:10 pm    Post subject: This is a Repost
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Jun 11, 2007 12:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jun 11, 2007 12:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
khannay2k

New User


Joined: 24 Feb 2005
Posts: 28
Location: Bangalore

PostPosted: Mon Jun 11, 2007 1:02 pm    Post subject: Re: Regarding PROC
Reply with quote

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
View user's profile Send private message
khannay2k

New User


Joined: 24 Feb 2005
Posts: 28
Location: Bangalore

PostPosted: Mon Jun 11, 2007 1:03 pm    Post subject: Re: Regarding PROC
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jun 11, 2007 2:46 pm    Post subject: Re: Overriding a step to use only one DD when it has 5 DDs
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 11, 2007 8:29 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us