User`s guide

F: BSC Detailed Command and Response Formats
DC 900-1340I 253
Notes:
1. To create a device, iICPSize is set to 16 plus the number of devices to create. To change a
device status,
iICPSize = 16.
2. Zero (0) for Big Endian clients (such as SunOS)
0x4000 for Little Endian clients (such as DEC)
3. DLI return status (See Appendix D)
4. Device status value
5. Protocol status (See Appendix D)
6. See the usProtCircuitID field requirements for each BSC write and read
7. The usProtSessionID that was returned on the DLI_ICP_CMD_ATTACH command
Table F 8: BSC 3270 Device Creation and Modification Commands and Responses
Header Field
Command Value
(Write)
Response Value
(Read)
ICP_header
fill1 0 N/A
fill2 0 N/A
iICPSize See Note 1. See Note 1.
usICPCommand
DLI_ICP_CMD_WRITE DLI_ICP_CMD_WRITE
iICPStatus See Note 2. See Note 3.
usICPParms[0] 0 N/A
usICPParms[1] 0 N/A
usICPParms[2] 0 N/A
Prot_header
usProtCommand DLI_PROT_CREATE_DEVICE or
DLI_PROT_CHANGE_STATUS
DLI_PROT_CREATE_DEVICE or
DLI_PROT_CHANGE_STATUS
iProtModifier See Note 4. See Note 5.
usProtLinkID Link Number Link Number
usProtCircuitID See Note 6. N/A
usProtSessionID See Note 7. See Note 7.
fill3 0 N/A
fill4 0 N/A
fill5 0 N/A