6100 BSC Programming Manual

Writing Applications that Use 6100 BSC
FETCH CONFIGURATION Request and Response
The FETCH CONFIGURATION request retrieves the current values of
the line configuration parameters (as stored in the LIU) or the
user-defined translate tables. For information about the
parameters, see "Line Configuration Options" in Section 1; the
names that appear in the list below are the names you use in the
SYSGEN entry. For information about the translate tables, see
"SET CONFIGURATION," in this section.
This request can be issued at any time, and does not affect the
line state. Notice that although the Text In value is ignored,
the read count in the WRITEREAD request must be large enough for
the data being read, plus 8 bytes for the rest of the response
buffer.
The request buffer format is:
Function := 2
Modifier := 0 to retrieve line parameters
1 to retrieve the translate tables
Request ID := A unique value from 1 to 32767,
application-determined
Text Out := Doesn't matter
Text In := Doesn't matter
Text := None
The response buffer format is:
Response := 2
Status := 0 if the text field contains the requested data,
otherwise a code for the error that occurred
Request ID := The same as in the request
Detail := A status detail code, containing more
description of request status
Text In := 0 if an error prevented data from being returned
22 if the text field contains line parameters
512 if the text field contains translate tables
Text := A block of line parameters or translate tables.
3-36