SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Getting Started with SSH Tectia Server for IBM z/OS >>
        Running the Server >>
        Environment Variables for Server and Client Applications
        Setting Up a Shell User>>
    Configuring the Server >>
    Authentication >>
    File Transfer Using SFTP >>
    Secure File Transfer Using Transparent FTP Security >>
    Tunneling >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Man Pages and Default Configuration Files >>
    Log Messages >>

Environment Variables for Server and Client Applications

The environment variables _CEE_RUNOPTS, _BPXK_AUTOCVT, _BPX_SHAREAS, and _BPX_BATCH_UMASK 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
SSH_BATCHMODE=ON
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
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 codeset 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.

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2011 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice