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
 
Refer the newly created GDG generation in second step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Refer the newly created GDG generation in second step
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    Post subject:
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    Post subject:
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    Post subject: version to be used?
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    Post subject:
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    Post subject: Re: Refer the newly created GDG generation in second step
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

Moderator Team Head


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

PostPosted: Mon Jun 25, 2007 7:53 pm    Post subject: Re: Refer the newly created GDG generation in second step
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    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 it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm

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