View previous topic :: View next topic |
Author |
Message |
iklingen Beginner
Joined: 11 Feb 2005 Posts: 5 Topics: 2
|
Posted: Fri Feb 11, 2005 9:30 am Post subject: Getting all volumes of a dataset |
|
|
Hi ALL.
I must to get all volumes on which a specified dataset is resided.
Earlier I used the IGGCSI00 call with 'VOLSER' field specified. But this way is very slow for my tasks.
Recently I've got a suggestion to use LOCATE/CAMLST macros. But they allows to get only first 20 volumes of dataset and I did not find in doc how gets other volumes.
Can anybody suggest how can I get other volumes by LOCATE or give me another ways?
I'm using assembler and C and writing under MVS.
More thanks,
Igor Klingen |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
iklingen Beginner
Joined: 11 Feb 2005 Posts: 5 Topics: 2
|
Posted: Fri Feb 11, 2005 10:12 am Post subject: |
|
|
Kolusu, thank for answer.
If I will be use IEHLIST I must run this utility and then parse it sysout to get volume names. I think that it way will more long instead of IGGCSI00.
Thanks,
Igor Klingen |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Feb 11, 2005 5:34 pm Post subject: |
|
|
IGGCSIxx uses superlocate which is an extended form of the same SVC 26 that camlst locate uses. It is probably as fast as you will get. Is the slowness in the SVC 26 or in the parsing of the output? |
|
Back to top |
|
 |
|
|