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

What is the purpose of the FILE STATUS clause in the SELECT statement?

1 Answers  


Explain the device independent method to indicate where a record is stored?

0 Answers  


what do you mean by the repro command?

0 Answers   IBM,


what are the additional information you should give in the dd statement while defining the next generation of a gdg?

0 Answers   IBM,


Suppose 3 generations of a GDG exist. How would you reference the 1st generation in the JCL?

2 Answers   IBM,


how many ways can we open i vsam file ? like print ch ids (/) is thre any other way to open the vsam file please can any one answer ?

2 Answers  


What is the Difference between LDS & ESDS ?

3 Answers  


What is the maximum no. of records that can be allowed in VSAM ?

2 Answers  


HOW TO SORT RECORDS IN VSAM FILE?

3 Answers  


Is it slower if you access a record through alt index as compared to primary index?

0 Answers  


what is the use of reuse in vsam?

3 Answers  


can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?

3 Answers   Tech Mahindra,


Categories