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
What is the main function of linear dataset?
What are the information stored in ci?
Define a path?
difference between vsam and database tables
if you wish to use the rewrite command how must the vsam file be opened?
What is the difference between lds and esds?
why ci and ca splits are not possible in esds and rrds?
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?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
What are the access method services used in vsam?
Why is master catalog used in vsam?
Explain the index set?
What is the function of entry sequenced data set?
what do you mean by gdg in vsam?
Explain the purpose of the file status clause in the select statement?