With all the recent discussion about COBOL and bit twiddling and about deleting migrated files, I wanted to look into some of our application processes. We have a REXX program that makes LISTDSI calls, and I wondered if there was any sort of equivalent interface for COBOL that I could pass on to the development teams, to help them better manage their files.
I am looking for a COBOL interface to the catalog that would tell me for a given file: 1. Allocation primary, secondary and units 2. Used amount 3. Number of volumes and their volsers in sequence 4. SMS class/group names 5. File type (DSNLARGE, etc.) Ideally, I would like to also get each extent info for each volume, but I expect I would have to read VTOCs for that, and it is not crucial here. Thanks for any ideas you have for helping me read the catalog from COBOL! -- Thank you and best regards, *Billy Ashton* ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
