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 |
Why is it required to have a keyed directed retrieval?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
What are the distinctive features of a ksds, key sequenced dataset?
What is the difference between PS file and VSAM file?
7 Answers IBM, Infosys, Verizon,
how yo view the vsam file?
what is the difference between vsam and dataset how do u create vsam dataset which file you r used?
In vsam at the cluster creation for KSDS FREESPACE parameter is required but for ESDS FREESPACE parameter is not required ?
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now ?
can we create PS file using IDCAMS utility?
What is the significance of the SHAREOPTIONS parameter?
What is a ci split? What is a ca split?