Nortel Networks VT100 User Manual
Page 21

2-8
Template files
555-9001-316 Standard 1.0 February 1996
Comments start with the “#” symbol and can be embedded anywhere in the
action template. If a comment begins a line, no non-comment fields may
follow the comment in that line. However, a comment may appear after a
non-comment field, such as after the screen template name as shown in Figure
2-4. It is good practice to heavily comment files so that changes can be made
easily in the future.
action-name
The
action-name
is the file name of the action template file without the
.act
extension. The
action-name
is required to begin the transaction. For
example, if the action template’s file name is
getbalance.act
, you would
enter
getbalance
for the action-name.
app-name
When you set up your application processor with the VT100 Gateway, you
must create a
trs.conf
file that assigns TRS session numbers to the
application on the host computer (the
trs.con
f file is described in Chapter 3).
Choose a name for the host computer application name; it does not need to
match any actual application name on the host computer.
As an example, this guide uses the
app-name
“accounting” to represent the
host computer “
acct
” application.
The
app-name
you specify in the action template must exist in the
trs.conf
file (discussed in Chapter 3). Meridian IVR 2.0/I passes the
app-nam
e to the
TRS function, which uses the name to start the appropriate session with the
host computer.
reset-action
The
reset-action
specifies an action template to be processed when the
transaction completes or if the transaction fails. Typically, the reset-action
template is used to bring the host computer application back to its main screen
so it is ready to process the same type of transaction. Figure 2-5 shows the
sequence a sample reset-action template follows.