View previous topic :: View next topic
|
Author |
Message |
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
Back to top |
|
|
|