HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
Writing CPI-C Applications
Specifying the Local LU
Chapter 2 91
Context
If there is another TP from which the context is copied, the local LU
name is taken from that other TP. For more information about context,
see “Multiple Conversations” in Chapter 1.
APPCLLU Environment Variable
The local LU alias can be specified using the APPCLLU environment
variable.
For Unix On HP-UX systems this environment variable can be set in the following
ways:
• The program can issue a putenv() call
• You can set it in the HP-UX shell. For example, in the Korn shell you
would issue the following command:
export APPCLLU=MYLU
For Windows On Windows systems the local LU alias is specified in the registry. The
registry key is
\\HKEY_LOCAL_MACHINE\SOFTWARE\SNA
Client\SxClient\Parameters\MyExeName
where MyExeName is the file name of the program, less the .exe
extension.
The APPCLLU value under this registry key specifies the LU alias.
End of Section Side Information
The local LU alias is part of the side information configured for each
symbolic destination name. TPs select which of these to use in the
Initialize_Conversation call.
NOTE Programs can modify the side information. For more information, see
“Administering Side Information”.