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
 

 

New GDG with out loosing the data in previous GDG version

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: New GDG with out loosing the data in previous GDG version
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

Site Director


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

PostPosted: Mon Mar 16, 2009 10:53 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Mar 16, 2009 11:13 am    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Mar 16, 2009 11:19 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Mar 16, 2009 11:26 am    Post subject:
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: 208
Location: Cochin/Kerala/India

PostPosted: Mon Mar 16, 2009 11:27 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Mar 16, 2009 11:50 am    Post subject:
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    Post subject:
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)
/*

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

Site Director


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

PostPosted: Mon Mar 16, 2009 1:36 pm    Post subject:
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    Post subject:
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    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 ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to get previous month in SYMNAMES Suganya87 SYNCSORT 9 Fri Oct 28, 2016 1:37 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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