構文
set CCITCP2=hostname
CCITCP2=hostname export CCITCP2
パラメーター
hostname には、該当セッションから接続する CCITCP2 デーモンが実行されているマシンの TCP ホスト名またはドット付きの 10 進の IP アドレスを指定します。
説明
環境変数の値は、構成ユーティリティを使用して設定した値よりも常に優先されます。構成ユーティリティで設定した値を使用する状態にプロセスを戻すには、次に示すように環境変数を空の文字列に設定します。
set CCITCP2=
または、(システム環境設定でシステム変数を作成するか、CONFIG.SYS ファイルを使用して) この環境変数がシステム全体に設定されている場合、この値は構成ユーティリティを使用して設定した値よりも常に優先されます。
構文
set CCITCP2_PORT=port
CCITCP2_PORT=port export CCITCP2_PORT
構文
CCITRACE=filename [options]
/F または -F | CCI API 呼び出しの詳細をトレース ファイルにログ記録します。デフォルトは、filename または他のトレース オプションが指定されていない場合は OFF、指定されている場合は常に ON です。 |
/P または -P | プロトコル レベル呼び出しの詳細をトレース ファイルにログ記録します。デフォルトは OFF です。このフラグが OFF の場合は、CCI ユーザー レベル API の詳細のみトレースされます。このフラグが ON の場合は、関数トレーシングのレベルが大きく向上する可能性があります。 |
/D または -D | CCI 関数との間で渡されたすべてのバッファーの内容をログに記録します。デフォルトは OFF です。セキュリティ上の理由でデータ トレーシングを禁止するようにアプリケーションがコード化されている場合は、データ トレーシングが許可されない可能性があります。 |
したがって、CCI API 関数の流れおよび基礎となるプロトコル関数の流れをトレースするが、これらの呼び出しに渡されるユーザー データはトレースしない、デフォルト名が ccitrc1.trc の CCI トレース ファイル (一致する ccitrc1.idx ファイルを持つ) を作成するには、CCITRACE 環境変数の値を /P にします。
トレース オプションは、CCI.INI ファイルを使用して制御することもできますが、CCITRACE 環境変数で指定された値が優先されます。
構文
LANG=language[_territory[.codepage]] export LANG
LANG=fr_FR export LANG
Syntax
LINES=n export LINES
Parameters
n The depth of the terminal screen or window, in lines.
Comments
The default, when LINES is unset or null, is to use the lines value as defined in the specified terminal's terminfo entry, or the current depth of the terminal window if you are using X windows. The terminal type is specified via the standard UNIX environment variable, TERM.
On non-windowing environments, where the terminal screen area cannot be resized, the LINES values does not need to be set.
In windowing environments, where the size of windows can be changed, the initial size of the window is used in preference to the lines value in terminfo. When the window is resized, the new size is reread. If the new size is greater than the initial size then the extra lines might not be used.
If you want to use the full depth of the window you might need to set LINES to the current depth of the window on some platforms.
Using LINES values that do not correspond to the actual depth of the window produces unexpected results.
Example
LINES=50 export LINES
UNIX システム、Cob、およびランタイム システムが共有ライブラリと呼び出し可能共有オブジェクトを検索するディレクトリを指定します。これは、すべてのプラットフォーム (LIBPATH を使用する AIX を除く) で $COBDIR/lib を含めるように設定する必要があります。また、アプリケーションによって使用される呼び出し可能共有オブジェクトを含むディレクトリもこのパスに含まれている必要があります。
構文
LD_LIBRARY_PATH=pathname[:pathname]... export LD_LIBRARY_PATH
pathname 1 つのパス、またはコロン (:)で区切られた複数のパスのリスト。
コメント
指定するディレクトリの 1 つとして、$COBDIR/lib も指定してください。COBDIR 環境変数に関しては、これ以前で説明しています。
HP-UX システムでは、LD_LIBRARY_PATH は SHLIB_PATH 環境変数と同じ値に設定する必要があります。SHLIB_PATH および LD_LIBRARY_PATH を異なる値に設定すると、未定義の結果が生じる可能性があります。
この環境変数は、システムの環境変数です。詳細は、ご使用の UNIX オペレーティング システムのマニュアルを参照してください。
例
LD_LIBRARY_PATH=$COBDIR/lib:/home/mydir/myapp:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
構文
LIBPATH=pathname[:pathname]... export LIBPATH
パラメーター
pathname 共有ライブラリを検索するディレクトリを指定します。
例
LIBPATH=$COBDIR/lib:/lib:/usr/lib
Syntax
SET MAINFRAME_FLOATING_POINT=fpstatus
MAINFRAME_FLOATING_POINT=fpstatus export MAINFRAME_FLOATING_POINT
Parameters
fpstatus Which format to use for floating point data items. This must be one of:
Setting MAINFRAME_FLOATING_POINT to anything other than true has the same effect as setting it to false.
The setting of this environment variable can be overridden by the NATIVE-FLOATING-POINT directive.
国別コード | CCSID | 言語 |
---|---|---|
AUTOMATIC | オペレーティング システムのデフォルト | |
AUTO: | オペレーティング システムのデフォルト | |
DEFAULT | 英語 (US) | |
0031 | 256 | オランダ語 |
0033 | 297 | フランス語 |
0034 | 284 | スペイン語 |
0039 | 280 | イタリア語 |
0043 | 273 | ドイツ語 (オーストリア) |
0044 | 285 | 英語 (イギリス) |
0045 | 277 | デンマーク語 |
0046 | 278 | スウェーデン語 |
0047 | 277 | ノルウェー語 |
0049 | 273 | ドイツ語 |
0066 | 838 | タイ語拡張 |
0081 | 930 | *日本語カタカナ拡張 |
0082 | 933 | *朝鮮語 |
0086 | 13676 | *簡体字中国語 |
0351 | 282 | ポルトガル語 |
0358 | 278 | フィンランド語 |
0437 | 437 | 英語 (US) |
0500 | 500 | 国際 (ラテン 1) |
0886 | 937 | *繁体字中国語 |
0939 | 939 | *日本語ラテン拡張 |
9122 | 9122 | *日本語カタカナ |
Syntax
SET MFCSCFG=filename
MFCSCFG=filename export MFCSCFG
Parameters
filename The name of the configuration file.
Example
SET MFCSCFG=/home/mydir/mfclisrv.cfg
MFCSCFG=/home/mydir/mfclisrv.cfg export MFCSCFG
Comments
The value of MFCSCFG is overridden by any value defined in the command line. If neither of the above yields a filename, the default filename mfclisrv.cfg is assumed, and is searched for in the current directory. If that in turn is not found, the default settings for the configuration entries are used.
Syntax
SET MFLOGDIR=dirname
MFLOGDIR=dirname export MFLOGDIR
Parameters
dirname The name of the directory for log files.
Example
SET MFLOGDIR=/home/mydir/logs
MFLOGDIR=/home/mydir/logs export MFLOGDIR
Specifies a configuration file for Language Environment (LE) runtime options.
Syntax
SET MFLECONFIG=filename
MFLECONFIG=filename export MFLECONFIG
Parameters
filename The file containing the LE runtime options you want to use.
Specifies the directories to be searched by all UNIX programs, including the runtime system, when finding executables to be run.
Syntax
PATH=pathname[:pathname]... export PATH
Parameters
pathname A directory to search for executables.
Example
PATH=$COBDIR/bin:$PATH export PATH
Syntax
TERM=name export TERM
Parameters
name The name of the terminal in the terminfo database.
Example
TERM=at386 export TERM
Specifies the directory to be searched by all UNIX programs, including the runtime system, for the UNIX system terminfo database.
Syntax
TERMINFO=pathname export TERMINFO
Parameters
pathname The name of a directory that contains the UNIX system terminfo database.
Comments
The UNIX system terminfo database is used by all UNIX applications that need to use a terminal. However, COBOL applications tend to make much fuller and sophisticated use of the terminal and require a fuller terminfo description than is required by typical UNIX applications such as vi. Some terminal capabilities, such as those set during the initialization of the terminal to control the use of function keys, commonly conflict with the needs of typical COBOL applications. In such cases, the terminal information required by COBOL can be stored in a separate terminfo database and referenced using COBTERMINFO.
Syntax
TMPDIR=pathname export TMPDIR
Parameters
pathname The directory used by UNIX applications for any temporary work files. Temporary work files can be created by COBOL utilities such as Cob or by the runtime system when it executes statements such as SORT. If you do not specify a directory, the system default directory is used.
Comments
You might need to use this environment variable if the runtime system needs to page data to disk when creating heaps or sorting.