6100 BSC Programming Manual
 Writing Applications that Use 6100 BSC
 Setting Line Parameters
 Most applications don't have to set the line configuration
 parameters. Rather, you define the parameters in SYSGEN, and
 include AUTOCONF among them. (AUTOCONF applies by default to
 BSC, so you don't have to state it explicitly.) With AUTOCONF,
 configuration occurs whenever the line is downloaded. If at some
 point all openers close the line, the next OPEN call sets the new
 configuration. The configuration block downloaded in these
 cases is the one CP6100 maintains, as described in the
 CP6100 Programming Manual (see AUTOCONF).
 For information about line parameters, see "Line Configuration
 Options" in Section 1.
 If you haven't specified AUTOCONF, or if an application requires
 a change in the line configuration, the application makes a
 WRITEREAD call with the SET CONFIGURATION request. The values
 supplied in the request need not match those in the SYSGEN
 configuration file. (That file should reflect the configuration
 you use most frequently.)
 SET CONFIGURATION is allowed only when the line is in
 DISCONNECTED state (see Section 2). It lets you set any
 parameter you could define in SYSGEN. Once you set a parameter
 or make a change, the value lasts until the next download, or
 until the application or CP6100 makes another SET CONFIGURATION
 request.
 You can use an option in SET CONFIGURATION to supply your own
 translation tables. If the line is defined as EBCDIC and you
 don't supply your own tables, a standard ASCII-to-EBCDIC
 translation occurs upon output, and a standard EBCDIC-to-ASCII
 translation occurs upon input.
 If you want to use SET CONFIGURATION to supply your own tables,
 you must identify the character code as "user-defined EBCDIC";
 you specify that line parameter in a subsequent SET CONFIGURATION
 request. (You can't specify line parameters and translation
 tables in the same request.)
 3-4










