View previous topic :: View next topic
|
Author |
Message |
sivareddy123
New User
Joined: 14 Jan 2015 Posts: 11 Location: India
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
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 |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
Is this an interview question? It doesn't sound like a real requirement. |
|
Back to top |
|
|
sivareddy123
New User
Joined: 14 Jan 2015 Posts: 11 Location: India
|
|
|
|
Hello David ,
Thanks for your reply!!
Yes ,Its interview question |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
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 |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 592 Location: London
|
|
|
|
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 |
|
|
|