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

Related to GDG versions creations


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2455
Location: Hampshire, UK

PostPosted: Tue Jan 20, 2015 1:12 pm
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: 199
Location: UK

PostPosted: Tue Jan 20, 2015 2:20 pm
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
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: 199
Location: UK

PostPosted: Tue Jan 20, 2015 2:54 pm
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 Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Thu Jan 22, 2015 6:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Related to Unit Testing Testing & Performance 2
No new posts Strange MNOTE related to BMS using PI... CICS 0
This topic is locked: you cannot edit posts or make replies. Related to using a file in comparison JCL & VSAM 8
No new posts Related to performing validation of f... DFSORT/ICETOOL 19
No new posts Merge GDG versions JCL & VSAM 5
Search our Forums:

Back to Top