|
View previous topic :: View next topic
|
| Author |
Message |
vishal_a
New User

Joined: 24 May 2005 Posts: 45 Location: Noida
|
|
|
|
I want to know how can we differentiate between PS and PDS at runtime.
Thanks in Advance
Vishal |
|
| Back to top |
|
 |
jkbytes
Active User

Joined: 19 Feb 2005 Posts: 139 Location: South Africa
|
|
|
|
| Can you provide the actual scenario in which you want to know the difference b/w a ps and a pds |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
| The DSORG of the PDS is PO. |
|
| Back to top |
|
 |
ayyappa_22523 Warnings : 2 New User
Joined: 02 Jun 2005 Posts: 36 Location: Hyderabad
|
|
|
|
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 |
|
 |
varabandi
New User
Joined: 07 Mar 2005 Posts: 2
|
|
|
|
| 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 |
|
 |
shannu
New User
.jpg)
Joined: 01 Jun 2005 Posts: 17 Location: bangalore
|
|
|
|
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 |
|
 |
|
|