Previous Topic: Application Execution FacilityNext Topic: Trace Options


Invoke the Application Execution Facility

Invoke the AEF from a terminal session, using the following command syntax:

aef [options]

The following table defines the AEF command options:

Option

Description

-e [key]

Optional application end key. Default is PF3.

-m [char]

Application mode; either t (transactional) or i (interactive). Default is t.

-l

Display login screen to collect userid & password.

-w [password]

Password for login. Default is PASSWORD. Use with the –l option.

-t [number]

Value between 0 and 31 that activates an internal AEF program trace. 15 is the most useful level. This option creates a file in the local directory containing the trace data. The filename is lg-<procname>-<procid>.log where <procname>is the name of the program running, the AEF or the load module, and <procid> is the process number of the program running.

Example: lg-aef-163574.log

-o [filename]

Name of file to contain dumped screen images.

-s [filename]

Name of the script file to record the current input activity. Use the –p option at a later time to replay the script.

-p [filename]

Name of a script file containing previously recorded input activity. Use this option to activate the playback feature.

-d [number]

The number of seconds to delay input messages when replaying the script file. You must include this parameter to activate the replay feature. For example, -d 0 activates replay with 0 seconds delay between message inputs. Use with the –p option.

-b

Specifies to display a blank screen during playback. Use with the –p option.

-help

Displays usage information

Note: Applications built as transactional are invoked using the AEF. Server or command line applications are not invoked through the AEF.

Function key assignments for the AEF may differ for each terminal type. The AEF uses a keyboard mapping file, p3270 keys, to assign values for each function key and special purpose key available for generated applications on the target system. The file is organized by terminal type and contains a set of entries for each terminal type usable with your target system. For more information about the p3270 keys file, see the appendix Keyboard Mapping and Terminal Emulation in this guide.

The AEF screen accepts trancodes and clear screen input. The aeenv file in each application's directory defines the mapping of trancodes to load modules. The environment variable AEPATH lists each application's directory for the AEF to locate the aeenv files. The AEF reads the trancode entered, and invokes the associated load module. When the load module terminates, control returns to the AEF.