How to rename one vsam file as well as it's index?

Answer Posted / prachi

//STEP010 PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER -
ABC.FILE -
NEWNAME(XYZ.FILE)-
/*
//

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the syntax of ams modal commands?

774


State the differences between vsam and non-vsam files?

566


explain in brief what are the 3 types of vsam files?

635


What is the use of lds (linear data set)?

579


Why is master catalog used in vsam?

579






name a few common vsam status codes?

622


What is the main function of linear dataset?

564


name the utility program closely associated with vsam?

579


Describe the uses of ams?

544


Define a path?

607


explain in brief how are different versions of gdg named?

544


what do you mean by gdg in vsam?

730


what will happen if there is no secondary allocation made for datasets?

624


Would you specify freespace ce for an esds?

606


What is speed parameters in define cluster command?

507