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

Current GDG version


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dipendra
Currently Banned

New User


Joined: 26 Mar 2007
Posts: 4
Location: chennai

PostPosted: Tue Apr 10, 2007 9:48 am
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Apr 10, 2007 9:57 am
Reply with quote

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
View user's profile Send private message
GlobalGyan

New User


Joined: 31 Jan 2006
Posts: 28

PostPosted: Tue Apr 10, 2007 10:46 am
Reply with quote

www-1.ibm.com/support/docview.wss?uid=ssg1S1000356 some tips of JES3 and GDG... from what i understood, JES2 or JES3, GDG(+1) in a job will refer to the new gen in all the steps.

-GG
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Apr 10, 2007 5:49 pm
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Apr 10, 2007 6:09 pm
Reply with quote

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
GlobalGyan wrote:
GDG processing and the differences between batch and dynamic allocation, including SMS and non-SMS considerations. This information is taken from Informational APAR II08285.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Apr 10, 2007 7:57 pm
Reply with quote

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
View user's profile Send private message
PRIDHVIRAJ NANDARAPU

New User


Joined: 11 Apr 2007
Posts: 4
Location: India

PostPosted: Wed Apr 11, 2007 5:46 pm
Reply with quote

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
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 isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Fetch data from programs execute (dat... DB2 3
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
Search our Forums:

Back to Top