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

what is the maximum number of records you can specify in a display file?

1862


What is the difference between non-join logical files and join logical files?

1109


WHAT IS AS/400 SYNORIO?

3354


what is the function of rlu ?

1679


what are indicators?

1026


what is the length of a variable in rpg?

1670


what are various techniques to pass parameters from one program to another?

1844


how do you read changed records backward in subfile?

1089


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1726


how can I predict the performance of my cgis?

1094


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2730


how do handle file exception/error?

1161


what if my system I runs with system value qccsid 65535?

1036


when do you use f-spec. Continuation line ?

1700


Apart from opening of a file do we have any other use of USROPN?

1374