CINIT (CONTROL INITIATE)



* SSCP ÿ PLU, Norm; FMD NS(s)

*
CINIT requests the PLU to attempt to activate, via a
* BIND request, a session with the specified SLU.
    ________________________________________________________________________  
 * | CINIT (CONTROL INITIATE)                                               | 
   |_______ _____ __________________________________________________________| 
 * | Byte  | Bit | Content                                                  | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | 0-2   |     | X'810601' NS header                                      | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | 3     |     | Format                                                   | 
   |_______|_____|______ ___________________________________________________| 
 * |       | 0-3 | 0000 | Format 0 (only value defined)                     | 
   |_______|_____|______|___________________________________________________| 
 * |       |     | Note:  CINIT format 0 may carry control vectors at the   | 
 * |       |     | end of the basic RU.                                     | 
   |_______|_____|__________________________________________________________| 
 * |       | 4-7 | Reserved                                                 | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | 4     | 0   | INITIATE origin:                                         | 
   |_______|_____|___ ______________________________________________________| 
 * |       |     | 0 | ILU is OLU                                           | 
   |_______|_____|___|______________________________________________________| 
 * |       |     | 1 | ILU is not OLU                                       | 
   |_______|_____|___|______________________________________________________| 
 * |       | 1   | Substitution source (reserved if bits 4-5 do not = 11):  | 
   |_______|_____|___ ______________________________________________________| 
 * |       |     | 0 | use the names contained in the X'0E' control         | 
 * |       |     |   | vectors; the Network Name (X'0E') control vector for | 
 * |       |     |   | the PLU is not to be included in the BIND (reserved  | 
 * |       |     |   | if bit 6 = 0)                                        | 
   |_______|_____|___|______________________________________________________| 
 * |       |     | 1 | use the names contained in the control vector X'16'; | 
 * |       |     |   | if bit 6 = 1, the Network Name (X'0E') control       | 
 * |       |     |   | vector for the PLU is to be included in the BIND     | 
   |_______|_____|___|______________________________________________________| 
 * |       | 2   | 0 | SLU is OLU                                           | 
   |_______|_____|___|______________________________________________________| 
 * |       |     | 1 | PLU is OLU                                           | 
   |_______|_____|___|______________________________________________________| 
 * |       | 3   | Retired                                                  | 
   |_______|_____|__________________________________________________________| 
 * |       | 4-5 | Names substitution in BIND PLU and SLU name fields       | 
 * |       |     | (bytes k+2-m and p+2-r):                                 | 
   |_______|_____|____ _____________________________________________________| 
 * |       |     | 00 | no name substitution is to be performed by the      | 
 * |       |     |    | receiver                                            | 
   |_______|_____|____|_____________________________________________________| 
 * |       |     | 01 | no name substitution is to be performed by the      | 
 * |       |     |    | receiver, but network identifiers are present and   | 
 * |       |     |    | are to be removed from the BIND; if bit 6 = 1, the  | 
 * |       |     |    | Network Name (X'0E') control vector for the PLU is  | 
 * |       |     |    | to be included in the BIND                          | 
   |_______|_____|____|_____________________________________________________| 
 * |       |     | 10 | no name substitution is to be performed by the      | 
 * |       |     |    | receiver, but the Network Name (X'0E') control      | 
 * |       |     |    | vector for the PLU is to be included in the BIND    | 
 * |       |     |    | (reserved if bit 6 = 0)                             | 
   |_______|_____|____|_____________________________________________________| 
 * |       |     | 11 | name substitution is to be performed by the         | 
 * |       |     |    | receiver:  the names from the source indicated by   | 
 * |       |     |    | bit 1 are to be substituted into the PLU and SLU    | 
 * |       |     |    | name fields in BIND.                                | 
   |_______|_____|____|_____________________________________________________| 
 * |       |     | Note:  Control vector X'0E's are used if the names to be | 
 * |       |     | substituted are network-qualified real names; control    | 
 * |       |     | vector X'16' is used if the names to be substituted are  | 
 * |       |     | not network-qualified real names.                        | 
   |_______|_____|___ ______________________________________________________| 
 * |       | 6   | 0 | extended BIND is not sent to the SLU                 | 
   |_______|_____|___|______________________________________________________| 
 * |       |     | 1 | extended BIND is sent to the SLU                     | 
   |_______|_____|___|______________________________________________________| 
 * |       | 7   | 0 | BIND with  XRF Session Activation (X'27') control    | 
 * |       |     |   | vector is not supported for the SLU                  | 
   |_______|_____|___|______________________________________________________| 
 * |       |     | 1 | BIND with  XRF Session Activation (X'27') control    | 
 * |       |     |   | vector is supported for the SLU                      | 
   |_______|_____|___|______________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | 5-9   |     | Session key, as described in the "Session Keys"          | 
 * |       |     |                                                          | 
   |_______|_____|__________________________________________________________| 
 * |       |     | Note:  The following session key is used:                | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'07' | Network Address Pair session key (retired):  PLU | 
 * |       |     |       | and SLU, respectively                            | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | Note:  If control vector X'15' is supported by the LU    | 
 * |       |     | (or BF), then bytes 5-9 are reserved; otherwise, these   | 
 * |       |     | bytes contain session key X'07' when sent from the SSCP  | 
 * |       |     | to a subarea LU or BF.                                   | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | 10-11 |     | Length, in binary, of BIND Image field                   | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | 12-m  |     | BIND image:  bytes 1-p of the BIND RU, i.e., through the | 
 * |       |     | URC field (see BIND format description)                  | 
   |_______|_____|__________________________________________________________| 
 * |       |     | Note:  The URC Length field is included, even if it is   | 
 * |       |     | set to 0.                                                | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | m+1-n |     | Name of SLU                                              | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | m+1   |     | Type: X'F3' logical unit                                 | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | m+2   |     | Length, in binary, of symbolic name                      | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | m+3-n |     | Symbolic name, in EBCDIC characters                      | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | n+1-n+|     | Retired                                                  | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | n+3-r |     | User Field (from INITIATE RU)                            | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | n+3   |     | Length, in binary, of user data                          | 
   |_______|_____|__________________________________________________________| 
 * |       |     | Note:  X'00' = no user data is present.                  | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | n+4-r |     | User data:  user-specific data                           | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | n+4   |     | User data key:                                           | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'00' | structured subfields follow                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | ¬X'00'| first byte of unstructured user data             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | Note:  Individual structured subfields may be omitted    | 
 * |       |     | entirely.  When present, they appear in ascending field  | 
 * |       |     | number order.                                            | 
   |_______|_____|__________________________________________________________| 
   |________________________________________________________________________| 
 * | For unstructured user data                                             | 
   |________________________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | n+5-r |     | Remainder of unstructured user data                      | 
   |_______|_____|__________________________________________________________| 
   |________________________________________________________________________| 
 * | For structured user data                                               | 
   |________________________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | n+5-r |     | Structured subfields (For detailed definitions, see      | 
 * |       |     |                                                          | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+1-s |     | LU or Non-SNA Device Specifications                      | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+1-r+|     | Length, in binary, of characteristics field, including   | 
 * |       |     | both format and characteristics fields--i.e., bytes      | 
 * |       |     | r+3-s                                                    | 
   |_______|_____|__________________________________________________________| 
 * |       |     | Note:  X'0000' = no Format and no Characteristics fields | 
 * |       |     | are present.                                             | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+3-s |     | Characteristics Field                                    | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+3   |     | Characteristics format:                                  | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'01' | device characteristics (only value defined)      | 
   |_______|_____|_______|__________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+4-s |     | LU or Non-SNA Device Characteristics                     | 
   |_______|_____|__________________________________________________________| 
   |________________________________________________________________________| 
 * | Format X'01'  (This format represents an access-method-unique          | 
 * | LU/device characteristics definition.  For more specific information,  | 
 * | refer to access method implementation documentation.)                  | 
   |________________________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+4   |     | Scheduling information:                                  | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'80' | input device                                     | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'40' | output device                                    | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'20' | conversational mode                              | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'10' | reserved                                         | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'08' | start print sensitive                            | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'04' | reserved                                         | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'02' | additional information provided (always on)      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'01' | specific poll=on, general poll=off               | 
   |_______|_____|_______|__________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+5   |     | Device type:                                             | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'00' | undefined device type                            | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'04' | 2741                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'08' | WTTY                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'10' | 115A                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'20' | TWX (33-35)                                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'30' | 83B3                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'40' | 2740                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'80' | 1050                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'90' | 2780                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'19' | 3277                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'1A' | 3284                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'1B' | 3286/3288                                        | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'1C' | 3275                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'91' | 3780                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'6D' | SNA logical unit                                 | 
   |_______|_____|_______|__________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+6   |     | Model information:                                       | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'00' | Model 1                                          | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'01' | Model 2                                          | 
   |_______|_____|_______|__________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+7   |     | Feature information:                                     | 
   |_______|_____|____ _____________________________________________________| 
 * |       | 0-1 | 00 | SDLC                                                | 
   |_______|_____|____|_____________________________________________________| 
 * |       |     | 01 | start/stop                                          | 
   |_______|_____|____|_____________________________________________________| 
 * |       |     | 10 | BSC                                                 | 
   |_______|_____|____|_____________________________________________________| 
 * |       |     | 11 | reserved                                            | 
   |_______|_____|____|__ __________________________________________________| 
 * |       | 2-7 | X'20' | XMIT interrupt feature                           | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'10' | SWITCHED LINE = ON; LEASED LINE = OFF            | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'08' | attention                                        | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'04' | checking                                         | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'02' | station control                                  | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'01' | selector pen                                     | 
   |_______|_____|_______|__________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+8   |     | Physical device address                                  | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+9   |     | Miscellaneous flags:                                     | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'80' | SNA compatible application program interface     | 
 * |       |     |       | (always on)                                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'40' | non-SNA application program interface (always    | 
 * |       |     |       | off)                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'20' | buffered                                         | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'10' | continue mode                                    | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'08' | contention mode                                  | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'04' | inhibit mode (text timeout)                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'02' | end-to-end control                               | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'01' | 3270 extended data stream requiring BSC          | 
 * |       |     |       | transparency                                     | 
   |_______|_____|_______|__________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+10  |     | Device data stream compatibility characteristics:  (This | 
 * |       |     | field is used in conjunction with the Device Type field, | 
 * |       |     | r+5, when that field is set to X'6D':  SNA logical unit; | 
 * |       |     | otherwise, it is reserved.):                             | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'00' | no data stream characteristics defined here      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'04' | 2741                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'08' | WTTY                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'10' | 115A                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'20' | TWX (33-35)                                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'30' | 83B3                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'40' | 2740                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'80' | 1050                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'90' | 2780                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'19' | 3277                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'1A' | 3284                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'1B' | 3286/3288                                        | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'1C' | 3275                                             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'91' | 3780                                             | 
   |_______|_____|_______|______ ___________________________________________| 
 * |       |     | X'A0'-X'FF'  | available for installation-defined use    | 
   |_______|_____|______________|___________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+11  |     | Device language support:                                 | 
   |_______|_____|__________________________________________________________| 
 * |       | 0   | Query indicator:                                         | 
   |_______|_____|___ ______________________________________________________| 
 * |       |     | 0 | Identify language characteristics of the device from | 
 * |       |     |   | the code specified in bits 1-7                       | 
   |_______|_____|___|______________________________________________________| 
 * |       |     | 1 | Send query command to the device to determine the    | 
 * |       |     |   | single byte character set language and double byte   | 
 * |       |     |   | character set capability.  (If the language cannot   | 
 * |       |     |   | be determined from the input received from the       | 
 * |       |     |   | query, the code specified in bits 1-7 will be used   | 
 * |       |     |   | as default.)                                         | 
   |_______|_____|___|______________________________________________________| 
 * |       | 1-7 | Language supported:                                      | 
   |_______|_____|_________ ________________________________________________| 
 * |       |     | 0000001 | US English                                     | 
   |_______|_____|_________|________________________________________________| 
 * |       |     | 0010001 | Katakana                                       | 
   |_______|_____|_________|________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+12-r|16   | Screen size (see the PS Usage field in the BIND RU for   | 
 * |       |     | format)                                                  | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+17-s|     | Work Area  (This field is optional--if not present, s =  | 
 * |       |     | r+16.):                                                  | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+17  |     | Work area format:                                        | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'00' | unformatted                                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'01' | TCAM format                                      | 
   |_______|_____|_______|__________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | r+18-s|     | Work area excluding format                               | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | s+1   |     | Length of Session Cryptography Key field                 | 
   |_______|_____|__________________________________________________________| 
 * |       |     | Note:  X'00' = no Session Cryptography Key field         | 
 * |       |     | present.                                                 | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | s+2-t |     | Session Cryptography Key field:  session cryptography    | 
 * |       |     | key enciphered under PLU master cryptography key         | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | Note: |     | End of base RU                                           | 
   |_______|_____|__________________________________________________________| 
   |_______ _____ __________________________________________________________| 
 * | t+1-u |     | Control vectors, as described in the "Control Vectors"   | 
 * |       |     |               
   |_______|_____|__________________________________________________________| 
 * |       |     | Note:  The following control vectors may be included;    | 
 * |       |     | they are parsed according to subfield parsing rule KL.   | 
   |_______|_____|_______ __________________________________________________| 
 * |       |     | X'0D' | Mode/Class-of-Service/Virtual-Route-Identifier   | 
 * |       |     |       | List (always present)                            | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'0E' | Network Name control vector:  the                | 
 * |       |     |       | network-qualified name of the PLU (always        | 
 * |       |     |       | present) (Followed by another Network Name       | 
 * |       |     |       | control vector containing the SLU name)          | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'0E' | Network Name control vector:  the                | 
 * |       |     |       | network-qualified name of the SLU (always        | 
 * |       |     |       | present) (Preceded by another Network Name       | 
 * |       |     |       | control vector containing the PLU name)          | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'15' | Network-Qualified Address Pair control vector:   | 
 * |       |     |       | PLU and SLU, respectively (always present)       | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'16' | Names Substitution control vector:  contains the | 
 * |       |     |       | names to be substituted into the PLU and SLU     | 
 * |       |     |       | name fields in the BIND (present if the names to | 
 * |       |     |       | be substituted are not included in the X'0E'     | 
 * |       |     |       | control vectors)                                 | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'2B' | Route Selection control vector                   | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'2C' | COS/TPF control vector:  conditionally present   | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'2D' | Mode control vector:  conditionally present      | 
 * |       |     |       | (contains the mode name as known in the network  | 
 * |       |     |       | of the SLU)                                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'2F' | LU Definition control vector (present if data is | 
 * |       |     |       | available to be sent and if                      | 
 * |       |     |       | Unrecognized-Control-Vectors-on-CINIT Support    | 
 * |       |     |       | indicator was set in LU-LU Session Services      | 
 * |       |     |       | Capabilities (X'0C') control vector on           | 
 * |       |     |       | RSP(ACTLU))                                      | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'59' | Installation-Defined CDINIT control vector       | 
 * |       |     |       | (present when an SSCP exit is invoked)           | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'5F' | Extended Fully Qualified PCID control vector:    | 
 * |       |     |       | conditionally present                            | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'60' | Fully Qualified PCID control vector:  present    | 
 * |       |     |       | when the SLU supports extended BINDs             | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'66' | Length-Checked Compression control vector        | 
 * |       |     |       | (present when compression is supported)          | 
   |_______|_____|_______|__________________________________________________| 
 * |       |     | X'68' | XRF/Session Cryptography control vector          | 
   |_______|_____|_______|__________________________________________________|