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

wht r different types of sort fields in jcl ?

1 Answers   IBM,


I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)

2 Answers  


describe the job statement, its meaning,syntax and significant keywords?

1 Answers  


in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options

4 Answers   HSBC,


is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)

3 Answers   HSBC,






What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

0 Answers  


What is the function of a dd statement?

0 Answers  


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  


I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.

3 Answers   iGate,


in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes

4 Answers  


what is the purpose of SYSOUT parameter in the DD statement?

1 Answers  


How I sort the records in a file and copy the first 10 records to another file

5 Answers  


Categories