SELECT

For SELECT and SELECTEX, the socket masks are formatted in both binary and decimal. The socket list is displayed first in binary. The socket numbers are indicated by the bit position in the mask, starting with bit position 0 (for socket 0), which is the rightmost bit. The bit positions (socket numbers) are shown at left.

For example, the lowest numbered sockets are on the last line; they are sockets 0 - 31. In this line, only sockets 0, 1, 2, and 3 are selected. As shown in the following example, the binary mask, the decimal socket numbers are listed in numerical order. This is a convenient way to check whether the mask is coded as intended.
====================================================================00024EDF   
  BOTSWANA  SOCKAPI   6005004C  20:51:35.477605   SELECT Entry                 

HASID....0078     PASID....0078     SASID..0078     JOBNAME..TN1              
TCB......007F6988 TIE......1463227C PLIST..1477EF18 DUCB.....00000016 KEY..8 
ADSNAME..         SUBTASK..14632138                 TOKEN....7F75FFC8 1468FA90
 REQAREA..:  1477EEF0x                                          Addr..1477EF98
 MAXSOC...:  100                                                Addr..14632258
 TIMEOUT..:  SECOND..0      MICRO SECOND..500000                Addr..1463226C
 RSNDMSK..:                                                     Addr..14632108
 SOCKET NO.    READ SOCKET MASK (INPUT)                                       
 (Decimal)     (Binary)                                                       
 31  0  00000000 00000000 00000000 00001111 
 63  32 00111011 11111111 11111111 11111101 
 95  64 11111111 11111111 10111111 11111111 
 127 96 00000000 00000000 00000000 11110111    
   SELECTED SOCKETS:                                                          
    0,     1,     2,     3,    32,    34,    35,    36,    37,    38          
   39,    40,    41,    42,    43,    44,    45,    46,    47,    48          
   49,    50,    51,    52,    53,    54,    55,    56,    57,    59          
   60,    61,    64,    65,    66,    67,    68,    69,    70,    71          
   72,    73,    74,    75,    76,    77,    79,    80,    81,    82          
   83,    84,    85,    86,    87,    88,    89,    90,    91,    92          
   93,    94,    95,    96,    97,    98,   100,   101,   102,   103   

If the MAXSOC value is so large that all the SELECT or SELECTEX parameters cannot be traced within a single 14K buffer, multiple trace entries are written (one trace entry for each mask). When multiple trace entries are written for the same SELECT or SELECTEX call entry or exit, all the trace data except the masks themselves are duplicated across the trace entries. For example, the time stamp is the same, the MAXSOC value is the same, the TIMEOUT value is the same, and so on. The trace description indicates to which mask the trace entries pertain. For example, if the MAXSOC value in the above trace example were 65535, then each mask would be traced individually.

====================================================================00024EDF
  BOTSWANA  SOCKAPI   6005004C  20:51:35.477605   SELECT Entry (read mask) 

HASID....0078     PASID....0078     SASID..0078     JOBNAME..TN1
TCB......007F6988 TIE......1463227C PLIST..1477EF18 DUCB.....00000016 KEY..8
ADSNAME..         SUBTASK..14632138                 TOKEN....7F75FFC8 1468FA90
 REQAREA..:  1477EEF0x                                          Addr..1477EF98
 MAXSOC...:  65535                                              Addr..14632258
 TIMEOUT..:  SECOND..0      MICRO SECOND..500000                Addr..1463226C
 RSNDMSK..:                                                     Addr..14632108
 SOCKET NO.    READ SOCKET MASK (INPUT)
 (Decimal)     (Binary)