Your last post indicates you do NOT understand the problem. The problem is NOT the use of CLIST versus REXX -- although there are certainly many good reasons to stop using CLIST and start using REXX.
The problem is that your TSO user id cannot access a tape volume in a TSO session. This will be true whether you use CLIST, REXX, COBOL, C, Assembler, PL/I, or any other language.
If your site uses CA-1, use the CA-1 API to get the data you want. If your site uses RMM, use the RMM API to get the data you want. If your site uses another tape management system, use that tape management system's API to get the data you want. However, if you cannot get what you want from the API of the tape management system, you cannot get what you want for tapes -- period.
- These users thanked the author Robert Sample for the post:
- nikesh_rai (Wed May 22, 2013 12:31 pm)