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

Explain the hierarchy levels in jcl?

1683


what are JCLLIB and STEPLIB in JCL?

1176


Name the statement which can be used to send data to another mvs jes3 node?

1181


Explain the purpose of dd dummy statement?

1223


List the different components of jcl statement?

1088


what is use of dcb parameter in dd statement?

1306


what happens in execution stage in job processing?

1147


What parameter directs the output of the job log dataset?

1282


What are hierarchy levels in jcl?

1522


is there any way to execute more than one proc in the same exec statement at the same time..?

2639


Why include statement is used in a jcl?

1187


how you will the direct the data to spool using sysout option?

2435


What are some jcl statements that are not allowed in procedures?

1236


How can the submitting users racf authority be overridden in a job stream?

1268


Is condition checking possible in jcl?

1218