Type S (Terminal Session) Entry

Type S (terminal session) entries, described in the following table, contain 164 bytes and supply information about session partners when a session is initiated or terminated. These records are written at session initiation or termination, rather than at the end of the base interval.

Initialization records contain the initiation time; termination records contain data from the beginning of the interval or the session's initiation, whichever is later.

You can collect type S and T records for the same terminal in the same interval: a type S record is generated at session initiation, then at the end of the current interval, a type T record is generated.

Note: The collection of type S records is optional. Records are recorded unless you specify SESSION=NO in the SMF statement of the INITPRM member. Type S records are never written to the log.

Length

Offset

Type

Description

8

0

C

Terminal name (if a virtual terminal session, the virtual terminal name always appears)

4

8

N

Terminal CID (network address)

4

12

C

Session type:

  • If initiation, INIT (with rest of record blank)
  • If termination, END

 

 

4

16

C

Reserved

4

20

N

Last host response time (in 216 microseconds)

4

24

N

Last network response time (in 216 microseconds)

4

28

N

Worst host response time (in 216 microseconds)

4

32

N

Worst network response time (in 216 microseconds)

4

36

N

Cumulative host response time (in 216 microseconds)

4

40

N

Cumulative network response time (in 216 microseconds)

2

44

N

Number of inputs (initiated transactions)

2

46

N

Number of outputs

2

48

N

Number of network responses computed

2

50

N

Number of responses on target 1

4

52

N

Cumulative input length

4

56

N

Cumulative output length

2

60

N

Number of responses on target 2

2

62

N

Number of responses on target 3

2

64

N

Number of responses on target 4

1

66

C

Reserved

1

67

N

Flag (X'04' - add 1 to the number of inputs to get the number of completed transactions at the host)

1

68

N

Flag (X'04' - represents a virtual session between a session manager and an application).

1

69

N

4 high order bits are virtual route

1

70

N

Reserved

1

71

N

Flag:

  • If X'01' bit, LU 6.2 traffic was detected on this session
  • If X'02' bit, response times are not being collected for this session (see Note below for additional information)
  • If X'04' bit, LU 6.2 response times for this session are measured with allocates and deallocates
  • If X'80' bit, the session is between a terminal and the session manager

 

 

 

 

16

72

C

Reserved

8

88

N

User ID for session LU. (See Note below.)

2

96

N

Global NTARGETs/UTARGETs #1 (number of responses on target)

2

98

N

Global NTARGETs/UTARGETs #2 (number of responses on target)

2

100

N

Global NTARGETs/UTARGETs #3 (number of responses on target)

2

102

N

Global NTARGETs/UTARGETs #4 (number of responses on target)

2

104

N

Reserved

2

106

N

Number of transactions terminated at the host

2

108

N

Number of transactions (Attaches) initiated on the LU 6.2 session

2

110

N

Number of user responses (for both LU 6.2 and non-LU 6.2)

8

112

N

Network ID of session LU (ESA only)

8

120

N

Procedure correlation ID (ESA only)

8

128

N

Virtual LU name (ESA only)

1

136

N

Reserved

1

137

N

Flag while collecting MIB or ACCESS RTM data:

  • If X'02' bit, terminal is TN3270
  • If X'04' bit, terminal is TN3270E
  • If X'10' bit, response is indicated by ACCESS Telnet LU
  • If X'40' bit, terminal is ACCESS Telnet LU
  • If X'80' bit, terminal is Telnet LU

2

138

N

Element index

Note: (1) The 'X02' bit added to the flag at decimal offset 71 indicates that response times are not being collected for this session. This means that the last host response, last network response, worst host response, worst network response, cumulative host response, cumulative network response, number of network responses computed, number of responses on targets, and number of transactions terminated at the host fields should not be used for summarizing or reporting information. These fields may contain data; however, this data should not be used for reporting. (2) For non-ESA releases, this field contains the TSO user ID. For ESA releases, this field can contain the TSO user ID (for TSO sessions) or the CA TPX SM user ID (for virtual non-TSO sessions).


Copyright © 2010 CA. All rights reserved.