User`s guide

DC 900-1349B 57
Appendix
E
CHIPS Example
BSCDEMO is in the freeway/client/test/bscdemo directory. The following example
was run immediately after the communications server was downloaded with the CHIPS
software. Comments are ignored by BSCDEMO. Links 4 and 5 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): 0
bscdemo> attach 4,5 ! 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): 4
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 Freeway SWIFT and CHIPS Programmer’s Guide for information.