On 27 Feb 2014 05:45:28 -0800, in bit.listserv.ibm-main you wrote:

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

This request provides another example of my belief that there should
be an IBM supplied service that maps all PLS and/or Assembler DSCECT
to the appropriate mappings in other languages including COBOL, PL1,
C/C++, Rexx and others.  This would greatly ease using IBM services in
shops that can not afford or don't want to afford various proprietary
solutions.

Clark Morris

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

Reply via email to