Environment Variables

This appendix lists all the environment variables that are available, 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 (optional) and filename prefix for the live recording file (.mfr file) created by the Live Recorder feature.
Note: The live recording file must be replayed on the same operating system as it was created.
COB_LIVE_RECORD_SIZE Specifies the amount of memory (in MB) that is used to store events that are to be written to the live recording file. This can help aid performance during recording.

When the limit is reached, the buffer is cycled so that the oldest events are removed to make space for the most recent events. The default value is 268. the minimum value is 67, and the maximum value is dependant on your environment (available memory, bitism, etc...). You may need to experiment with this value to find the most optimal setting, but for 32-bit systems, a range between 500 and 1000 is adequate. For example:

COB_LIVE_RECORD_SIZE=756
Note: This is not the actual size of the live recording file that is stored on disk, as the event log is compressed when writing to the file.
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:

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