Modifying Function Options › Identifying Standard Function Options › Share Subroutine
Share Subroutine
This option specifies whether the generated source for an internal function (subroutine) is to be shared. This applies to CHGOBJ, CRTOBJ, DLTOBJ, RTVOBJ, and EXCINTFUN functions types.
- If Y is specified, generated source for subroutines is shared. In other words, source code is generated the first time an internal function is called and the source is reused for all subsequent calls to the function. The interface for the subroutine is externalized.
- If N is specified, source code is generated each time an internal function is called. The interface for the subroutine is internal.