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

How can we differentiate between PS and PDS at Runtime


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

New User


Joined: 24 May 2005
Posts: 45
Location: Noida

PostPosted: Thu Jun 02, 2005 11:34 am
Reply with quote

I want to know how can we differentiate between PS and PDS at runtime.

Thanks in Advance
Vishal
Back to top
View user's profile Send private message
jkbytes

Active User


Joined: 19 Feb 2005
Posts: 139
Location: South Africa

PostPosted: Thu Jun 02, 2005 2:47 pm
Reply with quote

Can you provide the actual scenario in which you want to know the difference b/w a ps and a pds
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jun 02, 2005 3:37 pm
Reply with quote

The DSORG of the PDS is PO.
Back to top
View user's profile Send private message
ayyappa_22523
Warnings : 2

New User


Joined: 02 Jun 2005
Posts: 36
Location: Hyderabad

PostPosted: Sat Jun 04, 2005 12:08 pm
Reply with quote

hi best way is

in DCB perameters DSORG = ps for ps and DSORG = po is for pds

or use ibm utility IEHCOPMR utility.
Back to top
View user's profile Send private message
varabandi

New User


Joined: 07 Mar 2005
Posts: 2

PostPosted: Mon Jun 06, 2005 10:30 am
Reply with quote

By seeing the JCL parameter SPACE= trk(10,10,10) like this... If three parms are there then it is PDS. if two parms are there then it is PS.
Back to top
View user's profile Send private message
shannu

New User


Joined: 01 Jun 2005
Posts: 17
Location: bangalore

PostPosted: Tue Jun 07, 2005 2:24 pm
Reply with quote

Vishal,

parameter SPACE=trk(primary,secoundary.directoryblocks).

For pds u need to mention directoryblocks(it specify limit for the member within a dataset usually multiple of 3)

If it is not specified, then it's sequential file.

Hope this would clear your doubt.

Thanks and Regards,
Shannu,
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 Insert System Runtime in HEADER In SY... SYNCSORT 9
No new posts Create runtime members (DB2 related) ... IBM Tools 1
No new posts Deleting the catalog files automatica... JCL & VSAM 6
No new posts Differentiate between number 0 and al... COBOL Programming 7
No new posts Rexx to differentiate migrated datasets CLIST & REXX 3
Search our Forums:

Back to Top