SNAX/HLS Application Programming Manual

Sample Customization Routines
Customization
7–32 104707 Tandem Computers Incorporated
USEREXIT^VRFY^
STSN^RSP
The following sample routine illustrates the use of the
SNAX^HLS^USEREXIT^VRFY^STSN customization routine.
This user-exit routine sets bits 0 and 1 in the result code to %b10. If an STSN request is
received with action code SET and the sequence number in the request differs from the
application sequence number by more that 17 on the send flow (i.e., SLU -> PLU), it
sets bit 2 and 3 of the result code to %10 if similar conditions are met on the receive
flow (i.e., PLU -> SLU). Note that this example does not meet SNA protocol
requirements by setting a result code of %b10.