Defining End of Job Code

To define the code to be executed immediately following the event loop (such as closing data files and performing whatever other cleanup might be necessary), do the following:

  1. Do one of the following:

    • On the Program menu, select End of Job.

    • On the toolbar, click the Edit Subroutine button, then select End of Job from the list.

    • Click the drop down arrow of the Object list box and select EOJ Code.

  2. Enter the code to be executed immediately after exiting from the event loop.