IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create a PDS using IEBUPDTE?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Sun Feb 04, 2007 12:42 am
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

Moderator Emeritus


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

PostPosted: Sun Feb 04, 2007 2:43 am
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
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: 3156
Location: Tucson AZ

PostPosted: Sun Feb 04, 2007 1:26 pm
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

Moderator Emeritus


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

PostPosted: Sun Feb 04, 2007 10:31 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts COBOL - create and write to output fi... COBOL Programming 0
No new posts Best way to create an automated line ... TSO/ISPF 3
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
Search our Forums:

Back to Top