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

Refer the newly created GDG generation in second step


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

New User


Joined: 08 Jun 2007
Posts: 26
Location: Noida

PostPosted: Fri Jun 22, 2007 5:53 pm
Reply with quote

I have a job which contains 3 steps.

Step1 : create new generation of GDG.

Now if I wish to refer the newly created generation in second step what should i use +1 or 0?

Thanks
Saurabh
Back to top
View user's profile Send private message
Indrajit_57
Warnings : 1

New User


Joined: 27 Jun 2006
Posts: 60

PostPosted: Fri Jun 22, 2007 6:00 pm
Reply with quote

Use +1
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Jun 23, 2007 9:22 am
Reply with quote

Quote:
refer the newly created generation in second step what should i use +1 or 0?


What's your 2nd step code looks like?
Back to top
View user's profile Send private message
tosaurabh20

New User


Joined: 08 Jun 2007
Posts: 26
Location: Noida

PostPosted: Mon Jun 25, 2007 12:42 pm
Reply with quote

Devzee wrote:
Quote:
refer the newly created generation in second step what should i use +1 or 0?


What's your 2nd step code looks like?


it is simply copying the data of created version to a flat file.

Thanks
Saurabh
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Jun 25, 2007 12:46 pm
Reply with quote

Then you can use +1
Back to top
View user's profile Send private message
malavika

New User


Joined: 14 May 2007
Posts: 1
Location: Hyderabad

PostPosted: Mon Jun 25, 2007 7:51 pm
Reply with quote

Hi..

If you are creating the new GDG cersion in the same Job, then you have to use +1 to refer to the newly created.

And when you are referring that newly created version of GDG in other Job then you need to refer it with +0.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Jun 25, 2007 7:53 pm
Reply with quote

Yes, the whole concept is rather obvious and pretty much intuitive.
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 Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Started task using a generation dataset JCL & VSAM 7
Search our Forums:

Back to Top