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 |
Using alternate indexes in batch program?
What is the difference between CI( Control Interval)and CA (Control Area)?
In vsam at the cluster creation for KSDS FREESPACE parameter is required but for ESDS FREESPACE parameter is not required ?
Why is it required to have a keyed directed retrieval?
How is the sorting of vsam files carried?
what does a file status of 02 on a vsam signifies?
What is the device independent method to indicate where a record is stored?
In vsam why we use export-import utility?
Name some common VSAM error conditions and codes. ?
what is control interval(CI) and control Area(CA)
What is a CA, control area?
What is the main function of key-sequenced data set?