The public command makes these modules' procedures accessible to this and other application screens and their widgets. A public module's procedure can be named in screen or widget properties—for example, in a widget's Entry Function property—or called from other JPL procedures with the call command.

Exit processing for the current widget, as described under "Field Exit."

LDB write-through. All widget data is written to corresponding entries in active LDBs.

Screen exit function executes. The screen exit function, like the screen entry function, is a named function; specify the function in the screen's Exit Function property. Screen exit functions are typically used for processing that should occur every time a screen is hidden or closed.

Call sm_tst_all_mdts which checks the mdt property for each data input widget and its occurrences. When the function encounters an occurrence that contains modified data, it returns with information that identifies the widget and occurrence number. For example, the following function alerts users to changed data on the current screen: