Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How can we differentiate between PS and PDS at Runtime

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How can we differentiate between PS and PDS at Runtime
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: 141
Location: South Africa

PostPosted: Thu Jun 02, 2005 2:47 pm    Post subject: Re: How can we differentiate between PS and PDS at Runtime
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

Moderator Team Head


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

PostPosted: Thu Jun 02, 2005 3:37 pm    Post subject: Re: How can we differentiate between PS and PDS at Runtime
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    Post subject:
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    Post subject: Re: How can we differentiate between PS and PDS at Runtime
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    Post subject:
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    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 Create runtime members (DB2 related) ... Manshadi IBM Tools 1 Sat Jan 10, 2015 9:27 pm
No new posts Deleting the catalog files automatica... Suresh S JCL & VSAM 6 Wed Apr 16, 2014 7:05 am
No new posts Differentiate between number 0 and al... Sysaron COBOL Programming 7 Thu Apr 11, 2013 3:09 am
No new posts Rexx to differentiate migrated datasets balaji81_k CLIST & REXX 3 Thu Mar 28, 2013 3:36 pm
No new posts Allocation of files at runtime Akatsukami COBOL Programming 1 Tue Aug 14, 2012 9:03 pm

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