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

what is the DSORG(Datset orgnisation) for PDSE dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandeep prajapati

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Mon Mar 30, 2020 9:09 pm
Reply with quote

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
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1246
Location: Bamberg, Germany

PostPosted: Mon Mar 30, 2020 9:16 pm
Reply with quote

Code:
DSNTYPE=LIBRARY,SPACE=(CYL(1,1,1))
Back to top
View user's profile Send private message
sandeep prajapati

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Mon Mar 30, 2020 9:20 pm
Reply with quote

Many thanks! icon_biggrin.gif
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1246
Location: Bamberg, Germany

PostPosted: Mon Mar 30, 2020 9:37 pm
Reply with quote

Use UNIT=3390 or SYSALLDA to make it Idiot proof before someone invents a better Idiot.
Back to top
View user's profile Send private message
Apoorva

New User


Joined: 28 Jan 2020
Posts: 49
Location: India

PostPosted: Mon Mar 30, 2020 10:24 pm
Reply with quote

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
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Mon Mar 30, 2020 10:39 pm
Reply with quote

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
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1246
Location: Bamberg, Germany

PostPosted: Mon Mar 30, 2020 11:14 pm
Reply with quote

Yes, that's true. Hence the lowest value possible there. icon_wink.gif
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Tue Mar 31, 2020 1:34 am
Reply with quote

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
View user's profile Send private message
hankoerlemans

New User


Joined: 25 Jan 2018
Posts: 57
Location: Australia

PostPosted: Thu Apr 09, 2020 4:47 am
Reply with quote

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
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top