HP-UX SNAplus2 R7 Administration Command Reference

Appendix CEnvironment Variables
AppendixC Environment Variables
This appendix provides an alphabetical listing of all the environment variables that are used by SNAplus2 programs.
It includes a brief summary of how SNAplus2 uses each variable, and provides a cross-reference to additional
information provided elsewhere in the SNAplus2 documentation set.
Most of these environment variables are specic to SNAplus2 programs. However, a small number are standard
HP-UX environment variables that may be used by other programs on your computer; you may need to modify
your settings of these variables for use with other programs as well as SNAplus2 programs.
C.1 Environment Variables That Affect All Functions
C.1.1 LANG
The setting of the LANG environment variable determines the language used for online help and message catalogs
supplied by SNAplus2.
C.1.2 PATH
SNAplus2 uses the PATH environment variable to specify where executable programs are stored on the HP-UX
computer.
The Motif-based programs are stored in the directory /opt/sna/bin/X11, and the character-based programs are
stored in the directory /opt/sna/bin. If you add these directories to the denition of the PATH environment
variable in your .login or .profile le, the programs are located automatically.
Alternatively, you can specify the directory name when you run the program, as in the following examples:
/opt/sna/bin/snapadmin init_node
/opt/sna/bin/snap3270 -s/usr/jim/newstyle.stu
/opt/sna/bin/snapprtsty -s/usr/jim/newstyle.stu
/opt/sna/bin/X11/xsnapadmin
/opt/sna/bin/X11/xsnap3270 -s/usr/jim/newstyle.stu
The sample command lines shown in the SNAplus2 manuals assume that you have added the directories to your
PATH environment variable, and do not include the directory names.
C.2 Environment Variables That Affect 3270 Emulation
C.2.1 CONVERTTRANS
The 3270 emulation program uses CONVERTTRANS to specify that transparent data sent by the host on LU 1 printer
sessions should be translated from EBCDIC to ASCII before being sent to the printer (or to the print lter program).
If CONVERTTRANS is set to 1, the program translates transparent data from EBCDIC to ASCII.
If CONVERTTRANS is not set or is set to 0 (zero), the program does not translate transparent data.
For more details, refer to the information about controlling printer sessions in
HP-UX SNAplus2 3270 Users Guide.
C.2.2 IND_FILE
The 3270 emulation program uses IND_FILE to specify the name of the host le transfer program. If you do
not set IND_FILE before starting the emulation program, SNAplus2 uses the standard program IND$FILE for
single-byte host languages, or APVUFILE for double-byte host languages.
633