EMS Manual

Generating Standard Events
EMS Manual426909-005
10-36
State Transition Diagram and Events for ZSAM-
TKN-subj-tape
State Transition Diagram and Events for ZSAM-TKN-subj-tape
The tape can be in one of these states: mounted or unmounted. The Operator
Attention Needed standard event (event number ZSAM-EVT-tape-mount-needed) is
generated to request that an operator mount the user profile tape. The Operator
Attention Completed standard event (event number ZSAM-EVT-tape-mount-done) is
generated to indicate the tape is mounted and operator attention is no longer needed.
Private Tokens and Templates for Events
State
Transition Reason Standard Token Values
1 Requested by local application State change event not generated
2 Rejected by remote TP or
aborted by operator or local app
State change event not generated (only
Object Unavailable event)
3 Connecting takes > T2—
persistent state
ZEMS-TKN-STATE-STATE-PREVIOUS
(ZSAM-VAL-): disconnected
ZEMS-TKN-STATE-STATE-CURRENT
(ZSAM-VAL-): connecting
ZEMS-TKN-CHANGE-REASON (ZSAM-
VAL-): cr-tp-xconntime
4 Normal completion to connect ZEMS-TKN-STATE-STATE-PREVIOUS
(ZSAM-VAL-): disconnected
ZEMS-TKN-STATE-STATE-CURRENT
(ZSAM-VAL-): connecting
ZEMS-TKN-CHANGE-REASON (ZSAM-
VAL-): cr-tp-applreq
5 TP-RESET(no data loss) >
N2—transient fault (reset count)
State change event not generated (only
Transient Fault event) ZEMS-TKN-
TXFAULT-TYPE = ZSAM-VAL-tf-resets-tp
6 Aborted by operator, local appl,
remote appl, or no net svc avail
State change event not generated (only
Object Unavailable event)
7 Application closing, log
application usage data—
connect time + bytes/packet
transfer
State change event not generated (only
Usage Data event)
Event-name
(ZSAM-EVT-)
Event-type
(ZEMS-VAL-)
(ZSAM-VAL-)
Private tokens
(ZSAM-TKN-)
(ZSAM-MAP-)
Private
Templates? (page1of2)
tape-mount-needed attn-needed -- No
tape-mount-done attn-completed -- No
netx25-down object-unavailable netx25-error
pdnx25-error
Yes*
* An event-number template is provided for each of these events to customize the event message text (display).
** An event-number template is provided for the event message text of this private event.