Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

List the different jcl statements that are not permitted in the procedures?

1081


Describe the various parameters utilized in the creation of a gdg?

1155


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

1071


What is notcat 2 - gs?

1465


What is job control language?

1088


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?

2292


What is the function of the steplib dd statement?

1195


How to submit jcl through a cobol program?

1149


What is the purpose of dd?

1238


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

1190


Explain the function of //jcllib statement?

1205


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

4899


What are s0c1, s0c4, s0c5, s0c7 and socb?

1174


How do you overcome this limitation ?

1202


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1088