How to rename a VSAM file as well as it's index file?
Answer Posted / 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 |
Post New Answer View All Answers
Explain the hierarchy levels in jcl?
what are JCLLIB and STEPLIB in JCL?
Name the statement which can be used to send data to another mvs jes3 node?
Explain the purpose of dd dummy statement?
List the different components of jcl statement?
what is use of dcb parameter in dd statement?
what happens in execution stage in job processing?
What parameter directs the output of the job log dataset?
What are hierarchy levels in jcl?
is there any way to execute more than one proc in the same exec statement at the same time..?
Why include statement is used in a jcl?
how you will the direct the data to spool using sysout option?
What are some jcl statements that are not allowed in procedures?
How can the submitting users racf authority be overridden in a job stream?
Is condition checking possible in jcl?