User`s guide

3: BSC 3270 DLI Functions
DC 900-1340I 67
3.4.1.10 Send EOT Command
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_SEND_EOT to reject a received message when using the safe store option
(Section 4.15 on page 96). The Send EOT is queued behind any preceding outgoing
messages. The BSC 3270 software returns a confirmation response with the
dlRead
pOptArgs.usProtCommand
field set to DLI_PROT_SEND_EOT when the EOT is sent success-
fully.
An unsuccessful Send EOT command can return one of the following error codes in the
dlRead pOptArgs.iICPStatus field (see Appendix D for error handling):
DLI_ICP_ERR_BAD_MODE
The function request is not available for the requested
access mode.
DLI_ICP_ERR_MODE_NOT_SAFE
The client issues a Send EOT command when BSC is
not expecting one, or an EOT is received from the
remote station (forward abort) before the client sends
the message acceptance/rejection.
3.4.1.11 Create Virtual 3270 Devices Command
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_CREATE_DEVICE to create virtual 3270 devices. After booting Freeway, status
information for each possible virtual 3270 device is cleared. For the client application to
create virtual devices, the link must be configured as a tributary (slave) station
(Section 4.10 on page 93), and the 3270 Text Addressing option (Section 4.22 on
page 102) must be set to device emulation.
The type of device being emulated (display or printer) is specified by the range of the
device number. Up to 32 devices can be defined for each control unit. Display devices 0
to 31 are specified as device numbers 0 to 31. Printer devices 0 to 31 are specified as
device numbers 32 to 63 (device number + 32). Set the
dlWrite iBufLen parameter to the
number of device numbers listed in the
pBuf data area. Set the MSB of the