Environment Variables for Server and Client Applications
The environment variables _CEE_RUNOPTS
, _BPXK_AUTOCVT
,
_BPX_SHAREAS
, _BPX_BATCH_UMASK
and LIBPATH
must be set as shown in SSHENV
and sshsetenv
when
running SSH Tectia Server for IBM z/OS programs (see below). The server startup
procedures described in Section
Running the Server set these variables
automatically for the server.
The NAME=VALUE format (as in SSHENV
) is used when the client or
server programs are run under MVS, and the Bourne shell format (as in
sshsetenv
) is used when the programs are run from a USS command
line.
Note: The environment files must not contain line numbers or
reading them will fail.
SSHENV:
_CEE_RUNOPTS=FILETAG(AUTOCVT,NOAUTOTAG),TRAP(ON)
_BPXK_AUTOCVT=ON
_BPX_SHAREAS=NO
_BPX_BATCH_UMASK=0022
LIBPATH=/opt/tectia/lib:$LIBPATH
SSH_DEBUG_FMT="%W(72)(2) %Dd/%Dt/%Dy %Dh:%Dm:%Ds:%Df %m/%s:%n:%f %M"
|
sshsetenv:
_CEE_RUNOPTS="FILETAG(AUTOCVT,NOAUTOTAG),TRAP(ON)"
export _CEE_RUNOPTS
_BPXK_AUTOCVT=ON
export _BPXK_AUTOCVT
_BPX_BATCH_UMASK=0022
export _BPX_BATCH_UMASK
_BPX_SHAREAS=NO
export _BPX_SHAREAS
LIBPATH=/opt/tectia/lib:$LIBPATH
export LIBPATH
SSH_DEBUG_FMT="%W(72)(2) %Dd/%Dt/%Dy %Dh:%Dm:%Ds:%Df %m/%s:%n:%f %M"
export SSH_DEBUG_FMT
|
The server will do coded character set conversion on request when transferring
files. The iconv
function is used for the conversion.
iconv()
uses the following environment variables. Usually
changing these variables is not necessary:
- _ICONV_UCS2
Tells iconv_open(Y, X)
which type of a conversion method to set up
when there is a choice between "direct" conversion from X to Y and
"indirect" X to UCS-2 to Y.
- _ICONV_UCS2_PREFIX
Tells iconv_open()
which z/OS dataset name prefix to use to find
the UCS-2 tables if they cannot be found in the HFS.