User`s guide
DC 900-1349B 41
Appendix
C
FMP Example
BSCDEMO is in the freeway/client/test/bscdemo directory. The following example
was run immediately after the communications server was downloaded with the FMP
image. Comments are ignored by BSCDEMO. Links 2 and 3 are connected with a Sim-
pact 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 0 ! Attach Link 0 using shared master mode
Mode = (-1 to 64): 1
2780/3780 = 0, 3270 = 1, FMP = 2, SWIFT = 3, CHIPS = 4
Protocol Type (0 to 4): 2
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 FMP Programmer’s Guide for more information.