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 |
In vsam at the cluster creation for KSDS FREESPACE parameter is required but for ESDS FREESPACE parameter is not required ?
How are records stored in an ESDS, entry sequenced dataset?
On which dataset you can have alt index?
what's the device independent method to indicate where a Record is Stored?
what is the use of aix in vsam why do we go for aix and wht is build index in vsam?
what is the difference b/w sequential and ESDS
what is the purpose of the verify function of idcams?
What is the index set?
How many Alternate Indexes you can have on a dataset?
What is the function of linear dataset in vsam?
is delete operation supported in an esds? Is rewrite operation possible in esds?
What is the purpose of the FILE STATUS clause in the SELECT statement?