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
 

 

How to RENAME the GDG using JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: How to RENAME the GDG using JCL
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Apr 11, 2007 12:13 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Generic rename by pattern‏ Steve Coalbran CLIST & REXX 6 Mon May 30, 2016 9:34 pm
No new posts IEHPROGM - HOW TO RENAME A PDS ? WagnerBil IBM Tools 7 Wed Aug 12, 2015 6:08 pm
No new posts How to use REXX to rename list of VSA... jackzhang75 CLIST & REXX 10 Wed Jun 03, 2015 11:25 pm
No new posts Can i user rexx to rename sequential ... jackzhang75 CLIST & REXX 3 Sat Nov 15, 2014 1:11 am


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