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

Rename the current generation file using alter command


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

New User


Joined: 13 Jun 2007
Posts: 8
Location: chennai

PostPosted: Fri Sep 14, 2007 4:38 pm
Reply with quote

Hi friends,

Can any one tell me how to rename the current generation file using alter command. i gave
ALTER (X.Y.Z(+0)) -
(A.B.C)
but it didn't WORK .
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 14, 2007 4:59 pm
Reply with quote

Did you lookup the proper syntax first:

5.0 Topic 5. ALTER

or use TSO HELP ALTER.
Back to top
View user's profile Send private message
karpagamr

New User


Joined: 13 Jun 2007
Posts: 8
Location: chennai

PostPosted: Fri Sep 14, 2007 5:13 pm
Reply with quote

the syntax shows only the limit (no of generations). but how to rename the current generation
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 14, 2007 6:20 pm
Reply with quote

If the current generation is HLQ.GDG.G9999V00, you could:

TSO RENAME 'HLQ.GDG.G9999V00' 'HLQ.GDG.G9999V01'.
TSO ALTER 'HLQ.GDG.G9999V00' NEWNAME('HLQ.GDG.G9999V01').
Use the RENAME option in an ISPF 3.4 listing.
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 FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top