Reputation: 1461
I am new to mainframes and i just knew that i can create an PDS inside an PDS since we are specifying directory blocks while ceating. But while creating a member it by default creating an PS. Is it possible to create an PDS inside an PDS? If yes please tell me with details. Thank you
Upvotes: 2
Views: 1693
Reputation: 21
While I agree with the other answers given I feel I must point out that you can store another PDS in inside of a PDS in a non-direct sort of way.
You can use TSO XMIT to store a PDS as a member inside of another PDS.
XMIT will pack the PDS into NETDATA format as 80 byte records which can be stored inside of another PDS.
If you then want to change, view or delete a member in the PDS that was converted by XMIT, you'll have to restored the XMITed PDS to its original format by way of the TSO RECEIVE command which reverses the whole process. Then make whatever changes you like to the members in that PDS.
Upvotes: 2
Reputation: 1424
Think of a PDS as a PO (DSORG) file where the members are equivalent to PS (DSORG) files.
Unlike putting a ZIP file inside a ZIP file, you cannot put a PDS inside a PDS member. In the IBM world, that logically does not make sense.
Upvotes: 11
Reputation: 10765
No. There really are no details to add, a PDS is not a directory and you cannot create subdirectories inside of it.
Upvotes: 6