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
 
Opening GDG base in I-O mode for UPDATE

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

Senior Member


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

PostPosted: Tue Mar 06, 2007 4:58 pm    Post subject: Opening GDG base in I-O mode for UPDATE
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: Chennai

PostPosted: Tue Mar 06, 2007 5:42 pm    Post subject: Re: GDG base in I-O mode
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    Post subject: Re: Opening GDG base in I-O mode for UPDATE
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

Site Director


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

PostPosted: Wed Mar 07, 2007 1:13 am    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Wed Mar 07, 2007 4:59 pm    Post subject:
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    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 retrieving envelope information out o... VintageReceiver TSO/ISPF 6 Thu Aug 10, 2017 8:13 pm
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm

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