Re: Recompile after table changes?
Posted in 1998
Yes, you must recompile all 4gl programs that use columns that are affected by the table alter. David wrote: > > Hi, > > After altering a table to add/delete/modify columns, is it necessary > to recompile all the 4GL's that access the table? > > Many of the source programs have variables defined such as: > > p_plmst RECORD LIKE plmst.* > > I would have thought the the currently compiled program would, at > runtime, pick up the changes and that a recompile was not necessary. > > Of course, I am aware that I need to check all source code for > instances where a complete record is read into, for example, an array > that matchs a complete table and in this case the array layout has to > match the table layout. > > BTW, we are running on RDS 4.20, SE 5.10. > > Any advice gratefully received. > > Thanks, Dave. ________________________________________________________________ John H. Frantz Power-4gl: Extending Informix-4gl john@rl.is http://www.rl.is/~john/pow4gl.html