View previous topic :: View next topic
|
Author |
Message |
rdr
New User
Joined: 26 May 2006 Posts: 35 Location: india
|
|
|
|
Hi all,
How to create (increase) new version of GDG with out loosing the
data in previous GDG version?
Regards,
RDR. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
Hi Dick,
The generation is fine if we have to create the new version then? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
rdr
New User
Joined: 26 May 2006 Posts: 35 Location: india
|
|
|
|
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 |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Can you be more clear on this? |
We can try . . .
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 |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
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 |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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. . . |
|
Back to top |
|
|
dharmendra_kp
New User
Joined: 10 Mar 2005 Posts: 33 Location: Lewiston
|
|
|
|
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 |
|
|
rdr
New User
Joined: 26 May 2006 Posts: 35 Location: india
|
|
|
|
Hi,
GDG reached it's limitation so but i want to add some more data to that file.
Regards,
rdr. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
rdr
New User
Joined: 26 May 2006 Posts: 35 Location: india
|
|
|
|
Hi All,
Thanks for your support.
Will take care of terminology in future.
Regards,
rdr. |
|
Back to top |
|
|
|