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
 

 

Related to GDG versions creations

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

New User


Joined: 14 Jan 2015
Posts: 11
Location: India

PostPosted: Tue Jan 20, 2015 11:14 am    Post subject: Related to GDG versions creations
Reply with quote

There is a JCL which has five steps.

Step 1:

It uses the GDG(0) as input and creates another GDG version.

INPUT - GDG(0)
OUTPUT- GDG version created by step 1

Step 2:

It uses the output of step 1 as input and creates another GDG version.

INPUT - output GDG version created by step 1
OUTPUT - GDG version created by step 2

Step 3:

It uses the GDG output created by step 2 as input and creates another GDG version.

INPUT - GDG version created by Step 2
OUTPUT - GDG version created by step 3

Step 4;It uses the GDG output created by step 3 as input and creates another GDG version.

INPUT - GDG version created by Step 3
OUTPUT - GDG version created by step 4

Step 4;It uses the GDG output created by step 4 as input and creates another GDG version.

INPUT - GDG version created by Step 4
OUTPUT - GDG version created by step 5

If job got abend in step 2 then what is input and output for step 2, step 3, step 4 and step 5

First question:

What are the version numbers used and created by each step?

"; ; ; ;
Second Question:

If JCL abends inexecution of Step 2, and needs to be restarted from Step 3, are there
any changes required in the GDG version numbers
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Tue Jan 20, 2015 1:12 pm    Post subject:
Reply with quote

The version number is whatever you specify in your JCL as it is not maintained automatically unlike the generation number. Why not read the JCLuser guide and set up a test GDG base that you can play with and try out your scenarios?
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 175
Location: UK

PostPosted: Tue Jan 20, 2015 2:20 pm    Post subject:
Reply with quote

Is this an interview question? It doesn't sound like a real requirement.
Back to top
View user's profile Send private message
sivareddy123

New User


Joined: 14 Jan 2015
Posts: 11
Location: India

PostPosted: Tue Jan 20, 2015 2:26 pm    Post subject: Reply to: Related to GDG versions creations
Reply with quote

Hello David ,

Thanks for your reply!!

Yes ,Its interview question
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 175
Location: UK

PostPosted: Tue Jan 20, 2015 2:54 pm    Post subject:
Reply with quote

Obviously a trick question. As Nic has said, the version number will always be V00 unless your JCL specifies anything different.

I expect the interviewer is testing you to make sure you know the difference between generations and versions.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu Jan 22, 2015 6:36 pm    Post subject:
Reply with quote

If the steps are within a job the output GDG's relative 'generation' number increments by one each time, so step1 is (+1), step2 is (+2) and so on.

And the inputs would be (0) in the first step, (+1) in the second (+2) in the third and so on.

And as Nic said, 'version' numbers do NOT change unless you specifically do that yourself, which no-one really does as it's a fairly pointless thing to do.
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 SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts JCL sort related Mani453 DFSORT/ICETOOL 13 Sun Dec 20, 2015 1:04 pm
No new posts Query related to inserting an auto po... Gopalakrishnan V DB2 4 Fri Dec 18, 2015 12:09 am
No new posts How to check if any of the GDG versio... ovreddy JCL & VSAM 3 Fri Jun 12, 2015 1:28 am
No new posts Related to BIND parameters in DB2 sivareddy123 ABENDS & Debugging 2 Fri Jan 30, 2015 4:12 pm


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