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
*.descand*.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
ARTICTLto specify the absolute path where the control block files which generated throughMFSGENare located. It is a series of paths similar toPATHenvironment variable, the separator is“:”. If this variable is not specified, thePATH APPDIRis used. It is a mandatory environment variable forARTICTLif 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_IMSLOGDIRdefault 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_IMSLOGDIRshould point to anNFSdirectory which can be accessed by machines in the Oracle Tuxedo domain. -
ARTIMS_CAPITAL_USERID - An environment variable required by
ARTICTLto 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 toNor 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 theULOGfile. If a legal signal number which can’t be caught is specified (e.g.,SIGKILLorSIGSTOP), the server boot fails and warning message is written in theULOGfile. -
ARTIMS_EXCEPTION_HANDLING - Specifies server behavior when a severe exception is generated by a user application is caught. The value can be set to
KEEPorABORT.If set to
ABORT, serverMPP/BMPaborts 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/sysmapis used. There is another logon screen defined in$IMSDIR/sysmap2; the only difference betweensysmap2andsysmapis the positions for user name and password input fields. For more information about user defined logon screen, see thereadmefile 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_PATHis 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
DFSRRC00to specify the timeout second value forDFSRRC00to wait for theBMP/BMPTprogram 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.DFSRRC00will wait until it receives a response fromBMP/BMPT. - If its value is set to a positive value smaller than
0xFFFFFFFF,DFSRRC00will wait until the specified timeout value is reached, or receives a response fromBMP/BMPTwithin 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
INTERCODEshould 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/ART3ABDis called (except whenCEE3ABDis called in an MF environment). -
DLI ROLLis called. - Signal specified in
ART_IMS_EXCEPTION_TO_CATCHor in default signal list (ART_IMS_EXCEPTION_TO_CATCHis 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 NONENo dump. SYSTEM_DUMPdump process using system utility COBOL_DUMPdump COBOL program using COBOL runtime dump method , only available for COBOL program in CIT environment now BOTHdump two files using both system utility and COBOL runtime dump method IfIMS_DUMP_TYPEis not configured, the default value isNONE- but ifARTIMS_EXCEPTION_HANDLINGis set toABORT,SYSTEM_DUMPis 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 ABORTABEND or ROLLNONENONENONENONESYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPCOBOL_DUMPNONENONECOBOL_DUMPBOTHSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPCOBOL_DUMPKEEPSignal CaughtNONENONENONENONESYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPCOBOL_DUMPNONENONECOBOL_DUMPBOTHSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMP COBOL_DUMPABORTSignal CaughtNONESYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPCOBOL_DUMPSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPCOBOL_DUMPBothSYSTEM_DUMPSYSTEM_DUMPSYSTEM_DUMPCOBOL_DUMPRequirements to generate dump file are lists in the following table:
Table 1-23 Dump File Requirements
IMS_DUMP_TYPE Requirements LINUX AIX COBOL_DUMPIn CIT environment, COBOL programs must be compiled with -gor-fmem-infoor-debug flag.SYSTEM_DUMPgcore could be invoked; gencore could be invoked; system configuration core file size is big enough BOTHBoth above COBOL_DUMPandSYSTEM_DUMPrequirements.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
DFSRRC00to specify all the environment variable names that need to be sent toARTIBMPserver except all those environment variables with prefix "DD_". All the environment variable's name should be separated with a comma. It should be set beforeDFSRRC00is 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_USERNAMEis 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_ENABLEis set toY/N, it controls turning performance tracing on/off, and takes precedent over theUBBCONFIGfile setting.If
IMS_PERF_ENABLEis not set, the performance behavior is set by using theUBBCONFIGfile-Voption. -
IMS_PRO_LOG - A global switch for program invocation log. If
IMS_PRO_LOGis 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
IPCKEYto create a share memory for collecting IMS status information. Only whenIPCKEYis set to a valid IPC value canARTIMSAGENTget 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
ARTICTLis 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
EXTERCODEshould be specified as well.