Environment Variables in EntireX Environment Variables in EntireX
Environment Variables in EntireX
This chapter gives an overview of environment variables in EntireX and how they are used.
Table of Environment Variables
Using Environment Variables under z/OS
Using Environment Variables under UNIX
Using Environment Variables under Windows
Using Environment Variables under BS2000/OSD (Batch, Dialog)
Using Environment Variables under z/VSE
Table of Environment Variables
The table below provides an overview of environment variables used on the various platforms supported by EntireX.
Platform Opt/ Environment Variable z/OS Win UNIX z/VSE z/VM Req Description More Information SAG x R Root directory for all Software AG infrastructure products (e.g. System Management Hub, Software AG Common Platform). EXXDIR x R Top level directory for EntireX. EXXVERS x R Version level directory of the EntireX. Deprecated. Kept for reasons of compatibility with earlier versions. PATH x R System variable. Additional program See Shell Environment Settings. directories required by EntireX are added to this variable by the EntireX environment script. Not required by EntireX Mini Runtime. LD_LIBRARY_PATH x R System variable. Additional shared library See Shell Environment Settings. directories required by EntireX are added to this variable by the EntireX environment script. SHLIB_PATH x R Same as LD_LIBRARY_PATH on HP-UX. See Shell Environment Settings. LIBPATH x R Same as LD_LIBRARY_PATH on AIX. See Shell Environment Settings. CLASSPATH x x R System variable. Additional JAR file path entries required by EntireX are added to this variable by the EntireX environment script (UNIX) or during installation (Windows). ARGDIR x R Home directory of the System Management See System Management Hub for EntireX. Hub ARGVERS x R Version of the System Management Hub ETB_ATTR x x O Value of Broker attribute file. Set See Broker Attributes. automatically by the Broker startup shell script. ETB_LOG x x O Accounting file. See Accounting in EntireX Broker. ETB_NONACT x x x x O Limits the TCP/IP connection lifetime. Stub-to-broker connection non-activity time in seconds. If not 0, connections with NONACT a non-activity time greater than ETB_NONACT will be closed. See Limiting the TCP/IP Connection Lifetime under z/OS | UNIX | Windows | z/VSE. ETB_SOCKETPOOL x x x O Values: ON (default) or OFF to establish an See Support of Clustering in a High Availability Scenario under z/OS | UNIX | affinity between threads and TCP/IP Windows. connections in a DVIPA environment. ETB_STUBLOG x x x x x O Trace level for the EntireX Broker API. See Application Stublog File in the UNIX administration documentation | STUBLOG Tracing for Broker Stubs under z/OS | Windows | z/VSE | z/VM. ETB_STUBLOGPATH x x O Under UNIX and Windows, the directory where the log file is created if ETB_STUBLOG is used. ETB_TIMEOUT x x x x x O Stub transport timeout. See Setting the Timeout for the Transport Method under z/OS | UNIX | Windows | TIMEOUT BS2000/OSD | z/VSE | z/VM.
1 Environment Variables in EntireX Table of Environment Variables
Platform Opt/ Environment Variable z/OS Win UNIX z/VSE z/VM Req Description More Information ERX_TRACELEVEL x x O Sets the trace level for EntireX RPC Runtime. Tracing for various EntireX components such as DCOM Wrapper, .NET Wrapper and C Wrapper. See Tracing webMethods EntireX under UNIX | Windows | BS2000/OSD | z/VSE. ETB_TRANSPORT x x x x O Sets the default transport method for Broker See Transport Methods for Broker Stubs under z/OS | UNIX | Windows | TRANSPORT stubs. BS2000/OSD | z/VSE | z/VM. ADALNK x x O The Adabas module that is needed by the See Managing the Broker Persistent Store under z/OS | UNIX | Windows | Broker kernel to access the Adabas persistent BS2000/OSD | z/VSE. store. ETBLNK x R Identifies the absolute path to the broker stubs See Broker Stubs. library if EntireX Broker has been installed. ERX_TRACEFILE x x O Sets the name of the trace file for EntireX RPC Tracing for various EntireX components such as DCOM Wrapper, .NET Wrapper Runtime. and C Wrapper. See Tracing webMethods EntireX under UNIX | Windows | BS2000/OSD | z/VSE. ERX_ETBAPIVERS x x O Determines the Broker API version to use. EntireX components such as DCOM Wrapper, .NET Wrapper and C Wrapper and the EntireX Broker are able to detect automatically the best API version to use (if no environment variable is defined or the value 0 is assigned). However, for backward compatibility to EntireX Broker, it might be necessary to set a preferred API Version for the Broker. ERX_CODEPAGE x x O Sets the locale string to be used for Internationalization for various EntireX components such as DCOM Wrapper, internationalization with the EntireX RPC .NET Wrapper and C Wrapper, if communicating with EntireX Broker version Runtime. 7.1.x and below. See Preparing EntireX Components for Internationalization. MONITOR_BROKER_OUTFILE x O Specifies an alternative output file for EntireX The default output is written to command-line monitoring script
2 Using Environment Variables under z/OS Environment Variables in EntireX
Using Environment Variables under z/OS
Under CICS, Batch and IMS, use the SAGTOKEN Utility to set and delete environment variables. See SAGTOKEN Utility under Administering Broker Stubs.
In Com-plete, use the EXAENV environment store to set and delete environment variables. See EXAENV Environment Store under Administering Broker Stubs.
Using Environment Variables under UNIX
The following table shows how to use environment variables with the C, Bourne and Korn shells. For other shells, see your UNIX documentation.
C Shell
Action Syntax Example Set environment variable setenv variable setenv ERX_TRACELEVEL value ADVANCED Delete environment unsetenv variable unsetenv ERX_TRACELEVEL variable
Bourne and Korn Shells
Action Syntax Example Set environment variable variable = value ERX_TRACELEVEL=ADVANCED export variable export ERX_TRACELEVEL Delete environment variable unset variable unset ERX_TRACELEVEL
Using Environment Variables under Windows
The following table shows how to use environment variables under Windows:
Action Syntax Examples Set environment variable SET variable = value SET ERX_TRACELEVEL=ADVANCED SET ETB_STUBLOG=NONE Delete environment SET variable = SET ERX_TRACELEVEL= variable
Using Environment Variables under BS2000/OSD (Batch, Dialog)
3 Environment Variables in EntireX Using Environment Variables under z/VSE
Environment variables are emulated with SDF variables or, failing that, with job variables.
Replace all underscores in the variable names by hyphens. For example, variable ETB_STUBLOG is called ETB-STUBLOG under BS2000/OSD.
The following table shows how to use job variables under BS2000/OSD:
Action Syntax Example Set environment variable /CATJV variable /CATJV ETB-STUBLOG /SETJV variable,C'value' /SETJV ETB-STUBLOG,C'1' Delete environment variable /ERAJV variable /ERAJV ETB-STUBLOG
Using Environment Variables under z/VSE
Action Syntax Examples Set environment variable //SETPARM variable = value //SETPARM STUBLOG=2 Delete environment variable Remove SETPARM statement /* /SETPARM STUBLOG=2
4