3-20Getting started

Figure 3-13

Logout-action template for accounting application

Action Template

#logout-action template for the getbalance #action template, filename: logout_cust.act logout_cust accounting — —

clrcust

#exits customer info screen

clrmenu

#exits applicatoin menu

logout

#logouts out to prepare for login

Screen Template

#screen template to clear customer info #screen, filename: clrcust.scn

clrcust

1,1

Account Number:

0,0

4

0,0

>

ENTER

#screen template to exit the #accounting application #filename: clrmenu.scn

clrmenu

1,20

ACME Accounting

0,0

5

0,0

>

ENTER

0,0

Y

0,0

>

ENTER

#screen template to log off the host #computer, preparing for the initial #action template to be executed #filename: logout.scn

logout

0,0

0,0

logout

0,0

>

ENTER

The logout-action template brings the host computer back to the login screen. The TRS then executes the initial-action template, as it does whenever any logout-action template is successful.

If the transaction fails before the customer screen is accessed, the logout-action template searches the other screen templates until a valid tag match is found, then it executes that screen template and the following screen templates.

555-9001-316 Standard 1.0 February 1996

Page 59
Image 59
Nortel Networks VT100 manual Logout-action template for accounting application