Recompile all programs after new set added to database?

Document ID : KB000013461
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

 I am going to be adding a new set to an existing record. Of course that means adding some pointers to the existing record. 

 

My question is: We are not changing the Data portion of the existing record (just new pointers) so is it necessary to recompile all Dialogs and Batch programs that use the existing record? 

Answer:

If the only changes to the DB involve NEW sets, existing programs need not be recompiled.

If the changes involved changing DATA portion of existing records (adding or deleting elements or changing the order of elements) then existing programs would have to be recompiled to bring in the new definitions before accessing the restructured database.

After the RESTRUCTURE is complete you must bring the changes into the application schema that your subschemas are compiled from and you must regenerate the subschemas after the schema is validated and vary them new copy or cycle the CV.

 

All access to the restructured records must use the updated subschema(s).