You can specify a Natural user exit to be triggered by a specified event.
The End-of-Job checking user exits must use the common exit parameter
list NOPXPL-A. The
parameter P-CALL-PLACE will contain EJA.
To specify a user exit to be triggered
Type X in the line command input field of
the appropriate event on the End-of-Job Checking and Actions
Screen. Press Enter. The following window opens
in which you can define a user exit:
12.02.10 ***** Entire Operations ***** 13:21:21
Owner SN End-of-Job Checking + Actions Linux Job J001
Network X517-S1 Run Date
------------- +------------------------------------------------------+ -------
C Action ! ! eans OA
x ! Exit Code is = 0 ! ok
_ ! Execute EOJ Action Exit !
_ ! !
_ ! Library ===> ________ !
_ ! Exit ===> ________ !
_ ! Exit Mode ===> _ !
_ ! !
_ ! Execute if temp. Dummy ===> _ !
************* ! ! *******
_ ! Enter-PF1---PF3---PF4---PF5---------PF9----------- !
_ ! Help End Edit Save Delete !
------------- +------------------------------------------------------+ -------
A Activat. C Cond. D Delete E Edit Exit J JV L Rel Res M Modify O Other
P Descr. R Recov. S SYSOUT T Output Mgmt U User Msg X Action Exit Y Symbol Set
Command => ____________________________________________________________
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
Help Add End Save Up Down Menu
|
Press PF5 (Save) to save the data.
Press PF3 (End) to close the window and return to the End-of-Job Checking and Actions Screen.
Meaning of the input fields:
| Field | Description | |
|---|---|---|
| Library | Name of the Natural library containing the user exit. | |
| User Exit | Name of the Natural user exit. To display a selection list for user exits available in a given library, first enter the name of a Natural library in the Library field, then enter an asterisk * in the User Exit field and press Enter. | |
| Exit Mode | ' ' (blank) | Exit will be executed synchronously. (Default) |
| 'A' | Exit will be executed asynchronously (in a Natural task). | |
| Execute if temporary Dummy | If "Y" or
"N" is specified here, the End-of-Job action will be
executed according to this definition, if the job was executed as a temporary
dummy job. If the field is left empty, the defaults for the action apply. |
|
You can perform the following functions from the Execute EOJ Action User Exit window using these PF keys:
| Key | Name | Function |
|---|---|---|
| PF4 | Edit | Create or edit an End-of-Job user exit. |
| PF9 | Delete | Reset execution of a user exit. |
Entire Operations will perform an Entire System Server logon to the job’s execution node with the job’s submit user ID prior to the execution of the exit.
End-of-job action user exits will not be performed for temporary dummy jobs.