User`s guide
3: File Transfer Interface (BSCFTI)
DC 900-1406E 55
3.2 BSCDIAL Procedure
Calling Sequence
ReturnCode = BSCDIAL (lnum, server, dial, config, dtime,
response, display)
Procedures Called
BSCDAS, BSCASL, BSCMODEM, BSCRESET, and BSCFWY
Functions
1. Verifies legal parameters.
2. If there is a change in the server name or ICP device, calls BSCASL to assign input
and output channels.
3. If the
config descriptor length is non-zero, sends the Modem Configuration com-
mand (command code 39) to the ICP link (
lnum) with the configuration string.
4. If the
dial descriptor length is non-zero, sends the Autodial Start command
(command code 38) to the ICP link (
lnum) with the dial string.
5. Issues a read to the ICP and waits up to
dtime for a response.
6. Logs autodial success or error messages based on the
DEFAULT /LOG=n /DLOG
options and the display parameter.
7. If the
response parameter is true, logs the modem response string.
Arguments
lnum This is a pointer to an integer. It is a longword containing the link
number.