Sli3270: 3270 Emulator Sample with SLI API for LU-LU Session

Click to open or copy the files for the Sli3270 sample.

This sample is a simple 3270 emulator.  It uses the SLI API to access the LU-LU session.  Outbound data from the host is displayed on the screen unformatted.

If the outbound data is an RQD request an automatic positive response is sent.  Inbound data can be entered at the keyboard and is sent on the current session.

The program is invoked with two parameters: the name of the LUA LU to use and a logon string.  This is converted to upper case and must match an LUA LU in the configuration file.  This LU should be configured for a 327? on the host.

There is a Snaenv.bat file to set environment variables, available via the SNA Samples topic.

Building SDK Samples

This sample uses the following keywords:

_fstrlen; acssvc_c; closedown; createwindow; csv_init; definemuxsemlist; defwindowproc; dispatchmessage; do_write; endpaint; exit; getdc; getlasterror; getmessage; getstockobject; getsystemmetrics; issue_close; issue_init; issue_read; issue_rpq; issue_rsp; issue_verb; kbhit; loadcursor; loadicon; memcpy; memset; other_done; postquitmessage; printf; read_done; recv_done; registerclass; registerwindowmessage; releasedc; showwindow; sli; textout; translatemessage; updatewindow; waitforsingleobject; winmain; winsli; winslicleanup; wndproc