Previous Topic: Application Execution FacilityNext Topic: Key Mapping


Invoke the Application Execution Facility

Invoke the AEFN from a command window, using the following command syntax:

aefn [options]

The following table defines the AEFN 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 AEFN program trace. 15 is most useful level. The option creates a file in the %USERPROFILE%\AppData\Local\CA\Gen xx\logs\server directory containing the trace data. The filename is lg-<procname>-<procid>.log, where <procname> is AEFN or the name of the executing load module, and <procid> is the AEFN or executing load module's process number id.

-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 file.

-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 through the AEFN. Client, server, or command line applications are not invoked through the AEFN.

Function key assignments for the AEFN may differ for each terminal type. The AEFN uses a keyboard mapping file, p3270key, to assign values for each function key and special purpose key available for generated applications on the target system.

The AEFN 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 AEFN to locate the aeenv files. The AEFN reads the trancode entered, and invokes the associated load module. When the load module terminates, control returns to the AEFN.