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
 

 

Current GDG version

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Current GDG version
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: 1187
Location: Bangalore,India

PostPosted: Tue Apr 10, 2007 9:57 am    Post subject:
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    Post subject:
Reply with quote

http://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

Active Member


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

PostPosted: Tue Apr 10, 2007 5:49 pm    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Tue Apr 10, 2007 6:09 pm    Post subject:
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

Active Member


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

PostPosted: Tue Apr 10, 2007 7:57 pm    Post subject:
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    Post subject: Current GDG version
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    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 SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts Convert current to hex value gopurs DFSORT/ICETOOL 4 Wed Feb 15, 2017 5:40 am
No new posts Checking Current date vickey_dw DFSORT/ICETOOL 1 Wed Feb 08, 2017 11:14 pm


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