1.8 Environment Variables
-
ART_IMS_CONFIG
- An environment variable required by Tuxedo ART for IMS to specify the absolute path where the configuration files are located, such as
*.desc
and*.psb
. This environment variable is mandatory for:ARTIMPP
,ARTIMPP_ORA
,ARTIBMP
,ARTIBMP_ORA
,ARTIBMPT
,ARTIADM
. -
ART_IMS_DB
- Container path where GSAM files are located.
-
ART_IMS_FMT
- An environment variable required by
ARTICTL
to specify the absolute path where the control block files which generated throughMFSGEN
are located. It is a series of paths similar toPATH
environment variable, the separator is“:”
. If this variable is not specified, thePATH APPDIR
is used. It is a mandatory environment variable forARTICTL
if MFS is used. -
ART_IMSLOGDIR
- Specify the directory where all the record log files are located. Record log file is used by
CHKP (Symbolic)
andXRST
. If not specified, theART_IMSLOGDIR
default value is$APPDIR/IMSLOGDIR
. In MP mode, if the program wants to share the record log file among machines in an Oracle Tuxedo domain,ART_IMSLOGDIR
should point to anNFS
directory which can be accessed by machines in the Oracle Tuxedo domain. -
ARTIMS_CAPITAL_USERID
- An environment variable required by
ARTICTL
to specify whether to translate user name to upper case or not. If it is set toY
, all user name characters are translated to upper case. If it is set toN
or if it is not set, there is no translation. -
ARTIMS_COBOL_MODE
- Specifies user COBOL program invocation/cancel method (Micro Focus COBOL only). For COBOL-IT, it is ignored. The available values and descriptions are listed in the following table 19. If not set, its default value is
MF_SUBSYS
. -
ARTIMS_DYNAMIC_BMP
- Specifies dynamic BMP setting. The value can be set to "
Y
" or "N
".If set to "
Y
", BMP server exits after executing a BMP program. If set to "N
", BMP server remains live after executing a BMP program.If not set, the default is "
N
". -
ART_IMS_EXCEPTION_TO_CATCH
- Specifies the list of signal numbers that you want to catch for application exception. Each number is separated by comma (e.g.,
ART_IMS_EXCEPTION_TO_CATCH=8,11,4
).If this environment variable is not set, the default list (
SIGSEGV,SIGILL,SIGBUS,SIGFPE
), is used. If an illegal signal number is specified, it is ignored and a warning message is written in theULOG
file. If a legal signal number which can’t be caught is specified (e.g.,SIGKILL
orSIGSTOP
), the server boot fails and warning message is written in theULOG
file. -
ARTIMS_EXCEPTION_HANDLING
- Specifies server behavior when a severe exception is generated by a user application is caught. The value can be set to
KEEP
orABORT
.If set to
ABORT
, serverMPP/BMP
aborts when an exception from the user application is caught the core file of the server may or may not be generated based on the system configuration.If set to
KEEP
, the server is kept alive. If not set, the default value isKEEP
. -
ARTIMS_LOGON_SCREEN
- Specifies the logon screen directory, which must be a sub-directory in
$IMSDIR
. If not set, the default value issysmap
, which means the logon screen in$IMSDIR/sysmap
is used. There is another logon screen defined in$IMSDIR/sysmap2
; the only difference betweensysmap2
andsysmap
is the positions for user name and password input fields. For more information about user defined logon screen, see thereadme
file in$IMSDIR/sysmap2
. -
COBPATH
- An environment variable required by Micro Focus COBOL environment. It defines one or more directories to search COBOL programs to be loaded dynamically. Its usage is similar to UNIX PATH. It is a mandatory environment variable for Micro Focus COBOL.
-
COB_LIBRARY_PATH
- If you are using COBOL-IT,
COB_LIBRARY_PATH
is required by COBOL-IT to define the search order for COBOL programs. It defines one or more directories to search COBOL programs to be loaded dynamically. Its usage is similar to Unix PATH. It is a mandatory environment variable for COBOL-IT. -
DFSRRC00_TIMEOUT_SEC
- Used for
DFSRRC00
to specify the timeout second value forDFSRRC00
to wait for theBMP/BMPT
program response. It uses the following rules:- If not defined, or its value is set to 0 or negative value, or bigger than
0xFFFFFFFF
, no timeout is allowed.DFSRRC00
will wait until it receives a response fromBMP/BMPT.
- If its value is set to a positive value smaller than
0xFFFFFFFF,
DFSRRC00
will wait until the specified timeout value is reached, or receives a response fromBMP/BMPT
within the timeout value.
- If not defined, or its value is set to 0 or negative value, or bigger than
-
EXTERCODE
- Specifies which encoding type of outbound data is used. The value could be any EBCDIC encoding type used in z/OS platform. If this variable is not specified, IBM-37 will be used. If this variable is specified, then
INTERCODE
should be specified as well. -
IMS_DUMP_TYPE
- Specifies the program dump type. The dump file is generated when any of the following conditions are met:
-
CEE3ABD
/ART3ABD
is called (except whenCEE3ABD
is called in an MF environment). -
DLI ROLL
is called. - Signal specified in
ART_IMS_EXCEPTION_TO_CATCH
or in default signal list (ART_IMS_EXCEPTION_TO_CATCH
is not set), is caught.
The available values and descriptions are listed in the following table.Table 1-21 0 IMS_DUMP_TYPE Values
IMS_DUMP_TYPE Description NONE
No dump. SYSTEM_DUMP
dump process using system utility COBOL_DUMP
dump COBOL program using COBOL runtime dump method , only available for COBOL program in CIT environment now BOTH
dump two files using both system utility and COBOL runtime dump method IfIMS_DUMP_TYPE
is not configured, the default value isNONE
- but ifARTIMS_EXCEPTION_HANDLING
is set toABORT
,SYSTEM_DUMP
is enabled when the signal is caught. The dump types for all combinations are listed in the following table.Table 1-22 Real Effect Dump Type
ARTIMS_EXCEPTIO N_HANDLING Dump Condition IMS_DUMP_TYPE Real Effect Dump Type C Program MF-COBOL Program CIT-COBOL Program KEEP or ABORT
ABEND or ROLL
NONE
NONE
NONE
NONE
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
COBOL_DUMP
NONE
NONE
COBOL_DUMP
BOTH
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
COBOL_DUMP
KEEP
Signal Caught
NONE
NONE
NONE
NONE
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
COBOL_DUMP
NONE
NONE
COBOL_DUMP
BOTH
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP COBOL_DUMP
ABORT
Signal Caught
NONE
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
COBOL_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
COBOL_DUMP
Both
SYSTEM_DUMP
SYSTEM_DUMP
SYSTEM_DUMP
COBOL_DUMP
Requirements to generate dump file are lists in the following table:
Table 1-23 Dump File Requirements
IMS_DUMP_TYPE Requirements LINUX AIX COBOL_DUMP
In CIT environment, COBOL programs must be compiled with -g
or-fmem-info
or-debug flag
.SYSTEM_DUMP
gcore could be invoked; gencore could be invoked; system configuration core file size is big enough BOTH
Both above COBOL_DUMP
andSYSTEM_DUMP
requirements.All dump files are located at
$APPDIR
.The process dump file name is
core.${servername}.${timestamp}.${pid}
.The CIT dump file name is
CIT.core.${program name}.${timestamp)
. -
-
IMS_ENV_LIST
- Used for
DFSRRC00
to specify all the environment variable names that need to be sent toARTIBMP
server except all those environment variables with prefix "DD_
". All the environment variable's name should be separated with a comma. It should be set beforeDFSRRC00
is launched. -
IMS_LONG_USERNAME
- ARTIMS supports login IMS from terminal using the traditional 8-byte username/password, and also supports max 30 bytes username/password. This environment variable is used to switch between the traditional username/password and long username/password. The default mode is traditional 8-byte username/password.
If
IMS_LONG_USERNAME
is set to be“Y”
, the max 30 bytes username/password is used; otherwise, the traditional 8-byte username/password is used. -
IMS_PERF_ENABLE
- A global switch for performance tracing. If
IMS_PERF_ENABLE
is set toY/N
, it controls turning performance tracing on/off, and takes precedent over theUBBCONFIG
file setting.If
IMS_PERF_ENABLE
is not set, the performance behavior is set by using theUBBCONFIG
file-V
option. -
IMS_PRO_LOG
- A global switch for program invocation log. If
IMS_PRO_LOG
is set toY/N
, it controls turning program invocation log on/off.If set to
Y
, at the start/end of a transaction/program in MPP/BMP servers a trace line is added to the program invocation log file in the following format:transaction name
,program name
,Sstart time,
Eend time
,group id
,server id
.Note:
When used, "-" indicates an empty value.If not set, the default value is
N
. -
IMS_STAT_IPCKEY
- Specify
IPCKEY
to create a share memory for collecting IMS status information. Only whenIPCKEY
is set to a valid IPC value canARTIMSAGENT
get real time information from IMS domain. -
IMS_TRACE_PATH
- Specifies the path where debug trace, program invocation log, and performance tracing reports are located. Tuxedo ART for IMS server must have both write and execute permissions for this directory.
If not specified, by default, they are located at
$APPDIR/log
. -
IMSDIR
- An environment variable containing the root path (absolute path), of the installed Tuxedo ART for IMS subsystem. It is a mandatory environment variable if
ARTICTL
is used to be connected from terminal. -
INTERCODE
- Specifies which encoding type of inbound data is used. The value could be any encoding type used in universal platform. If this variable is not specified, ASCII is used. If this variable is specified, then
EXTERCODE
should be specified as well.