Previous Topic: Edit File (EDTFIL)

Next Topic: USER: Initialize Subfile Header

USER: Initialize Program

Initialize work fields from passed parameters or from other database file reads. Implement security checking and specify an EXIT PROGRAM action if the user is not authorized.

You can set the program context program mode field (PGM.*Program mode) to *ADD or *CHANGE. You can test this value at any time in order to perform conditional processing. If you want to change the mode in the action diagram after the panel displays, you must also set the program context reload subfile field to yes (PGM.*Reload subfile = *YES).