|
|
| Author |
Message |
Som_TCS
New User
Joined: 09 Jan 2009 Posts: 7 Location: Chennai / Kolkata
|
|
|
|
How can I create multiple PDS in one step?
I need to create 70 PDS...Can anyone help me?
I need the JCL for it....or any trick... |
|
| Back to top |
|
 |
References
|
|
 |
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 4263 Location: Atlanta, GA
|
|
|
|
IEFBR14 with 70 DD statements?
DF/DSS COPY command?
Since you don't specify whether you're doing a copy of 70 existing data sets or creating 70 new data sets, we can't provide much assistance. |
|
| Back to top |
|
 |
Som_TCS
New User
Joined: 09 Jan 2009 Posts: 7 Location: Chennai / Kolkata
|
|
|
|
| I need to create..not copy...but I need in one JCL step |
|
| Back to top |
|
 |
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 4263 Location: Atlanta, GA
|
|
|
|
| IEFBR14 will do it in one JCL step ... although why only one JCL step? |
|
| Back to top |
|
 |
Moved: Wed Jul 01, 2009 5:51 pm by superk From ABENDS & Debugging to SMS & VSAM |
Som_TCS
New User
Joined: 09 Jan 2009 Posts: 7 Location: Chennai / Kolkata
|
|
|
|
I have to create lots of PDS of same type.
Can you please provide me the jcl ? |
|
| Back to top |
|
 |
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 4263 Location: Atlanta, GA
|
|
|
|
| If you don't know how to write the JCL, then you don't need to be attempting to do this task. Execute IEFBR14, then give the definitions for each of your PDS files, one definition per DD statement, with DISP=(MOD,CATLG,DELETE) . The JCL Language Reference manual (link at the top of the page) gives you all the specifics of how to write JCL. |
|
| Back to top |
|
 |
Anuj Dhawan
Global Moderator
Joined: 22 Apr 2006 Posts: 4084 Location: Mumbai, India
|
|
|
|
/Phiosphy on
With this type of choices
| Quote: |
| I have to create lots of PDS of same type. |
you are shooting without any aim which will give you a definite faliure.
/Phiosphy off
Everything is given to you by Robert unless you have something else in mind, just go ahead and write a JCL using the suggestion. If that does not work well, tell us, some one will be around. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 13611 Location: 221 B Baker St
|
|
|
|
Hello,
| Quote: |
| I have to create lots of PDS of same type. |
Suggest you create one and make sure it works as you want it to.
You might want to consider PDSE rather than PDS.
Once you have one working correctly, clone that jcl lots of times (maybe 69) for the remaining requirement. |
|
| Back to top |
|
 |
|
|