How to rename one vsam file as well as it's index?
Answers were Sorted based on User's Feedback
Answer / john
USING IDCAMS UTILITY
//SYSIN DD *
ALTER ABC.FILE -
NEWNAME(ABC.FILE.NEWNAME)
ALTER ABC.FILE.DATA -
NEWNAME(ABC.FILE.NEWNAME.DATA)
ALTER ABC.FILE.INDEX -
NEWNAME(ABC.FILE.NEWNAME.INDEX)
/*
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / deepthi
USING IDCAMS UTILITY,
SYSIN DD *
ALTER(OLDNAME)
NEWNAME(NEWNAME)
/*
| Is This Answer Correct ? | 20 Yes | 9 No |
Answer / prachi
//STEP010 PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER -
ABC.FILE -
NEWNAME(XYZ.FILE)-
/*
//
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / bannuru
USING IDCAMS UTILITY
//SYSIN DD *
ALTER OLDNAME-
NEWNAME(NEWNAME)
/*
//
| Is This Answer Correct ? | 2 Yes | 5 No |
What is the purpose of the FILE STATUS clause in the SELECT statement?
Explain the device independent method to indicate where a record is stored?
what do you mean by the repro command?
what are the additional information you should give in the dd statement while defining the next generation of a gdg?
Suppose 3 generations of a GDG exist. How would you reference the 1st generation in the JCL?
how many ways can we open i vsam file ? like print ch ids (/) is thre any other way to open the vsam file please can any one answer ?
What is the Difference between LDS & ESDS ?
What is the maximum no. of records that can be allowed in VSAM ?
HOW TO SORT RECORDS IN VSAM FILE?
Is it slower if you access a record through alt index as compared to primary index?
what is the use of reuse in vsam?
can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?