View previous topic :: View next topic
|
Author |
Message |
dipendra Currently Banned New User
Joined: 26 Mar 2007 Posts: 4 Location: chennai
|
|
|
|
hi
i am getting confusion on this regards
1>
i create a gdg version by (+1) ok now there are some steps working later on the same program if i will use the created GDG then what will be the version GDG(+1) or GDG(0). in beetween the creation and using there is no other work have done related to GDG.
2>
let the condition parameter in step2 : cond=(N1,GT,STEP1)
and return code by step1 is N2.
now what will i compare
N1>N2 or N2>N1
what will happen if true and if false. in which case step2 will execute. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi There,
Quote: |
1>
i create a gdg version by (+1) ok now there are some steps working later on the same program if i will use the created GDG then what will be the version GDG(+1) or GDG(0). in beetween the creation and using there is no other work have done related to GDG. |
\
For the first question i think u r talking about generation if so then If you are running under JES2 it's +1. By running JES3 it's 0. because JES2 is cataloging Datasets at JobEnd and JES3 is cataloging Datasets at StepEnd.
Quote: |
2>
let the condition parameter in step2 : cond=(N1,GT,STEP1)
and return code by step1 is N2.
now what will i compare
N1>N2 or N2>N1 |
It means step2 will be bypassed if N1> STEP1 RETURN CODE
Since if N1>N2 then step2 will be bypassed otherwise it will execute |
|
Back to top |
|
|
GlobalGyan
New User
Joined: 31 Jan 2006 Posts: 28
|
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Where is your documentation that JES2 and JES3 differ in this regard?
If JES2 and JES3 differed like this, then no shop could ever switch, as all of their JCL would have to be reviewed and perhaps modified. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
guptae wrote: |
For the first question i think u r talking about generation if so then If you are running under JES2 it's +1. By running JES3 it's 0. because JES2 is cataloging Datasets at JobEnd and JES3 is cataloging Datasets at StepEnd. |
You had better take a look at
|
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
And the salient text in the above link is:
JES3 Processing:
1. JES3's internals processing of GDGs is different from MVS
Allocation's processing of them, because JES3 deals with the
job before it goes into execution. However, the Externals
are identical, since a job must run the same on MVS
regardless of whether JES2 or JES3 is used. |
|
Back to top |
|
|
PRIDHVIRAJ NANDARAPU
New User
Joined: 11 Apr 2007 Posts: 4 Location: India
|
|
|
|
1>
When you are creating the GDG in a JCL and if u are going to use in the same JCL in next step or other steps (Same JCL) then u need to use the version (+1). If you are going to use in other JCL then u need to use version as (0). |
|
Back to top |
|
|
|