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

Renaming a GDG base entry


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

New User


Joined: 13 Jun 2007
Posts: 3
Location: Delhi

PostPosted: Wed Aug 08, 2007 3:55 pm
Reply with quote

Is it possible to rename a GDG base entry and if yes then plz explain how??
Back to top
View user's profile Send private message
Ajit Parmar

New User


Joined: 06 Aug 2007
Posts: 6
Location: Pune

PostPosted: Wed Aug 08, 2007 6:55 pm
Reply with quote

We can rename gdg base thru JCL
Use IDCAMS commond
and under SYSIN DD *
ALTER GDG NAME
NEW NAME newname of gdg
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Aug 08, 2007 7:30 pm
Reply with quote

What happens to any existing versions of the old gdg name?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Aug 08, 2007 9:48 pm
Reply with quote

Build a new GDG base and use DFdss to copy the existing generations to the new base, then delete the old base.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Aug 08, 2007 11:35 pm
Reply with quote

Or you could: Build a new GDG base, rename the existing generations to the new name, then delete the old base.
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: Thu Aug 09, 2007 12:27 am
Reply with quote

Unless the existing generations are on tape. . . .
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 Multiple Entry PL/I & Assembler 5
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... JCL & VSAM 12
No new posts retrieving envelope information out o... TSO/ISPF 6
No new posts Automation of data entry using Rexx i... CLIST & REXX 4
This topic is locked: you cannot edit posts or make replies. Automation of data entry using Rexx i... CICS 0
Search our Forums:

Back to Top