User`s guide
48 DC 900-1340I
BSC Programmer’s Guide
sequence (especially in BSC 3270). Refer to the Freeway Data Link Interface Refer-
ence Guide if you need to use Raw operation.
Normal and Raw operations can be mixed. For example, the client application session
can be configured for Normal operation (allowing DLI to handle link startup and con-
figuration), but the read and write requests (Section 3.4 on page 55 and Section 3.5 on
page 80) can use Raw operation by including the optional arguments structure contain-
ing the protocol-specific information (Section 3.3.1 on page 54).
Note
The protocol-specific writeType DLI configuration parameter
(Table 7–1 on page 190) specifies the type of data to be sent on the
line (
normal or transparent). This parameter should not be confused
with Normal operation.
3.1.3 Blocking versus Non-blocking I/O
Note
Earlier Freeway releases used the term “synchronous” for blocking
I/O and “asynchronous” for non-blocking I/O. Some parameter
names reflect the previous terminology.
Non-blocking I/O applications are useful when doing I/O to multiple channels with a
single process where it is not possible to “block” on any one channel waiting for I/O
completion. Blocking I/O applications are useful when it is reasonable to have the call-
ing process wait for I/O completion.
In the Freeway environment, the term blocking I/O indicates that the dlOpen, dlClose,
dlRead and dlWrite functions do not return until the I/O is complete. For non-blocking
I/O, these functions might return after the I/O has been queued at the client, but before
the transfer to Freeway is complete. The client must handle I/O completions at the soft-