Page 1 of 1

To get the volume of tape dataset using rexx

PostPosted: Wed Mar 05, 2008 4:15 pm
by sahajo
How to get the volume of tape dataset using rexx

I tried with LISTDSI('R45IKL.TAPEDSN.REXX.TEST'). It is giving return code 16. However the above function is working fine with disk dataset.

Re: To get the volume of tape dataset using rexx

PostPosted: Wed Mar 05, 2008 5:51 pm
by arunprasad.k
Try this!!

"LISTCAT ENTRIES('YOUR.TAPE.DATASETNAME') ALL"


Arun.

Re: To get the volume of tape dataset using rexx

PostPosted: Wed Mar 05, 2008 6:01 pm
by arunprasad.k
Refer this for more information regarding LISTCAT

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4c531/1.22.2?SHELF=&DT=20021022140245

Post if you face any problems.

Arun.