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
 

 

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: 7931
Location: Bellevue, IA

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: 7931
Location: Bellevue, IA

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: 7931
Location: Bellevue, IA

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
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 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