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

Opening GDG base in I-O mode for UPDATE


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

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Mar 06, 2007 4:58 pm
Reply with quote

I have a GDG with max limit as 10 generations. I received a requirement where the GDG base needed to opened for update purposes (I-O mode for all the existing generations).

Though I have not tried this till now. Do you have any implications when we do this.

Thanks all,
Murali
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Tue Mar 06, 2007 5:42 pm
Reply with quote

Murali,
In JCL, if you are going to give the I-O GDG file name as filename.G0001V00 ,then i believe the file name or generation name will be the same.

Corrections are welcomed icon_cool.gif
Back to top
View user's profile Send private message
jeevankumar

New User


Joined: 06 Mar 2007
Posts: 2
Location: columbus oh

PostPosted: Wed Mar 07, 2007 1:07 am
Reply with quote

Hi,
GDGs are similar to normal datasets.

In the JCL you can specify the GDG with (0) for the current dataset and open in I-O mode in the program.

I think it should work..

Please correct me if I am wrong.

Thanks.
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: Wed Mar 07, 2007 1:13 am
Reply with quote

Hello,

The previous replies do not answer the original question. . .

I seem to recall a similar thread recently about a problem witn i-o and concatenated datasets (specifying the gdg base is an implicit concatenation).

If my memory is correct (and sometimes is not icon_smile.gif, there was a problem gong to the second file.

I'd suggest creating a new gdg base for testing, catalog 3 versions, and give it a try.

We'll be here to hear how it goes and offer suggestions icon_smile.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Mar 07, 2007 4:59 pm
Reply with quote

Thanks all for the valueable posts. Surely, I will update you people with my experience.
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 HILITE on Browse mode? TSO/ISPF 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts DB2 for z/OS and LUW Admin Job Opening Mainframe Jobs 0
No new posts Difference when accessing dataset in ... JCL & VSAM 7
Search our Forums:

Back to Top