[ Previous | Next | Contents | Search ]
3270 Host Connection Program 2.1 and 1.3.3 for AIX: Guide and Reference

HCON Programming Examples

HCON includes program examples that illustrate the use of the application program interface (API), automatic logon, and file transfer programming facilities. Program examples fall into the following categories:

File Transfer Program
                          File transfer programming examples illustrate the use of the fxfer function.
AUTOLOG
                          Provide samples of AUTOLOG scripts. The /usr/lib/hcon directory contains the sample AUTOLOG scripts: SYStso, SYSvm1, and SYSvm2. The logform file displays how the script looks when invoked by the genprof command.

File Transfer Programming Examples

File transfer programming examples are provided only in the documentation and are for illustrative purposes only. The program examples illustrating the use of the file transfer programming interface are:

cname
                          Example C program illustrating the file transfer process using the file transfer program interface.
pname
                          Example Pascal program illustrating the file transfer process using the file transfer program interface.
fname
                          Example FORTRAN program illustrating the file transfer process using the file transfer program interface.

Compiling Example Programs

For information about how to debug, compile, and link HCON programming applications, refer to "Compiling a File Transfer Program".


[ Previous | Next | Contents | Search ]