Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
what is the DSORG(Datset orgnisation) for PDSE dataset

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

New User


Joined: 23 Mar 2020
Posts: 17
Location: India

PostPosted: Mon Mar 30, 2020 9:09 pm    Post subject: what is the DSORG(Datset orgnisation) for PDSE dataset
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

Active User


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

PostPosted: Mon Mar 30, 2020 9:16 pm    Post subject:
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: 17
Location: India

PostPosted: Mon Mar 30, 2020 9:20 pm    Post subject: Reply to: what is the DSORG(Datset orgnisation) for PDSE dataset
Reply with quote

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

Active User


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

PostPosted: Mon Mar 30, 2020 9:37 pm    Post subject:
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: 31
Location: India

PostPosted: Mon Mar 30, 2020 10:24 pm    Post subject:
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: 737
Location: Pennsylvania

PostPosted: Mon Mar 30, 2020 10:39 pm    Post subject:
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

Active User


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

PostPosted: Mon Mar 30, 2020 11:14 pm    Post subject:
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: 813
Location: The Universe

PostPosted: Tue Mar 31, 2020 1:34 am    Post subject:
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: 27
Location: Australia

PostPosted: Thu Apr 09, 2020 4:47 am    Post subject: Reply to: what is the DSORG(Datset orgnisation) for PDSE dataset
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    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 IEBGENER is not Creating Member in PD... sandeep prajapati JCL & VSAM 7 Mon Mar 23, 2020 11:50 pm
No new posts Warning in dataset message Renato Zangerolami TSO/ISPF 18 Thu Feb 13, 2020 6:41 pm
No new posts Copy a dataset without authorization Renato Zangerolami TSO/ISPF 15 Tue Feb 11, 2020 6:15 pm
No new posts Listing EVERY Dataset on a system DaveV All Other Mainframe Topics 4 Thu Jan 09, 2020 7:48 pm
No new posts Identifying Packed Decimal data in a ... sojivarkey TSO/ISPF 4 Sat Dec 07, 2019 5:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us