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

How to RENAME the GDG using JCL


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sairamaniyer
Warnings : 1

New User


Joined: 10 Apr 2007
Posts: 1
Location: allahabad

PostPosted: Tue Apr 10, 2007 5:29 pm
Reply with quote

How to RENAME the GDG using JCL??
Back to top
View user's profile Send private message
vkphani

New User


Joined: 29 Oct 2003
Posts: 29

PostPosted: Tue Apr 10, 2007 5:32 pm
Reply with quote

You can use IDCAMS ALTER command.
Back to top
View user's profile Send private message
ragganga

New User


Joined: 22 Jan 2007
Posts: 18
Location: bangalore

PostPosted: Tue Apr 10, 2007 6:26 pm
Reply with quote

Hi,

This topic is already discussed in JCl forum.

Please look into those, you will get better ans.

Regards
Raghu
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: Wed Apr 11, 2007 12:13 am
Reply with quote

Hello,

If your GDG has some number of files already cataloged and you wany to keep them related to the "new" gdg base dsn starting with G0001V00, you might define the new GDG base, then copy the existing files to the new name to start everything "clean".

Once all of the files to be kept have been copied to the new name, delete the orignal files, then delete the gdg base.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Rename dasd IBM Tools 11
No new posts Error during restore rename All Other Mainframe Topics 2
No new posts Generic rename by pattern‏ CLIST & REXX 6
No new posts IEHPROGM - HOW TO RENAME A PDS ? IBM Tools 7
No new posts How to use REXX to rename list of VSA... CLIST & REXX 10
Search our Forums:

Back to Top