Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Doubt in GDG

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

New User


Joined: 19 Feb 2005
Posts: 13

PostPosted: Sun Jul 17, 2005 8:50 pm    Post subject: Doubt in GDG
Reply with quote

HI,
I have a query in GDG. I have created one generation in one step and i am using the same generation in next step. For that we have to code Dataset(+1) why because all genearations are cataloged after completion of the job only, so what we have to code for DISP parameter. Is it new or old?

I hope that i will get the answer for the above query.

Thanks...
Suresh.
Back to top
View user's profile Send private message

die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Sun Jul 17, 2005 10:07 pm    Post subject:
Reply with quote

Suresh,
The DISP should be OLD. The Datasets would be catalogued at a particular STEP, not at the end of the JOB. I cant tell u why IBM referenced a new GDS as (+1) through out the JOB, but my guess would be to increase the understanding ability of a programmer when he goes through the JCL. If a (+1) GDS was mentioned as (0) in the next STEP then u cud easily lose track of the GDS.
Back to top
View user's profile Send private message
shobam

New User


Joined: 18 Jul 2005
Posts: 34
Location: CN

PostPosted: Mon Jul 18, 2005 1:10 pm    Post subject:
Reply with quote

The relative generation numbers of all generations of a GDG gets updated in the catalog only after the end of the job. Thats why (+1) is being used for a newly created GDG till the end of the job.

Please correct me if I am wrong.
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 Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts Doubt on GETMAIN, FREEMAIN behaviour Arunkumar Chandrasekaran CICS 3 Sun Aug 30, 2015 9:22 pm
No new posts Doubt in using command code O Appu IMS DB/DC 4 Tue Jan 13, 2015 3:14 pm
No new posts Doubt in using command code D and N t... Appu IMS DB/DC 7 Mon Dec 29, 2014 5:52 pm
This topic is locked: you cannot edit posts or make replies. ISREDIT macro command doubt sakrat TSO/ISPF 60 Wed Feb 05, 2014 6:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us