LISTDSI would be my first choice. It does not require ISPF or any other 
'product'. However, it is a TSO/E function, so you have to run under IKJEFTxx. 
You can retrieve pretty much any attribute of an existing DASD-resident data 
set and use the info to create a similar file. 

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Cieri, Anthony
Sent: Tuesday, December 04, 2018 12:59 PM
To: [email protected]
Subject: (External):Re: Examples of roll your own "LIKE()" for data sets?


        Is Rexx suitable. Perhaps LISTDSI can help!!!!


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

Thanks everyone for the suggestions.
For my purposes, I can't run under ISPF or require a licensed product.
I took a brief at look at the CBT VTOC command, but it just seems to print a 
VTOC without much attention to the issues surrounding how to extract a "LIKE()" 
allocation.


On Tue, Dec 4, 2018 at 12:45 PM Paul Gilmartin < 
[email protected]> wrote:

> On Tue, 4 Dec 2018 11:41:43 -0600, Kirk Wolf wrote:
> >
> >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.
> >
> AVGREC adds to the chaos.
>
> If the initial allocation was performed in multiple extents, is there 
> any way to retrieve the initial request?
>
> HSM MIGRATE/RECALL can coalesce extents, further obscuring the initial 
> request.
>
> I have used ISPF to capture the attributes of a data set; changed only 
> the DSN, then allocated.  The new data set was smaller because ISPF? 
> Allocation? applied a correction for 3380/5590 capacity ratio.
> (I understand this is optional, but our site had it turned on.)
>
> I'd like to be able to code "BLKSIZE=0,SPACE=(1,10000000000),..."
> and let allocation and SDB figure it out.
>
> They're only trying to help me.
>
> -- gil


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

Reply via email to