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 do you mean by a vsam slot?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
What is the main purpose of having user catalog in vsam?
what is freespace
Do primary key values have to be unique? Do alternate key values have to be unique?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
What does a file status of 02 on a VSAM indicate?
What is a VSAM split?
Explain the process in which flat files are converted into vsam files?
How does control intervals and control areas related to each other?
In vsam why we use export-import utility?
can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?