IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to check whether a GDG version exists for an index


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manugeorge2004

New User


Joined: 17 Jun 2009
Posts: 38
Location: Denver

PostPosted: Tue Nov 10, 2009 3:18 am
Reply with quote

Hi

I need to check whether at least a version exists for a GDG index.
I want to execute the next step if it exists.
Is there a way I can check for an RC for this and code that RC in my JCL.
The job should not give JCL error

Your advice is appreciated.

Manu
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Nov 10, 2009 3:27 am
Reply with quote

Hello Manu,

Please do a bit of research about what a gdg version is . . .

I am almost positive you are not interested in a version. . .

There are multiple forum topics about verifying the existence of a dataset. If you find something in one of those topics that is not clear, post what you found and your doubt.

Someone will be able to clarify.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Nov 10, 2009 6:39 am
Reply with quote

Here's a few ideas:

www.ibmmainframes.com/viewtopic.php?t=44969
www.ibmmainframes.com/viewtopic.php?t=44095
www.ibmmainframes.com/viewtopic.php?t=40935
www.ibmmainframes.com/viewtopic.php?t=40770
www.ibmmainframes.com/viewtopic.php?t=39509
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Nov 10, 2009 12:43 pm
Reply with quote

And I am pretty sure that you DO NOT mean a GDG index.

You really must use the correct terminology if you want to get answers.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Cobol file using index COBOL Programming 2
No new posts How to check whether who renamed the ... JCL & VSAM 3
Search our Forums:

Back to Top