User`s guide

4: Record Transfer Interface (BSCRTI)
DC 900-1406E 77
4.3 BSCMODEM Procedure
This procedure can be called only after the ICP has been assigned (see the BSCASL pro-
cedure, Section 4.1 on page 74).
This procedure issues an Autodial Start command (command code 38) or Modem Con-
figuration command (command code 39) to the ICP and waits for a response.
Calling Sequence
ReturnCode = BSCMODEM (rdblock, string, dtime, code)
Procedures Called
BSCRESET and BSCFWY
Functions
1. Verifies I/O channel assignment and legal parameters.
2. Issues the appropriate command code to the ICP based on
code.
3. Issues a read to the ICP and waits for completion, unexpected response, fatal
error, or timeout (
dtime).
4. Calls BSCRESET if a fatal error or timeout (
dtime) occurs.
Arguments
rdblock This is a pointer to a data structure of type TRANBUF. It receives the
response from the ICP. See Section 4.8 on page 91 or the
BSCTRAN.INC
include file for details of the data structure.
string This is a pointer to a descriptor. It is a character string containing the
autodial start or modem configuration string.