Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
Author Message
vishal_a

New User


Joined: 24 May 2005
Posts: 39
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
References
jkbytes

Active User


Joined: 19 Feb 2005
Posts: 142
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: 3304
Location: Charlotte,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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1