Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to check whether a GDG version exists for an index

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
manugeorge2004

New User


Joined: 17 Jun 2009
Posts: 35
Location: Denver

PostPosted: Tue Nov 10, 2009 3:18 am    Post subject: How to check whether a GDG version exists for an index
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

Site Director


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

PostPosted: Tue Nov 10, 2009 3:27 am    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Nov 10, 2009 6:39 am    Post subject: Reply to: How to check whether a GDG version exists for an i
Reply with quote

Here's a few ideas:

http://www.ibmmainframes.com/viewtopic.php?t=44969
http://www.ibmmainframes.com/viewtopic.php?t=44095
http://www.ibmmainframes.com/viewtopic.php?t=40935
http://www.ibmmainframes.com/viewtopic.php?t=40770
http://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: 8657
Location: Back in jolly old England

PostPosted: Tue Nov 10, 2009 12:43 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts GDG gen check using REXX raghuraman123 CLIST & REXX 3 Wed Apr 18, 2018 9:18 pm
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us