HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_TN3270_ASSOCIATION
kill processid
processid is the process ID that you found in step 5.
7. Start the SNAplus2 Internet daemon program, by issuing the following command:
snapinetd
8. Restart the Internet daemon program, by issuing the following command:
inetd
9. Restart the SNAplus2 software, and then restart the node.
Steps 5, 6, 7, and 8 must be repeated each time you restart the HP-UX computer. You may want to set up a shell
script containing these commands, so that it can be run at startup.
Note
If you have set up a session to use the Telnet daemons TCP/IP port, do not use SSL for
this session. If you use SSL on a session that uses the Telnet daemons TCP/IP port, Telnet
clients will not be able to use
telnet
to access the SNAplus2 computer while the node is
active.
3.45 DEFINE_TN3270_ASSOCIATION
DEFINE_TN3270_ASSOCIATION denes an association between a display LU and a printer LU. This association
allows a TN3270E client to connect to the printer LU that is associated with a display LU without knowing the
name of the printer LU. The DEFINE_TN3270_ASSOCIATION verb can be used to dene a new association or to
overwrite an existing association for a particular display LU.
3.45.1 VCB Structure
typedef struct define_tn3270_association
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char display_lu_name[8]; /* Display LU name */
TN3270_ASSOCIATION_DEF_DATA def_data; /* association definition */
} DEFINE_TN3270_ASSOCIATION;
typedef struct tn3270_association_def_data
{
unsigned char description[32]; /* description */
unsigned char reserve0[16]; /* reserved */
unsigned char printer_lu_name[8]; /* Printer LU name */
unsigned char reserv2[8]; /* reserved */
} TN3270_ASSOCIATION_DEF_DATA;
3.45.2 Supplied Parameters
The application supplies the following parameters:
259