View previous topic :: View next topic
|
Author |
Message |
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
Hi All,
can someone help which DSORG value Is needed to create a PDSE.
as per below code I am able to create PS and PDS file using DSORG=PS for PS file and DSORG=PO for PDS.
Code: |
//*------------------------------------------
//ALLOCATE EXEC PGM=IEFBR14
//*------------------------------------------
//SEQ DD DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,1),UNIT=SYSDA,
// DCB=(LRECL=80,DSORG=PS),
// DSN=&SYSUID..CH13.SEQ |
please advise. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1246 Location: Bamberg, Germany
|
|
|
|
Code: |
DSNTYPE=LIBRARY,SPACE=(CYL(1,1,1)) |
|
|
Back to top |
|
|
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
Many thanks! |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1246 Location: Bamberg, Germany
|
|
|
|
Use UNIT=3390 or SYSALLDA to make it Idiot proof before someone invents a better Idiot. |
|
Back to top |
|
|
Apoorva
New User
Joined: 28 Jan 2020 Posts: 49 Location: India
|
|
|
|
Joerg.Findeisen wrote: |
Use UNIT=3390 or SYSALLDA to make it Idiot proof before someone invents a better Idiot. |
UNIT shouldn't matter right? As SMS chooses Volume/s based on ACS routines defined in the SMS configuration. |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
It may be ignored, but the third positional parameter for space is not used for a PDSE.
That is used for directory blocks which pdse datasets do not have.
DSNTYPE=LIBRARY,SPACE=(CYL(1,1,1)) |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1246 Location: Bamberg, Germany
|
|
|
|
Yes, that's true. Hence the lowest value possible there. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
This is one detail I find annoying. In DS1DSORG (in the Format 1 DSCB) and in DCBDSORG its X'0200'. As far as I can tell, there is no indication in the DCB that the data set is PDSE. In the Format 1 DSCB its DS1PDSE (X'08') in DS1SMSFG.
As Joerg.Findeisen noted, you must specify DSNTYPE=LIBRARY to allocate a new PDSE. There are rough equivalents in ISPF 3.2 and the ALLOCATE line mode TSO command. |
|
Back to top |
|
|
hankoerlemans
New User
Joined: 25 Jan 2018 Posts: 57 Location: Australia
|
|
|
|
Well after the DCB is opened you can use ISITMGD which - since I last looked - has got some funky PDSE Version 2 support. |
|
Back to top |
|
|
|