Tommy Tsui wrote:
Actually I want to seach all volumes entry catalog for tape volume only
I'm not sure there is a simple way of doing this.
1) Use CSI to read all master catalog entries, process the tape
entries as you want to, and user catalog entries to a table or
chain; remember at least one high level index (alias) for each
user catalog.
2) When you finish the master catalog, loop through the user
catalogs (note that these may have additional user catalog
pointers). CSI may fail if the user catalog has not been
referenced since IPL (you can run through the CAX entries to
verify this). If there is no CAX, try to do a LOCATE on the high
level index with a fake name (e.g. index.ABC); this should fail,
but will build the CAX, and a subsequent CSI for that catalog
should work. Repeat until all catalogs have been processed.
Gerhard Postpischil
Bradford, VT
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html