To get the volume of tape dataset using rexx



IBM's Command List programming language & Restructured Extended Executor

To get the volume of tape dataset using rexx

Postby sahajo » Wed Mar 05, 2008 4:15 pm

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.
sahajo
 
Posts: 1
Joined: Wed Sep 26, 2007 1:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: To get the volume of tape dataset using rexx

Postby arunprasad.k » Wed Mar 05, 2008 5:51 pm

Try this!!

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


Arun.
arunprasad.k
 
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Has thanked: 0 time
Been thanked: 0 time

Re: To get the volume of tape dataset using rexx

Postby arunprasad.k » Wed Mar 05, 2008 6:01 pm

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.
arunprasad.k
 
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post