User`s guide

DC 900-1349B 23
Appendix
A
BSC 3270 Example
BSCDEMO is in the freeway/client/test/bscdemo directory. The following example
was run immediately after the communications server was downloaded with the
BSC 3270 image. Comments are ignored. Links 0 and 1 are connected with a Simpact
loopback connector. The computer output is shown here in
typewriter type; your
typed input is shown in bold italic type.
Note
BSCDEMO uses blocking I/O
1
; therefore, all data link interface
(DLI) functions produce a response, including attach, enable
(bind), disable (unbind), and detach.
hall% bscdemo (UNIX platforms) or run bscdemo (VMS platforms)
SIMPACT BSCDEMO PROGRAM [V03-10]: Type 'HELP' for commands
Enter board number (0-3): 1
bscdemo> attach 0,1 ! Attach as “Master” mode
Mode = (-1 to 64): 0
2780/3780 = 0, 3270 = 1, FMP = 2, SWIFT = 3, CHIPS = 4
Protocol Type (0 to 4): 1
1. The asyncIO parameter in the DLI configuration file must be set to “no.” Refer to the Freeway Data
Link Interface Reference Guide or the BSC Programmer’s Guide for more information.