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
 

 

How to create a PDS using IEBUPDTE?

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

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Sun Feb 04, 2007 12:29 am    Post subject: How to create a PDS using IEBUPDTE?
Reply with quote

Hi,

Can anyone please let me know how to create an empty PDS through IEBUPDTE. I got stuck up with the control statements for that. Can anyone please provide me an example for the same??

Thanks,
Bala
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 04, 2007 12:42 am    Post subject: Re: How to create a PDS using IEBUPDTE?
Reply with quote

kbmkris wrote:
Can anyone please let me know how to create an empty PDS through IEBUPDTE. I got stuck up with the control statements for that. Can anyone please provide me an example for the same?
Better than that, try here: IEBUPDTE (Update Data Set) Program
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: Sun Feb 04, 2007 2:43 am    Post subject:
Reply with quote

Hello,

If you want to use IEBUPDTE, you can, but you can also use
Code:

//BR14A    EXEC PGM=IEFBR14                                   
//DD1      DD DSN=your.dsn,DISP=(,CATLG),UNIT=SYSDA,   
//            DCB=(RECFM=FB,LRECL=80),                       
//            SPACE=(TRK,(10,10,5))                           


This will let the system generate the blocksize. You can specify one if you want/need to. You can also change the lrecl as needed. If the pds is going to be a loadlib, use RECFM=U and LRECL=0. When you allocate a pds it is usually a good idea to look at the attributes of a similar pds on your system and allocate using the same attributes - whic is true regardless of how you do the allocate.

Because it is usually a one-time process a pds is often just allocated in tso 3.2. Bring up the info of a known pds and allocate the new one using the same attributes changing the dsn, storage class/volume info, and space as required. As mentioned previously, use a pds that has similar use.
Back to top
View user's profile Send private message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Sun Feb 04, 2007 12:34 pm    Post subject: Re: How to create a PDS using IEBUPDTE?
Reply with quote

hi dick,

Thank you very much. Please let me know if there is any basic documents to get familiar with these utilities which has some examples how to use these.

thanks,
Bala
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 04, 2007 1:26 pm    Post subject: Re: How to create a PDS using IEBUPDTE?
Reply with quote

Once the link comes back up, this is the Fine Manual IBM JCL Utilities Guide for DFSMS with all the answers.
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: Sun Feb 04, 2007 10:31 pm    Post subject:
Reply with quote

Hi Bala,

As Bill suggests, you'll want to download the manual. When you need to look up something, the reference manual is a very good place to go - this forum is handy also icon_smile.gif

Here's a link to a jcl "getting started" tutorial.
http://www.theamericanprogrammer.com/programming/jejcl.shtml

Good luck!
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 Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
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 Need to create file with Dynamic Name... kapil27 JCL & VSAM 4 Wed May 25, 2016 9:45 am


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