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
what will happen if there is no secondary allocation made for datasets?
What are the different dataset organizations used in vsam?
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?
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?
What are the different versions of gdg named?
What is a ca split?
Explain about the file objects in vsam?
what is the meaning of each of the values in shareopts(2 3)?
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...
Differentiate between control interval (ci) and control area (ca)?
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.
is it necessary that all versions of the gdg have to be of the same record length?
what how do you initialize a vsam file before any operation? A vsam with alternate index?
what is the use of the file status clause in the select statement in vsam?
How does control intervals and control areas related to each other?