Victor, If your volumes have only a single file/data set one each volume you can use the volume extract record ('V' - macro EDGRVEXT). If there are more data sets/files, you should use extended extract records ('X' - macro EDGRXEXT).
Also if, 'volcnt' is supposed to be the number of volumes in the multi-volume set, you need X records, and to use XVVOLCNT field. RVUSE is the number of time a volume has been used - it equates to the number of times any data set on the volume has been opened. Look at the multi-volume, multi-data set report created by the Rexx reporting - REPORT11. And if you want something different but similar, start with EDGGR11 in the report generator. Mike Wood ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN