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
How does jcl act on a cobol code?
What is the function of //jcllib statement?
How to run cobol program using jcl?
How does jcl specify the job to the operating system?
Explain about ISPF/TSO Commands
which utility is used to run a cobol-db2 program?
Explain the purpose of the dd keylen parameter?
Explain the purpose of dd dummy statement?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
How to submit a jcl from cics?
Differentiate between the joblib and the steplib statements?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
what is use of dsn parameter in dd statement?
Describe the various parameters utilized in the creation of a gdg?
Explain the function of dd disp parameter?