Environment Variables (UNIX)

This appendix lists all the environment variables that are available on UNIX, and describes how to specify them.

Environment Variable Summary
CCITCP2 Locates TCP/IP registration program
CCITRACE Specifies the level of CCI tracing
COB_LIVE_RECORD Specifies the path to (optional) and filename prefix for the output file created by the Live Recorder feature.
COBAIF Locates .aif files
COBAIFNAME Specifies basename of .aif files
COBANIMOPT Specifies directives to Animator
COBANIMSRV Attaches Animator to a running program
COBATTR Selects appearance of HIGHLIGHT and LOWLIGHT
COBCONFIG Tailors run-time configurable options
COBCPY Locates copyfiles
COBDATA Locates data files
COBDIR Locates COBOL system software
COBIDY Locates Animator information (.idy) files
COBKEYTIMEOUT Tunes remote terminal response
COBLPFORM Sets logical printer channels
COBMAINSTACK Sets the size of the main stack
COBMODE Sets the local effective working mode
COBOPT Specifies user default Cob utility options
COBPATH Locates programs for dynamic loading
COBPRINTER Directs output to a print spooler
COBSES Specifies the UNIX Session Recorder functions to perform
COBSW Sets run-time system switches
COBTERMINFO Locates COBOL terminfo terminal database
COLUMNS Specifies screen width
ENTRYNAMEMAP Specifies entry name map files and directories containing them
EXTFH Specifies a configuration file for the Callable File Handler
FHREDIR Specifies a configuration file to be used by the Fileshare Client
FS Specifies a configuration file for Fileshare Server
FSCOMMS Specifies that the Fileshare System is to run in single user mode
HCOBND Specifies a directory for DB2 bind files
LANG Specifies the language environment
LD_LIBRARY_PATH Locates shared libraries (except AIX platforms)
LIBLIST Locates special Cob library list
LIBPATH Locates shared libraries (AIX platforms)
LINES Specifies screen depth
MAINFRAME_FLOATING_POINT Specifies the format to use for floating point data items
MFCODESET Specifies which translation tables to use
MFCSCFG Specifies a configuration file to be used by the Client/Server Binding client program
MFJSERET Determines the response to an unsuccessful sort, copy or merge operation. Set to ABEND for an unsuccessful operation to abend and its program to continue instead of terminating with an unrecoverable error (return code 16).
MFJSTATS Specifies to create a report containing statistics for a SORT
MFLECONFIG Specifies a configuration file for Language Environment (LE) run-time options
MFLOGDIR Specifies a directory to be used by Client/Server Binding for log files
PATH Locates directories for all UNIX programs
SORTCOMPRESS Specifies that a compression routine should be used on sort records
SORTSCHEME Specifies a SORT operation to retain more record information in memory.
SORTSPACE Specifies internal work space for SORT operations
SORTTEMPSPACE Specifies temporary work space for SORT operations
TERM Specifies terminal type
TERMINFO Locates UNIX system terminfo database
TMPDIR Locates directory for temporary files
Note: The syntax in the following descriptions is shown as required for the sh and ksh shells. Other shells, such as csh, require syntax of the form:
setenv env_var value

where the parameters are:

One of the environment variables shown on the following pages.
A value to which the environment variable can be set.