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

Difference between (+0) and (-0) in GDG generations


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

New User


Joined: 08 Mar 2006
Posts: 1

PostPosted: Wed Mar 08, 2006 4:20 pm
Reply with quote

What is the difference between (+0) and (-0) when i refer a GDG generation in my JCL?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 08, 2006 4:33 pm
Reply with quote

None. Zero (0) = minus Zero (-0) = plus Zero (+0).
Back to top
View user's profile Send private message
KS

New User


Joined: 28 Feb 2006
Posts: 91
Location: Chennai

PostPosted: Thu Mar 09, 2006 5:48 pm
Reply with quote

Hi,

In JCL, current version with 0 ( Ex. MYPDS.SYS.TEST(0) )
new version to create with +1 ( Ex. MYPDS.SYS.TEST(+1) )
older versions , refer with -1 -2 -3 etc....
( Ex. MYPDS.SYS.TEST(-1) )

Thanks,
KS
Back to top
View user's profile Send private message
mandyamj

New User


Joined: 22 Nov 2005
Posts: 7

PostPosted: Thu Mar 09, 2006 5:51 pm
Reply with quote

U just assume like array -0 and +0 both will refer the current version only. Correct me if I?m wrong
Back to top
View user's profile Send private message
venkat_skv

New User


Joined: 05 Apr 2006
Posts: 4

PostPosted: Thu Apr 06, 2006 11:09 pm
Reply with quote

hi
-0 means it will refer the previous version
+0 means it will refer the new version i.e next version
hope i m right...
just pass yur qurys
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Apr 06, 2006 11:49 pm
Reply with quote

venkat_skv wrote:
hope i m right...


You're way off, unless you'd like to provide a link to a document that would prove your point and/or disprove the previous responses.

venkat_skv wrote:
just pass yur qurys


What the @#*& does that statement mean? "Just pass why you are qurys?"
Back to top
View user's profile Send private message
pawaria

New User


Joined: 06 Apr 2006
Posts: 7
Location: Noida

PostPosted: Sat Apr 08, 2006 10:05 pm
Reply with quote

SuperK was right!!

There is no difference in (+0) and (-0) GDG Generations.
If you try to use (+0) or (-0), it only refers to current version of GDG.

Pawaria
Back to top
View user's profile Send private message
vidhyanarayanan

New User


Joined: 23 Dec 2005
Posts: 52

PostPosted: Mon Apr 10, 2006 5:33 pm
Reply with quote

hi,
there is no difference. 0 represents current greneration. GDGBASE (-) represents previous generation and GDGBASE (+) represents next generation.


regards,
vidhya
Back to top
View user's profile Send private message
balusengodan

New User


Joined: 01 Mar 2005
Posts: 15
Location: chennai

PostPosted: Mon Apr 10, 2006 6:53 pm
Reply with quote

l_narashiman wrote:
What is the difference between (+0) and (-0) when i refer a GDG generation in my JCL?



there is no "+0" (or) "-0"
its 0 only so there is no difference b/w them
ok

thanks
balu.s
Back to top
View user's profile Send private message
paragmahitkar

New User


Joined: 25 Feb 2006
Posts: 3
Location: United States

PostPosted: Mon Apr 10, 2006 8:07 pm
Reply with quote

-0 as well as +0 are same & there no diffrence between them. Instead of these different versions of GDG are present -1,0,+0 - sign indicates previose version of dataset & + sign denotes newer one.

regards,
Parag
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 Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Rexx to list generations of GDGs and ... CLIST & REXX 3
No new posts Difference between VALIDPROC and CHEC... DB2 3
Search our Forums:

Back to Top