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 one vsam file as well as it's index?

Answers were Sorted based on User's Feedback



How to rename one vsam file as well as it's index?..

Answer / john

USING IDCAMS UTILITY
//SYSIN DD *
ALTER ABC.FILE -
NEWNAME(ABC.FILE.NEWNAME)

ALTER ABC.FILE.DATA -
NEWNAME(ABC.FILE.NEWNAME.DATA)

ALTER ABC.FILE.INDEX -
NEWNAME(ABC.FILE.NEWNAME.INDEX)
/*

Is This Answer Correct ?    18 Yes 0 No

How to rename one vsam file as well as it's index?..

Answer / deepthi

USING IDCAMS UTILITY,
SYSIN DD *
ALTER(OLDNAME)
NEWNAME(NEWNAME)
/*

Is This Answer Correct ?    20 Yes 9 No

How to rename one vsam file as well as it's index?..

Answer / prachi

//STEP010 PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER -
ABC.FILE -
NEWNAME(XYZ.FILE)-
/*
//

Is This Answer Correct ?    1 Yes 4 No

How to rename one vsam file as well as it's index?..

Answer / bannuru

USING IDCAMS UTILITY
//SYSIN DD *
ALTER OLDNAME-
NEWNAME(NEWNAME)
/*
//

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More VSAM Interview Questions

Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now?

2 Answers   IBM,


how do you define an altindx ? How do you use altindxs in batch, cics programs?

0 Answers   IBM,


1. delete is not possible in esds. why? 2. i have 10 records in a esds file and i want to delete only 1st record ..then what i have to do?.. it will not affect any sequence of the RBA. 3. why open extend is not possible in rrds vsam file?

3 Answers  


What is the difference between CI( Control Interval)and CA (Control Area)?

3 Answers   Infosys, TCS,


explain how many ways you can load data in a vsam cluster?

0 Answers   IBM,


what is the use of aix in vsam why do we go for aix and wht is build index in vsam?

5 Answers   HCL, IBM,


How many Alternate Indexes you can have on a dataset?

2 Answers   AB Inc,


What is a base cluste?

0 Answers  


How can you create a VSAM dataset? Can you write a JCL for it?

4 Answers   IBM, TCS,


What are the different parameters that are used in vsam?

0 Answers  


How many cluster index can have in a table?

3 Answers   HSBC,


what do you mean by a vsam split?

0 Answers   IBM,


Categories