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

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,


If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?

0 Answers  


Explain the catalog?

0 Answers  


why ci and ca splits are not possible in esds and rrds?

0 Answers   IBM,


Explain the process in which flat files are converted into vsam files?

0 Answers  


What are the different parameters that are used in vsam?

0 Answers  


What are the different commands used in idcams for vsam?

0 Answers  


what's the biggest disadvantage of using a VSAM dataset?

8 Answers   Anjana, CTS, DSRC, IBM,


what is meant by BUFND & BUFNI..?

1 Answers  


Explain the difference between lds and esds?

0 Answers  


is it slower if you access a record through alternative index as compared to primary index?

1 Answers   IBM,


what is the concept of IMPORT in vsam??

2 Answers  


Categories