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 will happen if there is no secondary allocation made for datasets?

620


What are the different dataset organizations used in vsam?

563


Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?

605


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?

628


What are the different versions of gdg named?

561






What is a ca split?

596


Explain about the file objects in vsam?

606


what is the meaning of each of the values in shareopts(2 3)?

579


write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...

2275


Differentiate between control interval (ci) and control area (ca)?

527


Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.

1878


is it necessary that all versions of the gdg have to be of the same record length?

671


what how do you initialize a vsam file before any operation? A vsam with alternate index?

553


what is the use of the file status clause in the select statement in vsam?

566


How does control intervals and control areas related to each other?

549