How to rename a VSAM file as well as it's index file?

Answers were Sorted based on User's Feedback



How to rename a VSAM file as well as it's index file?..

Answer / sai

I think by using IDCAMS-ALTER command we can rename VSAM
dataset

Is This Answer Correct ?    26 Yes 2 No

How to rename a VSAM file as well as it's index file?..

Answer / santy

we can rename the VSAM file as well as it's INDEX file
using the ALTER command under IDCAMS utility.

Is This Answer Correct ?    7 Yes 2 No

How to rename a VSAM file as well as it's index file?..

Answer / mlaj

use this jcl below

//M052RPAR JOB ('comment',F7),'comment ',
// MSGLEVEL=(1,1),MSGCLASS=H,CLASS=A,REGION=0M,
// PRTY=15
//*******************************************************
//STEP10 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER M054.TEXT NEWNAME(M052.TEXT)
ALTER M054.TEXT.* NEWNAME(M052.TEXT.*)
/*

Is This Answer Correct ?    0 Yes 1 No

How to rename a VSAM file as well as it's index file?..

Answer / giri

Sai, using File Master tool we can rename the VSAM file.
Option 3.2 in File Master tool.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More JCL Interview Questions

after submiting the jcl.how do you know that the job has been completed.

4 Answers   ACS,


how to convert a file form fixed Length to variable length?

2 Answers   Syntel,


The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


What is the function of the dd mgmtclas keyword in sms datasets?

0 Answers  


I need exexution process for JCL programs

0 Answers  


I have a File that has duplicate records. I need only those records that occur more than thrice.

3 Answers  


i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?

10 Answers   IBM,


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.

3 Answers   IBM,


i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?

2 Answers  


What is the differentiation between TRK,cyl, and Bytes... how they can be connected??

2 Answers  


What is notcat 2 - gs?

0 Answers  


Categories