Action/Event Editor

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
Event
Shows the defined event.
Action
Select a pre-defined action for the event.
Call
Click this to call a subroutine or, for a CICS application, perform a CICS LINK. Then, type the program name into the Argument field.
Global Code
Click this to specify Procedure Division source that you can execute in any program of an application. Global code can consist of any procedural source code and paragraphs that the code performs. Then, type the name of the global code component into the Argument field.
Local Code
Click this to specify Procedure Division and Data Division source that you write and execute specifically in one program. Local code can consist of any procedural source code, paragraphs that the code performs, and Data Division source code for the code.

To write local code, click Edit Code.

User Rule
Click this to specify an existing Customizer user rule. Then, type the name of the rule into the Argument field.
Argument
Select the name of the User Rule, Paragraph, or Global Code to associate with this call.
Perform
Click this to perform a paragraph, which in this case is Procedure Division or Data Division source that you write and execute specifically for one program. Then, the paragraph name into the Argument field.
Reserved
Add
Click this to store records in your database.
Clear
Click this to move low-values to all entry fields; clears all controls.

Exception: For non-CICS applications, Clear moves spaces or low-values, depending on which option you select on the Express Generation Options dialog box - either Clear Screen with Spaces or Clear Screen with Low Values.

Delete
Click this to erase records in your database.
Next
Click this to retrieve the next sequential record and displays its data; does not apply to SQL.
Query
Click this to obtain one or more records and display them on the screen.
Term
Click this to terminate the program.
Update
Click this to modify records in your database.
Forward
Click this to page forward through a repeated record block in an application.
Backward
Click this to page backward through a repeated record block in a screen.
Refresh
Click this to reread the database when the user executes any database write function on one or more repeated record block rows, and redisplays the record block to reflect the database updates.
XCTL
Click this to transfer execution to another program and terminate the current program.
MSG SW
IMS target only. Click this to schedule a new program; optionally you can pass a screen record or other data record to the program. Then, type the trancode|programname|dataname into the Argument field.
SEND
Click this to transmit an input/output screen. Then, type screenname [arg1 arg2 ... argN] into the Argument field.
Apply
Click this to save the current assignments.
Reset
Click this to cancel the assignments just made.
Edit Code
Click this to write customized code for an event. This option is valid when you select the Perform, Global Code, or Local Code actions and enter the name, as required, in the Argument field.
Dup Pfkeys
Click this to duplicate the actions defined for either PF keys 1 throught 12 or PF keys 13 - 24, depending on which you are viewing at the time.
Function Field
Select the type of field, OPTION or MESSAGE.