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
List the different jcl statements that are not permitted in the procedures?
Describe the various parameters utilized in the creation of a gdg?
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
What is notcat 2 - gs?
What is job control language?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is the function of the steplib dd statement?
How to submit jcl through a cobol program?
What is the purpose of dd?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain the function of //jcllib statement?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What are s0c1, s0c4, s0c5, s0c7 and socb?
How do you overcome this limitation ?
State the uses of syspring, sysin, sort fields, sum fields and dummy.