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 a ci split?
When CISZ is declared as 4096 at cluster level,is this true that data will have 4096 and index will have default?????
Tell me how many alternate indexes you can have on a dataset?
What is the main purpose of having user catalog in vsam?
What is the difference between lds and esds?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
what is a Base Cluster?
What does the keyranges parameter in define cluster command do?
How is the sorting of vsam files carried?
What is control interval?
If you wish to use the REWRITE command haw must the VSAM file be opened?
What are the different dataset organizations used in vsam?