How to rename one vsam file as well as it's index?
Answer Posted / 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 |
Post New Answer View All Answers
how do you create an alternate index ?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
What is a vsam dataset?
what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
what are the idcams commands that can be used for vsam and explain each of them.
to use the rewrite command, how should the vsam file be opened?
If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?
Tell me how many alternate indexes you can have on a dataset?
what is the use of the file status clause in the select statement in vsam?
What is a ci split?
How do you calculate record size of an alternate cluster?
What is the function of entry sequenced data set?
Define gdg?
explain in brief how you can create a vsam file?