How to rename a VSAM file as well as it's index file?
Answers were Sorted based on User's Feedback
Answer / sai
I think by using IDCAMS-ALTER command we can rename VSAM
dataset
| Is This Answer Correct ? | 26 Yes | 2 No |
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 |
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 |
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 |
common jcl abends??
What is the difference between the JOBLIB and the STEPLIB statements?
What is the use of disp parameter?
Can you delete the GDG base without deleting GDG generations ?
Which dd parameters are required?
I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?
What statement marks the end of an in-stream or catalogued procedure?
What are the valid DSORG values ?
what is the Difference between SYSIN and PARM ?
How to identify in JCL that an input file is empty without reading it?
How to run cobol program using jcl?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you