Environment variable | Description | Specific coding rules |
---|---|---|
SYSLOGD_CODEPAGE | Used by the syslog daemon to specify the EBCDIC code page to be used for the configuration file. The default code page is IBM-1047. | The following code pages are supported:
|
SYSLOGD_CONFIG_FILE | Specifies the name of the syslogd configuration file. | The -f start option
overrides this value. Example:
|
SYSLOGD_DEBUG_DATASET | If this environment variable is not set, the debug output goes to STDOUT. The environment variable can be set to STDOUT, which will also cause the output to be written to STDOUT. On SYSLOGD shutdown, the SYSLOGD_DEBUG_VARIABLE is reset, which causes residual debug output to be written to STDOUT. | Write debug output to an MVS™ dataset
Write
debug output to a UNIX file
|
SYSLOGD_DEBUG_LEVEL | Specifies the debug level to be used by syslogd. | You can specify the following debug levels.
You can add these together in any combination to select the type of
debug messages to be written.
For example, SYSLOGD_DEBUG_LEVEL=91 includes all debugging information except for message handling and thread-specific processing (including locks). The default debug level is 127, which includes all debug information. |
SYSLOGD_PATH_NAME | Specifies the path name for the datagram socket. | The -p start option overrides this value. |
#
# Shell script to start syslogd
#
export _BPX_JOBNAME='SYSLOGD1'
export SYSLOGD_CONFIG_FILE="//'HLQ.SYSLOGD.CONFIG(DEFAULT)'"
/usr/sbin/syslogd &
// PARM='ENVAR("_CEE_ENVFILE=DD:STDENV")/'
//STDENV DD PATH='/etc/syslogd.env',PATHOPTS=(ORDONLY)
or
//STDENV DD DSN=HLQ.SYSLOGD.ENV(DEFAULT),DISP=SHR
When you use an MVS data set for your syslogd environment variables, place the environment variables in a data set with the VB record format [RECFM(VB)] and a logical record length of 256 [LRECL(256)]. If you use any other record format for the data set, use the _CEE_ENVFILE_S environment variable in place of the _CEE_ENVFILE environment variable in your syslogd started procedure. When the _CEE_ENVFILE_S environment variable is used, the system removes trailing blank spaces from each NAME=VALUE line that is read. For additional information about the _CEE_ENVFILE_S environment variable, see z/OS XL C/C++ Programming Guide.