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

New GDG with out loosing the data in previous GDG version


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

New User


Joined: 26 May 2006
Posts: 35
Location: india

PostPosted: Mon Mar 16, 2009 10:29 am
Reply with quote

Hi all,

How to create (increase) new version of GDG with out loosing the
data in previous GDG version?


Regards,
RDR.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2009 10:53 am
Reply with quote

Hello,

I suspect you mean a new generation. . .

To create a new generation, code the DSN(+1) in the jcl. Earlier generations will keep they data unless they are scratched.
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Mar 16, 2009 11:01 am
Reply with quote

Hi Dick,

The generation is fine if we have to create the new version then?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2009 11:13 am
Reply with quote

Hello,

Why do you believe you are going to create a new version?

There is typically no reason to create a new version. . .

Quote:
The generation is fine if we have to create the new version then?
The generation is fine when you have to create a new generation. . . NOT a new version.
Back to top
View user's profile Send private message
rdr

New User


Joined: 26 May 2006
Posts: 35
Location: india

PostPosted: Mon Mar 16, 2009 11:14 am
Reply with quote

Hi,

I think I did not put my question properly.
Suppose there are 10 generations. But I want 11th one to be created
and there is no space in the file then how to handle this situation.
Please let me know if I am not cleaare with my question.

Regards,
RDR.
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Mar 16, 2009 11:16 am
Reply with quote

Hi Dick,

Yes I do understand as per his question he is requesting to create new generation and not the version.

Instead of creating new question in this forum , thought of asking in the same ques.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2009 11:19 am
Reply with quote

Hello,

Quote:
and there is no space in the file then how to handle this situation.
How did "no space" get involved? Each generation allocates space for that generation and there is no overlap. The same space is not used by multiple generations.

Having 10 generations will have no impact on creating generation 11. If the gdg base is defined for 10 and an 11th is created, the first one will be rolled off. If you need to keep more than 10, then the gdg base needs to be changed to the new number of generations to be maintained.
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Mar 16, 2009 11:20 am
Reply with quote

Hello Rdr,

Suppose there are 10 generations. But I want 11th one to be created
and there is no space in the file then how to handle this situation


Can you be more clear on this?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2009 11:26 am
Reply with quote

Hello,

Quote:
Can you be more clear on this?
We can try . . . icon_smile.gif

Quote:
and there is no space in the file
As i asked before - how did space get into the discussion? Space has nothing to do with creating a new generation.

What you are asking is completely clear to you but the terms posted are not clear for the topic. We started with versions (probably not the issue) and have gone to space (also, probably not the issue). Once the question is clearly understood, a more useful reply should be possible.
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Mon Mar 16, 2009 11:27 am
Reply with quote

Hi himanshu7,
Did you try with the alter command in IDCAMS?i think it will work.Just try it,
Regards,
Bipin Peter
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Mar 16, 2009 11:36 am
Reply with quote

Quote:
Quote:
Can you be more clear on this?
We can try . . .


Sorry dick i didnt understand what do you want to try?

I wanted rdr to clarify his question..[/quote]
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2009 11:50 am
Reply with quote

Quote:
Sorry dick i didnt understand what do you want to try?
To get a commonly understood, clear understanding of what the question actually is. . .

The topic has become quite fragmented due to the use of terms that i'm fairly sure are not part of the "real" question.

Once rdr explains in more clear detail what the concern is, we will be better able to reply.

Quote:
Having 10 generations will have no impact on creating generation 11. If the gdg base is defined for 10 and an 11th is created, the first one will be rolled off. If you need to keep more than 10, then the gdg base needs to be changed to the new number of generations to be maintained.
This may be the "whole" issue, but we need confirmation. What Bipin Peter posted is along this same line.

So, now we wait for confirmation from rdr that this is the issue or that we need to look elsewhere for a suggestion for a different issue. . . icon_smile.gif
Back to top
View user's profile Send private message
dharmendra_kp

New User


Joined: 10 Mar 2005
Posts: 33
Location: Lewiston

PostPosted: Mon Mar 16, 2009 11:58 am
Reply with quote

I think rdr is looking for altering GDG limit. This has been answered previously. Please try

//STEP1 EXEC PGM=IDCAMS
//SYSIN DD *
ALTER YOUR.GDG.NAME LIMIT(20)
/*

www.ibmmainframes.com/about835.html
Back to top
View user's profile Send private message
rdr

New User


Joined: 26 May 2006
Posts: 35
Location: india

PostPosted: Mon Mar 16, 2009 1:03 pm
Reply with quote

Hi,


GDG reached it's limitation so but i want to add some more data to that file.

Regards,
rdr.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2009 1:36 pm
Reply with quote

Hello,

Quote:
GDG reached it's limitation so but i want to add some more data to that file.
Sorry, but the problem getting you an answer is your use of terms. You do not want/need to add more data to some existing file. You need for the gdg base definition to handle more generations.
Code:
//STEP1 EXEC PGM=IDCAMS
//SYSIN DD *
ALTER YOUR.GDG.NAME LIMIT(20)
/*
The information from Dharmendra should do what you need. Run this step using your gdg base name and let us know if it does what you need or if there is something else.

When presenting a technical issue it is extremely important to use the correct terminology. If you could use assistance with explaining the issue, we will be happy to help with clarification. This would be better than struggling with a mis-communication.
Back to top
View user's profile Send private message
rdr

New User


Joined: 26 May 2006
Posts: 35
Location: india

PostPosted: Mon Mar 16, 2009 5:21 pm
Reply with quote

Hi All,

Thanks for your support.
Will take care of terminology in future.

Regards,
rdr.
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 Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top