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
 

 

How would GDG generation be reference

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

New User


Joined: 21 Feb 2007
Posts: 72
Location: bangalore

PostPosted: Fri Aug 06, 2010 5:00 pm    Post subject: How would GDG generation be reference
Reply with quote

I have a question on GDG's.

Suppose i have 4 steps in my JCL .

Step1 --> Creates a generation of a GDG
Step2 --> Creates another generation of the same GDG
Step3 --> references generation created in step1
Step4 --> references generation created in step2

How would these generation be referenced?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 06, 2010 5:05 pm    Post subject:
Reply with quote

Step 1 (+1)
Step 2 (+2)
Step 3 (+1)
Step 4 (+2)

The rule is each new generation bumps the number by one; all steps of the same job use the same reference because the new generations are not cataloged until the end of the job.
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Fri Aug 06, 2010 5:11 pm    Post subject: Reply to: query on GDG
Reply with quote

Step1 --> Creates a generation of a GDG --> this would be +1. Any other references to this dataset within the same job will continue to be +1.

Step2 --> Creates another generation of the same GDG --> this would be +2. Any other references to this dataset within the same job will continue to be +2.
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 StreamWeaver language reference chetanambi Compuware & Other Tools 1 Wed Jul 05, 2017 12:50 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 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
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us