Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Create Multiple PDS in one step

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

New User


Joined: 09 Jan 2009
Posts: 7
Location: Chennai / Kolkata

PostPosted: Wed Jul 01, 2009 5:13 pm    Post subject: Create Multiple PDS in one step
Reply with quote

How can I create multiple PDS in one step?

I need to create 70 PDS...Can anyone help me? icon_question.gif
I need the JCL for it....or any trick...
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8199
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 01, 2009 5:19 pm    Post subject:
Reply with quote

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

New User


Joined: 09 Jan 2009
Posts: 7
Location: Chennai / Kolkata

PostPosted: Wed Jul 01, 2009 5:23 pm    Post subject:
Reply with quote

I need to create..not copy...but I need in one JCL step
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8199
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 01, 2009 5:41 pm    Post subject:
Reply with quote

IEFBR14 will do it in one JCL step ... although why only one JCL step?
Back to top
View user's profile Send private message
Som_TCS

New User


Joined: 09 Jan 2009
Posts: 7
Location: Chennai / Kolkata

PostPosted: Wed Jul 01, 2009 7:11 pm    Post subject:
Reply with quote

I have to create lots of PDS of same type.
Can you please provide me the jcl ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8199
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 01, 2009 7:14 pm    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Thu Jul 02, 2009 12:16 pm    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Thu Jul 02, 2009 7:26 pm    Post subject:
Reply with quote

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
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 Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts How to create issuer certificate? :'( vasanthz All Other Mainframe Topics 1 Sat Nov 18, 2017 5:14 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
No new posts Updating multiple counts in trailer!! Vignesh Sid SYNCSORT 4 Mon Nov 06, 2017 1:04 pm
No new posts Selecting a row from multiple tables! Vignesh Sid DB2 2 Thu Oct 26, 2017 6:09 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us