SETTH


SETTH SEQNO sequence_number
Note: The SEQNO operand is required.

Where

sequence_number is an integer constant that specifies the value of the transmission header sequence number field.

Note: Changing the sequence number field can cause an error in the access method of the system under test.

Function

The SETTH statement modifies the SNA request/response header built for the next message sent based on the "on" and "off" settings.

This statement only affects the next transmitted message. It is ignored for 3270 SNA and 5250 terminals, and for CPI-C transaction programs.

Examples

/* Set transaction header sequence number                   */

setth seqno 20
type ...                          /* Enter the data to send */
transmit                          /* Send the data with the */
                                  /* modified TH values     */

Note

This statement is valid only for SNA simulation.