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...

Is it possible to add an keyfield or field to an Physical file without changing its file identifier.

Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.

Answer Posted / vivek dwivedi

You can add field in file using sql. Alter table as below..

ALTER TABLE File_Name ADD COLUMN Field_Name SMALLINT NOT NULL DEFAULT 0

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in conjunction with what other keyword must ovrdta and ovrata be used?

1549


what are the different commands used in rlu ?

2408


what are the two record formats a subfile contain ?

1910


what is message file?

1053


What is compiler directive in as400? Give example of compiler directive.?

1098


What are the record format field mapping options in cpyf?

1027


what are indicators?

1049


give three main purposes of file specification ?

1738


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

1040


how to toggle between single line and multi - line display of a particular record in a subfile?

1792


what is the maximum number of subroutines allowed in rpg?

1779


what opcode could be used to test an alphanumeric field for all numeric values?

1773


what is logical file?

1033


how does the runqry show the output?

1417


at what level s,o are defined and what they will do?

1801