Don't suppose you have Innovation Data Processing's FDREPORT?
If you did, you could set up a job to select data sets based on your
requirements, and tell FDREPORT to generate JCL or ALLOCATE
statements, using the DCB and space allocation information that
FDREPORT gathers.

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Kirk Wolf
Sent: Tuesday, December 04, 2018 12:42 PM
To: [email protected]
Subject: Examples of roll your own "LIKE()" for data sets?

[External Email]

I need to be able to reverse engineer the allocation of cataloged DSORG=PS data 
sets by looking at the DSCBs and catalog.

To be specific, I would like to generate BPXWDYN allocation keywords for an 
existing cataloged DSORG=PS data set to that I can use allocate a new data set 
LIKE() it on another system.

Are there examples in CBT of code that do similar analysis of DASD
datasets?   Even something that does a good job at deducing
SPACE=(unit,(pri,sec)) is not as simple as one might think.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
FIRST TENNESSEE

Confidentiality notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to