You could probably write a REXX or CLIST and use LISTDSI to get SYSUSEDPAGES 
and do the calculation.

SYSLRECL     Logical record length
SYSBLKSIZE   Block size
SYSKEYLEN    Key length
SYSALLOC     Allocation, in space units
SYSUSED      Allocation used, in space units. For a partitioned data set 
extended (PDSE), ’N/A’ will be returned; see the description of the variable 
SYSUSEDPAGES for used space of a PDSE.
SYSUSEDPAGES   The used space of a partitioned data set extended (PDSE) in 4K 
pages.
SYSPRIMARY   Primary allocation in space units
SYSSECONDS   Secondary allocation in space units
SYSUNITS     Space units: CYLINDER - Space units in cylinders TRACK - Space 
units in tracks BLOCK - Space units in blocks ???????? - Space units are unknown
SYSEXTENTS   Number of extents allocated


Lizette



>
>Hi, 
>
>How can I do, on a batch program, to obtain the allocated and used space
>from a PDSE file? The same information that matchs with de ISPF 3.4
>informations. 
>
>Thanks in advance.
>

----------------------------------------------------------------------
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