6100 BSC Programming Manual

Writing Applications that Use 6100 BSC
SET CONFIGURATION Request and Response
The SET CONFIGURATION request builds or replaces the
configuration block in the LIU, or establishes a user-defined
ASCII<->EBCDIC translate table. This request is permitted only
when the line is in DISCONNECTED state.
As mentioned in "Setting Line Parameters," earlier in this
section, most applications never change the values in the
configuration block. In fact, using SYSGEN and CMI to make all
necessary changes protects the application from changes in the
format of the block.
If your application will specify a translate table, it must make
two requests. It must use a SET CONFIGURATION request to define
the translate table, then use the request again to specify the
character code for the line.
If a SET CONFIGURATION request fails--for instance, if parameters
are out of bounds--the configuration block is undefined, and I/O
requests are rejected until configuration succeeds.
To examine the current values before making a change, use
the FETCH CONFIGURATION request, described earlier in this
section.
The request buffer format is:
Function := 1
Modifier := 0 to set line parameters
1 to define a translate table
Request ID := A unique value from 1 to 32767,
application-dependent
Text Out := 22 to set line parameters
512 to define a translate table
Text In := Doesn't matter
Text := A block of line parameters or translate
tables, described later.
3-45