Yes, the size of the dataset, not the size of its records, tracks, or
creator.

The environment is not TSO, so LISTDSI is out.

Assembler or Rexx, makes no never mind to me. I can pretty much translate
betwixt the two.

The perfect piece of information would be the total number of used tracks.
Yes, I can do that with CAMLST LOCATE and OBTAIN. The situation involves
very large datasets, so multi-volume is a reality. Perfectly do-able with
CAMLST LOCATE and OBTAIN, but a lot of work for a simple answer.

I could settle for primary and secondary allocation units and quantity, but
primary quantity appears to be elusive (see earlier notes). Do you have a
source for primary quantity for existing datasets? It's around somewhere
because ISPF 3.2 displays it. Where? Secondary quantity is in the DSCB-1 but
not the primary (or am I missing it?).

You could think of the problem at hand as being "if I were to copy this
dataset, how large a dataset should I allocate to hold the copy?" So the
actual number of used tracks would be a perfect answer, but the original
primary and secondary allocation would be a good estimate - or rather, a set
of values that worked once for this amount of data and might very well work
again.

I'm in somewhat of an R&D mode on this problem so I don't have exact
specifications for the problem.

Thanks for your help.

Charles



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Martin Kline
Sent: Friday, November 18, 2005 10:01 AM
To: [email protected]
Subject: Re: Determining size information for existing QSAM dataset


What size information? Based on your other comments, it appears you want
the allocated or used size, and not record size, block size, track size,
primary allocation size, or secondary allocation size. Do you want this in
bytes, tracks, cylinders, or something else? Do you need to do this
programmatically, or could you use the Data Set List Utility of ISPF? If
programmatically, does it have to be assembler, or would REXX suffice?
Does the LISTDSI REXX function have the info you need?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to