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 |
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
how would you create a temporary dataset? And where will you use them?
How gdg are concatenated?
How to pass data to a program that is coded in an exec statement?
what is the difference between static call and dynamic call?
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
What is the significance of addrspc parameter in exec statement?
how to allocate a dynamic dataset in jcl ?
how can the same proc be re-used and called by many jobs?
Explain the function of job statement in jcl?
wht r different types of sort fields in jcl ?
Explain about SYSVAR