MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getting all volumes of a dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
iklingen
Beginner


Joined: 11 Feb 2005
Posts: 5
Topics: 2

PostPosted: Fri Feb 11, 2005 9:30 am    Post subject: Getting all volumes of a dataset Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Feb 11, 2005 9:57 am    Post subject: Reply with quote

Igor Klingen,

Can't you use IEHLIST? Check this link for a detailed explanation of IEHLIST

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1u104/13.0?DT=19990113105507

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
iklingen
Beginner


Joined: 11 Feb 2005
Posts: 5
Topics: 2

PostPosted: Fri Feb 11, 2005 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Feb 11, 2005 5:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group