By default, the EDTFIL, EDTTRN, and EDTRCD(n) functions contain a call to the CHGOBJ and DLTOBJ functions of the owning file. When they are generated as subroutines, they include a section of code that checks whether the record about to be deleted or changed has been changed by another user since being displayed to the screen. However, if the same CHGOBJ or DLTOBJ functions are inserted elsewhere in the action diagram of an EDTxxx function, this code is not generated. Consequently, if the CHGOBJ or DLTOBJ functions are marked for sharing, any EDTxxx function that contains both the default instance and more than one further instance of that internal function generates two separate subroutines—one used only at the default user point containing the previous code and one for use at all other points that does not contain this code.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |