There are probably several items on cbttape.org that may already do some of
what you are looking to do.

What problem are you trying to solve?  Would it be better to use something
already created or are you looking to understand some function better?

REXX has some built-ins, SAS has some functions, ISPF Services, and so
forth.

Could you provide more details on what is driving this question?  There
might be better solutions.

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of Fred van der Windt
> Sent: Wednesday, May 06, 2015 4:43 AM
> To: [email protected]
> Subject: Primary allocation of a dataset
> 
> I want to retrieve the primary allocation of a dataset. Sofar I've used
OBTAIN
> to retrieve the DCSBs for the dataset. The DSCB1 contains information
about
> the secondary allocation size for the dataset but does not contain any
> information about the primary allocation. If the dataset had a primary
> allocation in tracks or cylinders I can retrieve the necessary information
from
> the extent information in the DSCB1: the first extent can be converted
back
> to tracks or cylinders and that should be the primary allocation.
> 
> But how can one recreate the primary allocation if some other form was
> used, for instance an amount in blocks, records or KB or something like
that?
> Is this documented anywhere?
> 
> Fred!

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

Reply via email to