CAS_SRV_CANCEL=L
構文
Windows:
SET CASSPOOL_LOCK_RETRY_COUNT=count
UNIX:
CASSPOOL_LOCK_RETRY_COUNT=count
export CASSPOOL_LOCK_RETRY_COUNT
値
count レコード ロックの取得を試行する回数。
デフォルト
この変数が指定されていない場合のデフォルトは 20 です。
LSC 形式のアプリケーション (Drag and Drop、SourceConnect、Monitor など) で使用される最大タイムアウト期間を 10 分の 1 秒単位で指定できます。使用可能な最大値は 2,147,483,647 です。
構文
Windows:
SET CCITIMEOUT=value
UNIX:
CCITIMEOUT=value}
export CCITIMEOUT
デフォルト
デフォルトは 1200 (2 分) です。
例SET CCITIMEOUT=2400
構文
Windows:
set CCITCP2=hostname
UNIX:
CCITCP2=hostname
export CCITCP2
パラメーター
hostname には、該当セッションから接続する CCITCP2 デーモンが実行されているマシンの TCP ホスト名またはドット付きの 10 進の IP アドレスを指定します。
説明
環境変数の値は、構成ユーティリティを使用して設定した値よりも常に優先されます。構成ユーティリティで設定した値を使用する状態にプロセスを戻すには、次に示すように環境変数を空の文字列に設定します。
set CCITCP2=
または、(システム環境設定でシステム変数を作成するか、CONFIG.SYS ファイルを使用して) この環境変数がシステム全体に設定されている場合、この値は構成ユーティリティを使用して設定した値よりも常に優先されます。
構文
Windows:
set CCITCP2_PORT=port
UNIX:
CCITCP2_PORT=port
export CCITCP2_PORT
Syntax
Windows:
set CCITCPS_old_server_name=[new_server_name,]{MFNODE=node_name | MFPORT=port_number | MFNODE=node_name, MFPORT=port_number}
UNIX:
CCITCPS_old_server_name=[new_server_name,]{MFNODE=node_name | MFPORT=port_number | MFNODE=node_name, MFPORT=port_number}
export CCITCPS
Parameters
Note that this will only work if the server application process is started in the same session or process that has this environment variable set.
Example
Windows:
set CCITCPS_server_name=MFPORT:3000
UNIX:
set CCITCPS_MY_SERVER_NAME=MFPORT:3000
export CCITCPS_MY_SERVER_NAME
クライアントがサーバー名 server_name を持つサーバーに接続しようとしており、そのサーバーで使用されている TCP アドレスおよびポート (3000 など) がわかっている場合は、この環境変数を設定するとクライアントはそのサーバーに直接接続できます。
構文
CCITCPT_server_name=MFNODE:server_hostname,MFPORT:port_number
この環境変数は、クライアントのマシン名の値を設定する代わりに使用できます。クライアントで指定されたマシン名の値をアプリケーション定義メソッドで変更できない場合に便利です。
パラメーター
例
CCITCPT_server1=MFNODE:server2,MFPORT:3000
Syntax
CCITRACE=[options]
/F or -F | Logs the details of CCI API calls to the trace file. The default is OFF, unless any other trace option is specified, in which case it is always ON. |
/P or -P | Logs the details of protocol-level calls to the trace file. The default is OFF. If this flag is OFF, then only the details of the CCI user-level API will be traced. If this flag is ON, the level of function tracing can be increased. |
/D or -D | Logs the contents of all buffers passed to and from the CCI functions. The default is OFF. Data tracing might not be allowed if the application has been coded to prohibit data tracing for security reasons. |
The CCI.INI file can also be used to control trace options, but any values specified by the CCITRACE environment variable will take precedence.
Animator で、アニメート対象プログラムのセッション (.aif) ファイルが検索される場合の検索先ディレクトリ パスを指定します。ここで指定したディレクトリ パスは、情報 (.idy) ファイルと同じディレクトリにセッション ファイルがない場合に使用されます。Animator は、セッション間の情報をセッション ファイルに登録して更新できます。.aif ファイルには、ブレークポイントおよびモニターに関する詳細情報が含まれています。
構文
COBAIF=pathname export COBAIF
パラメーター
説明
指定されたディレクトリで .aif ファイルが見つからない場合は、COBIDY 環境変数で指定されたディレクトリが検索されます。このディレクトリにもファイルがない場合は、現在のディレクトリが検索されます。
.aif ファイルが存在しない場合は、Animator で次のように .aif ファイルが作成されます。
アニメートされるプログラムの Animator セッション ファイル (.aif) のベース名を指定します。.aif ファイルには、ブレークポイントおよびモニターに関する詳細情報が含まれています。
構文
COBAIFNAME=basename export COBAIFNAME
パラメーター
説明
COBSW=+A を使用して Animator を起動し、以降のアニメーション セッションのためにブレークポイントを保存したい場合は、この環境変数を指定する必要があります。また、anim コマンドを使用して Animator を起動する場合にもこの環境変数を指定できます。この場合、ユーザーが指定したベース名は .aif ファイルのベース名としてアプリケーション名を上書きします。
Character Animator で使用する追加の指令を指定します。
構文
COBANIMOPT=directive-list export COBANIMOPT
パラメーター
説明
Character Animator を起動すると、まず、COBANIMOPT に指定した指令が読み取られます。次に、コマンド ラインに指定した指令が使用されます (COBANIMOPT に設定された指令よりも、コマンド ラインの指令の方が優先されます)。
例
COBANIMOPT="MIXEDLANGDEBUG MULTITHREAD" export COBANIMOPT
待機中の Character Animator プロセスをアタッチする COBOL プログラムを指定します。
構文
COBANIMSRV=progid export COBANIMSRV
パラメーター
説明
この環境変数は、クロスセッション デバッグで特に役立ちます。
例
1 つ目のコンソール セッションで次のように指定します。
export COBANIMSRV=myid
myid は、Character Animator が特定の 1 つのプログラムに結び付けられるように使用する一意の ID です。Character Animator を起動するコマンドを次のように入力します。
cobanimsrv
Character Animator は、前の手順で指定された ID に一致する COBOL プログラムが起動されるまで待機します。別のコンソール セッションで次のように入力します。
export COBANIMSRV=myid cobrun prog1.int
prog1.int が起動されると、このプログラムの一意の ID myid と、最初の手順で Character Animator に指定された ID が一致するため、Character Animator はこのプロセスにアタッチされます。コンソール セッション 1 で Character Animator のメイン画面が表示され、prog1.int の最初の行にカーソルが置かれます。
ACCEPT および DISPLAY 文で使用される HIGHLIGHT と LOWLIGHT 句の非標準動作を指定します。これは、旧 COBOL 製品との互換性を提供します。後日サポートが中止される可能性があるため、この環境変数はできるだけ使わないようにしてください。
構文
COBATTR=n export COBATTR
パラメーター
n 0 から 7 の範囲内の値。これは、次のいずれかの値、または累積値に指定できます。たとえば、値 6 を指定すると、値 4 および 2 について説明されている動作になります。
標準のデフォルト動作を提供します。
COBOL プログラムが HIGHLIGHT または LOWLIGHT 句に従ってテキストを表示すると、ランタイム システムは端末の terminfo エントリで指定された太字または淡色表示モードをそれぞれ使用します。太字または淡色表示モードが指定されていない場合は、HIGHLIGHT または LOWLIGHT 句には何の効果もありません。
COBOL プログラムが HIGHLIGHT 句に従ってテキストを表示すると、ランタイム システムは太字モードを使用します。ランタイム システムは、通常のテキストにはデフォルトのモードを使用します。端末の terminfo エントリで淡色表示モードを指定しても、何の効果もありません。LOWLIGHT 句にも効果はありません。
高輝度および低輝度の空白文字は、通常モードの空白文字と同じであるとみなされません。
上記の 1 および 2 と同様
COBOL バージョン 3.2 よりも古い製品のデフォルト動作との互換性を提供します。
COBOL プログラムが HIGHLIGHT 句に従ってテキストを表示する場合、その効果は、端末の terminfo エントリで淡色表示モードが指定されているかどうかによって異なります。淡色表示モードが指定されている場合、ランタイム システムは強調表示されたテキストにデフォルト モードを使用し、通常のテキストに淡色表示モードを使用します。淡色表示モードが指定されていない場合、ランタイム システムは強調表示されたテキストに太字モードを使用し、通常のテキストにデフォルト モードを使用します。LOWLIGHT 句には効果がないため、外観は通常のテキストと同じになります。
例
COBATTR=1 export COBATTR
Syntax
Windows:
set COBCCSIDDIR=base-dir
UNIX:
COBCCSIDDIR=base-dir
export COBCCSIDDIR
Parameters
base-dir is the base directory containing sub-directories for each translation table.
Specifies a run-time configuration file that tailors the run-time configurable options in some way.
Syntax
Windows:
SET COBCONFIG=pathname
UNIX:
COBCONFIG=pathname
export COBCONFIG
Parameters
Comments
If $COBCONFIG is not set then the file $COBDIR/etc/cobconfig is searched for instead.
Example
UNIX:
COBCONFIG=/home/mydir/cobconfig
export COBCONFIG
Windows:
SET COBCONFIG=/home/mydir/cobconfig
値
コンパイラおよび Animator がコピーファイルを検索するディレクトリを指定します。
構文
Windows:
SET COBCPY=pathname[:pathname]...
UNIX:
COBCPY=pathname[:pathname]...
export COBCPY
パラメーター
コンパイラおよび Animator でコピーファイルが検索される場合の検索先ディレクトリを指定します。pathname を複数指定する場合に、空の pathname は現在の作業ディレクトリを示します。
例
Windows:
SET COBCPY=/home/group/sharedcopy::mydir/mycpy
UNIX:
COBCPY=/home/group/sharedcopy::mydir/mycpy
export COBCPY
このように指定すると、コンパイラは最初に /home/group/sharedcopy でコピーファイルを検索します。次に現在のディレクトリを検索し、最後に ./mydir/mycpy で検索します。検索は、コピーファイルが見つかるか、存在しないことが認識されるまで続けられます。
Specifies the directory or directories that the run-time system is to search for data files. Provides you with the facility to map data files globally, thus enabling you to put working data files in a directory whose name is not known until run time.
Syntax
UNIX:
COBDATA=pathname[:pathname]...
export COBDATA
Windows:
COBDATA=pathname[:pathname]...
Comments
COBDATA affects the compiler and other utilities. During compilation, for example, program source is regarded as a data file by the compiler. If you intend to use any COBOL development system utilities, we recommend that the COBDATA value starts with a colon (:).
COBDATA is considered set if there is an environment variable of this name in your environment space, and its value is non-empty.
The full mapping order for files is:
For multiple directory paths specified either in the COBDATA environment variable or a dd_ environment variable, the system searches the first directory specified followed by a slash (/) as a prefix to the user name.
If the filename is not found, or is not readable, the search continues with the next directory until the final directory has been searched. If no file is found, the first directory is used if a file is to be created.
Any dd_ and COBDATA mappings are ignored for any filename that starts with a hyphen () or a slash (/). In addition, it is illegal to have a hyphen in an environment variable name.
When using this facility, you should not use a filename that starts with "COB... "(these are reserved for the COBOL system).
You can use the COBDATA environment variable for files open in any mode (including OUTPUT) and for fixed or variable length files. If you are using indexed files, both the data and index files must be in the same directory.
The COBDATA environment variable affects file deletes, using the rules given here, as well as file opens.
If you intend to use COBOL development system programs, we recommend that you first unset COBDATA, as many of these programs open data files and are thus affected by the value of COBDATA. If you have to set COBDATA, you should include the paths :$COBDIR/dynload/helptbox.lbr and :$COBDIR/dynload/check.lbr at the beginning of the COBDATA value. If you want to see the Animator Help pages, also include COBDIR/dynload/advanim.lbr.
Example
UNIX:
COBDATA=:demo:/home/data:progs
export COBDATA
Windows:
SET COBDATA=:demo:/home/data:progs
causes COBDATA to be set to instruct the run-time system to search for data files in the current directory, then in the directory ./demo, then in the directory /home/data and finally in ./progs.
必要な Micro Focus COBOL システムがインストールされているディレクトリを指定します。COBOL システム コンポーネントおよびユーティリティの多くは、この情報を必要とし、使用します。COBDIR 環境変数が設定されていない場合、COBOL システムは、その環境変数がデフォルトの COBOL システム ディレクトリに設定されているかのように動作します。このデフォルトのディレクトリは、UNIX システムの場合は /opt/microfocus/VisualCOBOL です。
Windows:
SET COBDIR=pathname
UNIX:
COBDIR=pathname
export COBDIR
パラメーター
説明
Micro Focus COBOL システムは通常、デフォルトの COBOL システム ディレクトリにインストールされるため、COBDIR を設定する必要はありません。COBDIR は、同じ COBOL システムの複数のバージョンを同時に使用できる場合などのように、ご使用の COBOL システムが別のディレクトリにインストールされている場合にのみ設定する必要があります。
例
Windows:
SET COBDIR=/home/products/cobse20
UNIX:
COBDIR=/home/products/cobse20
export COBDIR
このように指定すると、Cob ユーティリティは、ディレクトリ /home/products/cobse20 で Micro Focus COBOL システム ソフトウェアを検索します。
Animator で、アニメート対象プログラムの情報 (.idy) ファイルが検索される場合の検索先ディレクトリを指定します。ここで指定したディレクトリは、中間コード (.int) ファイルと同じディレクトに情報ファイルがない場合に使用されます。Animator は、セッション間の情報を情報ファイルに登録して更新できます。
構文
COBIDY=pathname export COBIDY
値
Just-In-Time デバッグを有効にします。
Just-In-Time デバッグの開始時に開く Eclipse ワークスペース。
どの Java 仮想マシン (Java Virtual Machine; JVM) をロードするかを指定します。
Windows:
SET COBJVM=platform_nnn
UNIX:
COBJVM=platform_nnn
export COBJVM
パラメーター
platform_nnn 詳細は次のとおりです。
説明
COBOL および Java の両方のコンポーネントを含む分散アプリケーションを開発する場合には、COBJVM を設定する必要が生じることがあります。
例
Windows:
SET COBJVM=ibm_122
UNIX:
COBJVM=ibm_122
export COBJVM
Specifies the maximum elapsed time, in tenths of a second, for the connected terminal to transmit any valid escape sequence to the run-time system.
When a terminal key is depressed, the terminal might send in response a single character or a group of characters to the run-time system. Typically, such a group of characters starts with an escape character and the group of characters is known as an escape sequence. A terminal might send an escape sequence for one depression of a function key. It might also send the same sequence of characters for a depression of the Escape key followed by the depression of one or more alphabetic or numeric data keys. The only difference apparent to the run-time system is the interval between the arrival of each character; the user cannot type as fast as the escape sequence is generated by the terminal.
If a terminal is connected over a network that sends the characters to the run-time system in discrete packets, then the network can alter the intervals between each character arriving at the run-time system. COBKEYTIMEOUT is available to help compensate for typical network delays so the run-time system identifies escape sequences correctly.
Syntax
Windows:
SET COBKEYTIMEOUT=n
UNIX:
COBKEYTIMEOUT=n
export COBKEYTIMEOUT
Parameters
n A number in the range 1 through 126 that represents the maximum elapsed time required for a terminal to transmit any valid escape sequence to the run-time system over the line or network connection. On encountering a lone Escape character, the run-time system waits n tenths of a second before assuming that the character does not introduce an escape sequence. The run-time system calculates an appropriate default value for n from the baud rate of the terminal.
例 1:
COBLPFORM 1:3:5:7:9:11:13:15:17:19:21:23
この例では、C01 は 1 に等しく、C02 は 3 に等しくなります。
例 2:
COBLPFORM :3::5: :9
この例では、C01 は 3 に等しく、C02 は 5 に等しく、C03 は 1 に等しく、C04 は 9 に等しくなります。チャネルごとに 1 つの行番号のみを指定できます。
上記の例 2 では、チャネル C05 ~ C12 は未定義です。print 文でチャネル C05 ~ C12 を指定すると、行は 1 行目に出力されます。また、上記の例では、C03 は値が空白で未定義であるため、1 に等しくなります。
WRITE BEFORE/AFTER PAGE 文の出力は常に 1 行目から開始されます。次の行に移動するたびに行番号が 1 つ増加します。現在の行と同じ、またはそれ以前の行への移動を要求すると次のページに移動し、要求に応じた行まで改行が生成されます。
This variable is used to specify the size of the main stack.
Syntax
Windows:
SET COBMAINSTACK=n
UNIX:
COBMAINSTACK=n
export COBMAINSTACK
Parameters
n - The size, in bytes, of the stack.
The main stack size defaults to three times the size of a threaded stack. The size of a threaded stack is either specified when the stack is created (using CBL_THREAD_CREATE), or it defaults to 160KB for a 32-bit application or 320KB for a 64-bit application.
You might need to set COBMAINSTACK in any of the following circumstances:
32 ビット モードでシステムが起動します。
64 ビット モードでシステムが起動します。
構文
COBOPT="[set environment-variable=value] [options] ... [cobextn: .ext [.ext] ... ]" export COBOPT
または
COBOPT=[pathname/]filename export COBOPT
行の先頭に、識別子 set または cobextn: のいずれかが指定されていない場合は、その行が options 行として扱われます。
説明
COBOPT には、オプションや、オプションを指定しているファイルへのパスを設定することができます。この環境変数に指定したオプション (または指定したパスにあるファイルに指定されたオプション) で、$COBDIR/etc/cobopt に定義されているシステムのデフォルトのオプションを補足したり、上書きしたりできます。オプションは、複数行で指定できます。すべての行は、「COBOL システム インターフェイス (Cob)」の章で説明されている、ファイル $COBDIR/etc/cobopt と同じ形式で指定する必要があります。
例
COBOPT="CANS85 set COBCPY=$COBDIR/srclib/:$HOME/mylib:" export COBOPT
このように設定すると、ANSI 85 規格の COBOL 構文が有効になり、指定されたパスのリストに COBCPY が設定されます。
COBOPT=temp/options
この設定では、cob オプションが、temp ディレクトリのファイル options に指定されていることを示します。
Specifies the directory or directories that the run-time system is to search for dynamically loadable .int and .gnt files, or callable shared objects.
Syntax
Windows:
SET COBPATH=pathname[:pathname]...
UNIX:
COBPATH=pathname[:pathname]...
export COBPATH
Parameters
pathname A list of search directories, each item separated by a semicolon (Windows) or colon (UNIX), that the run-time system is to search for a dynamically loadable program (.int, .gnt or callable shared object) file. When more than one pathname is specified, a null pathname represents the current working directory.
Example
Windows:
SET COBPATH=u:/home/mydir/srclib:otherlib
UNIX:
COBPATH=u:/home/mydir/srclib:otherlib
export COBPATH
標準入力ストリーム (stdin) を介して DISPLAY UPON PRINTER 文からの出力を受信する印刷スプーラーの名前を指定します。
構文
Windows:
SET COBPRINTER=command-line
UNIX:
COBPRINTER=command-line
export COBPRINTER
パラメーター
説明
ユーザーの COBOL プログラムで DISPLAY UPON PRINTER 文が実行されるたびに、新しく command-line が実行されます。実行された各コマンドでは、DISPLAY 文で参照されるデータが受信され、データの最後には、システムにファイルの終わりを示す条件が受信されます。
例
Windows:
SET COBPRINTER="myspooler -a $TMPDIR\spoolfile"
UNIX:
COBPRINTER="myspooler -a $TMPDIR/spoolfile"
export COBPRINTER
使用する UNIX Session Recorder の機能を指定します。
構文
COBSES={option[filename]}... export COBSES
option には次のうちの 1 つまたは複数を使用できます。
これらのフラグはすべて大文字と小文字が区別されます。また、-r フラグは、-f または -p とともに指定することはできません。
Syntax
Windows:
SET COBSW=[+/-}s...
UNIX:
COBSW=[+/-}s...
export COBSW
A list of the run-time switches to set or unset.
Example
Windows:
SET COBSW=+0+D
UNIX:
COBSW=+0+D
export COBSW
This enables run-time switch 0 and the ANSI COBOL debug switch.
COBTERMINFO=pathname[:pathname]... export COBTERMINFO
Parameters
pathname A list of search directories, each item separated by a colon, that identify a terminfo database containing terminal settings tailored for COBOL applications. A null pathname represents the current working directory.
Comments
The COBOL system takes the value of the standard UNIX environment variable TERM as the name of the terminal in use. It uses this to search for the appropriate terminal information in a terminfo database. The run-time system first searches the databases identified in COBTERMINFO and then, if the terminal information is not found it searches the database identified in the standard UNIX environment variable TERMINFO.
If COBTERMINFO is not set, the run-time system acts as if it had been set to $COBDIR/terminfo.
Micro Focus recommend that the first directory listed in COBTERMINFO is $COBDIR/terminfo so that the terminfo database supplied with this COBOL system is found first. For commonly used terminals this terminfo contains settings that are fuller and more appropriate to COBOL than those normally available in the UNIX system terminfo database. When debugging using Animator, COBTERMINFO must be set to $COBDIR/terminfo.
COBTERMINFO can also be used to identify a terminfo database that is portable between UNIX systems. Such a database conforms to the standard UNIX database format but does not include any supplementary, UNIX implementation-dependent terminal information. Many UNIX system terminfo databases are not portable because they include such supplementary information. The COBOL system ignores any such nonportable details.
Example
COBTERMINFO=$COBDIR/terminfo:/home/mydir/terms export COBTERMINFO
端末の画面、またはウィンドウの列幅を指定します。この変数を指定すると、端末に指定されているデフォルトの値は上書きされます。
構文
COLUMNS=n export COLUMNS
パラメーター
n 端末の画面、またはウィンドウの列幅を、カラムの位置で指定します。
説明
COLUMNS が設定されていないか null である場合は、指定された端末の terminfo エントリに定義されている cols の値がデフォルトで使用されます。また、X 端末を使用している場合には、現在の端末ウィンドウの幅が使用されます。端末タイプは、標準の UNIX 環境変数、TERM を使用して指定されます。
ウィンドウを使用しない環境では、端末の画面領域のサイズを変更できないため、COLUMNS の値を設定する必要はありません。ワイド モードに切り替えられる端末 (通常は 80 から 132 列) には、w で終わる端末名があります。このような端末では自動的にサポートされるため、COLUMNS を設定する必要はありません。
ウィンドウを使用した環境では、ウィンドウ サイズが変更できます。このような環境では、terminfo の cols の値よりも、ウィンドウの最初のサイズが優先して使用されます。ウィンドウ サイズを変更すると、新しいサイズが再読み込みされます。新しいサイズが最初のサイズよりも大きい場合は、超過した列が使用されないことがあります。
ウィンドウの幅を最大まで使用するには、プラットフォームによっては、COLUMNS を、ウィンドウの現在の列幅に設定する必要があります。
実際のウィンドウの幅と合わない COLUMNS の値を使用すると、予期しない結果になります。
例
COLUMNS=100 export COLUMNS
値
Syntax
Windows:
SET ENTRYNAMEMAP={filename|directory}; ...
UNIX:
ENTRYNAMEMAP={filename|directory}; ...
export ENTRYNAMEMAP
Parameters
filename An entry map file.
directory A directory containing an entry name map file. The name of the entry name map file must be mfentmap.dat.
Comments
You must set the entry_name_mapper tunable to enable entry point mapper support.
If ENTRYNAMEMAP is not set, the run-time system searches for an entry name map file called mfentmap.dat in each folder specified by the COBDIR environment variable.
If the run-time system finds more than one entry name map file and same entry point is defined differently in different files, precedence is given to the definition in the entry name map file that was found first. To change the order in which the run-time system finds entry name map files you need to change the order in which the files appear in the COBDIR or ENTRYNAMEMAP environment variable paths.
構文
Windows:
SET ES_ALLOC_EXPAND=value
UNIX:
ES_ALLOC_EXPAND=value
export ES_ALLOC_EXPAND
値
Y 割り当てパスの指定に使用される環境変数を展開します。
N パスで使用される変数を展開しません。
デフォルト
デフォルト値は、Y です。
Syntax
Windows: SET ES_ALLOC_OVERRIDE=rules-file
UNIX: ES_ALLOC_OVERRIDE=rules-file export ES_ALLOC_OVERRIDE
Values
rules-file The file path and name of the dataset rules file.
UNIX:
ES_CAS_API=value
export ES_CAS_API
Windows:
SET ES_CAS_API=value
ユーティリティはメッセージをログ記録しようとします。
UNIX:
ES_CERT_REG=pathname
export ES_CERT_REG
Windows:
SET ES_CERT_REG=pathname
pathname 登録が格納されているディレクトリのパス名。
デフォルトでは、ディレクトリは指定されていません。この場合は、cascertreg コマンドで指定する必要があります。
UNIX:
ES_CESN_NO_OS390=value
export CESN_NO_OS390
Windows:
SET CESN_NO_OS390=value
Specific invalid user/password messages will be produced.
ES_CONSOLE_LOG=port export ES_CONSOLE_LOG
次の各オプションを単独または組み合わせて指定できます。
UNIX:
ES_CSKL_NO_MSG_CONSOLE=value
export ES_CSKL_NO_MSG_CONSOLE
Windows:
ES_CSKL_NO_MSG_CONSOLE=value
Enables or disables database file handler support. This is required if your data files are stored in a datastore, or your enterprise server region stores some of its resources in a database; see Micro Focus Native Database File Handling and Enterprise Server Region Database Management for more information.
Syntax
UNIX:
ES_DB_FH=value
export ES_DB_FH
Windows:
SET ES_DB_FH=value
Values
Default
Database file handler support is disabled.
Specify the name of the database server to be used for region database operations.
There also needs to be a corresponding <server> entry for the database server within the configuration file specified by the MFDBFH_CONFIG environment variable. <dsn> entries for the region, cross-region and master databases must also be specified in the configuration file to enable use of region database operations.
Syntax
UNIX:
ES_DB_SERVER=server-instance
export ES_DB_SERVER
Windows:
SET ES_DB_SERVER=server-instance
Values
server-instance is the name of a valid database server instance. For example, set ES_DB_SERVER=MYSERVER.
Default
Not set.
Using the example above, you would be required to have something similar to that below in your database configuration file:
<?xml version="1.0" encoding="utf-8"?> <datastores usevault="false"> <server name="MYSERVER" type="sqlserver" access="odbc"> <dsn name="SS.MYMASTER" type="database" dbname="master"/> <dsn name="SS.CAS.ESDEMO" type="region.cas" region="ESDEMO" feature="all"/> <dsn name="SS.CAS.CROSSREGION" type="crossregion.cas"/> </server> </datastores>
If you use a hyphen, the values you specify are the start and the end of the port range, and the second port number must be greater than the first.
If you specify a comma, the values you specify are the start of the port range and the number of ports available from the start of the range.
UNIX:
ES_DDBG_PORT_RANGE=value
export ES_DDBG_PORT_RANGE
Windows:
ES_DDBG_PORT_RANGE=value
or
Examples
The following definition specifies that ports 8001 through 8040 are to be used:
ES_DDBG_PORT_RANGE=8001-8040
The following definition specifies the same ports but using a different format:
ES_DDBG_PORT_RANGE=8001,40
UNIX:
ES_DISABLE_DFLTUSR_SIGNON=value
export ES_DISABLE_DFLTUSR_SIGNON
Windows:
ES_DISABLE_DFLTUSR_SIGNON=value
UNIX:
ES_ESMAC_DISP_MAX_OVERRIDE=value
export ES_ESMAC_DISP_MAX_OVERRIDE
Windows:
ES_ESMAC_DISP_MAX_OVERRIDE=value
構文
Windows:
SET ES_HSF_CFG=cfg-options
UNIX:
ES_HSF_CFG=cfg-options
export ES_HSF_CFG
パラメーター
field_name=value;[field_name=value;]...次の値を使用します。
フィールド名 | 範囲 | デフォルト |
---|---|---|
CUSTOM | 0-5 | 0 |
CICSF | 0-20 | 5 |
TSQ | 0-20 | 5 |
TDQ | 0-20 | 5 |
次に例を示します。ES_HSF_CFG=CUSTOM=2;CICSF=10;TSQ=32 は、2 個のカスタム フィールド、10 個の CICS ファイル フィールド、5 個の TSQ フィールド、および 5 個の TDQ フィールドを生成します。
カスタム フィールドは、ES_WRITE_CUSTOM_HS F ライブラリ ルーチンを使用して書き込まれます。
Specifies the region database that is to process resource locking (step- and system-scoped ENQs) for an enterprise server within a cluster, where resources (such as spool queues and catalogs) are deployed to a database.
Syntax
UNIX:
ES_LOCKDB=region-db
export ES_LOCKDB
Windows:
SET ES_LOCKDB=region-db
Parameters
UNIX:
ES_MAX_CATALOG_LINES=number
export ES_MAX_CATALOG_LINES
Windows:
ES_MAX_CATALOG_LINES=number
値
Y 以前のデフォルトの動作を有効にします。JCL DD ステートメントで参照されている場合に、動的 PDS の物理ファイルがカタログ化および作成されます。
N JCL ユーティリティまたはユーザー プログラムを使用して作成されている場合にのみ、動的 PDS メンバーの物理ファイルが作成およびカタログ化されます。
デフォルト
デフォルト値は、N です。
UNIX:
ES_OLD_SEC_TSTD=value
export ES_OLD_SEC_TSTD
Windows:
SET ES_OLD_SEC_TSTD=value
UNIX:
ES_OTMA_TIMEOUT=seconds
export ES_OTMA_TIMEOUT
Windows:
SET ES_OTMA_TIMEOUT=seconds
構文
UNIX:
ES_RLS_FILE_SUPPORT=value
export ES_RLS_FILE_SUPPORT
Windows:
SET ES_RLS_FILE_SUPPORT=value
値
デフォルト
RLS ファイル サポートはオフです。
構文
UNIX:
ES_SEP_DORMANT_TIME=seconds
export ES_SEP_DORMANT_TIME
Windows:
ES_SEP_DORMANT_TIME=seconds
値
デフォルト
2 秒間のアイドル時間が経過すると、一時 SEP は終了します。
構文
UNIX:
ES_SERVER=name
export ES_SERVER
Windows:
ES_SERVER=name
値
デフォルト
ESDEMO/ESDEMO64
構文
UNIX:
ES_USR_DFLT_ESMAC=user
export ES_USR_DFLT_ESMAC
Windows:
SET ES_USR_DFLT_ESMAC=user
値
デフォルト
mfuser
構文
UNIX:
ES_ESM_DISABLE_DFLTUSER_ESMAC=value
export ES_ESM_DISABLE_DFLTUSER_ESMAC
Windows:
ES_ESM_DISABLE_DFLTUSER_ESMAC=value
値
デフォルト
デフォルトの ESMAC ユーザーは無効になりません。
構文
UNIX:
ES_XA_LOG_SUPPRESS=value
export ES_XA_LOG_SUPPRESS
Windows:
ES_XA_LOG_SUPPRESS=value
値
デフォルト
デフォルトでは、値は指定されておらず、XA ロギングは抑制されません。
構文
UNIX: ES_XA_RECONNECT=Y,<seconds>,<retry_count> export ES_XA_RECONNECT
Windows: SET ES_XA_RECONNECT=Y,<seconds>,<retry_count>
次に例を示します。
ES_XA_RECONNECT=Y,120,4最初の値が Y に設定されている場合、これは再接続プロセスが必要であることを示します。2 番目の値は、2 フェーズ コミットに失敗した後に XA 回復トランザクションがトリガーされるまでの遅延時間 (秒数) です。この遅延は、同期ポイントのフェーズ 2 で RC 04 が返された場合の XA 回復トランザクションの再スケジュール間隔にも適用されます。3 番目の値は、XA 回復トランザクションによって実行された XA コミットまたはロールバックで xa-retry (04) 戻りコードが返された場合に回復を再試行する回数です。この場合、次のメッセージがコンソールに送られます。
CASXO0054W XA recovery error RC=4 on commit in-doubt transaction RM: RM01 RC: 00004 XID: MF_CAS DEMOMYREG 000000***********000010000000** 0000
再試行の最大回数に達すると、次のメッセージがコンソールに送られます。
CASXO0055S XA MAX recovery attempts, manually commit in-doubt transaction RM: RM01 RC: 00004 XID: MF_CAS DEMOMYREG 000000***********000010000000** 0000
デフォルト
この変数が設定されていない場合、デフォルトでは XA 再接続機能は有効になりません。
構文
Windows:
SET EXTFH=filename.cfg
UNIX:
EXTFH=filename.cfg
export EXTFH
パラメーター
filename.cfg 構成ファイルの名前。
例
Windows:
SET EXTFH=/home/mydir/myconfig.cfg
UNIX:
EXTFH=/home/mydir/myconfig.cfg
export EXTFH
構文
Windows:
SET FHREDIR=filename.cfg
UNIX:
FHREDIR=filename.cfg
export FHREDIR
パラメーター
filename.cfg 構成ファイルの名前。
例
Windows:
SET FHREDIR=/home/mydir/myconfig.cfg
UNIX:
FHREDIR=/home/mydir/myconfig.cfg
export FHREDIR
Fileshare Server に使用させる構成ファイルを指定します。
構文
Windows:
SET FS=filename.cfg
UNIX:
FS=filename.cfg
export FS
パラメーター
filename.cfg 構成ファイルの名前。
例
Windows:
SET FS=myconfig.cfg
UNIX:
FS=myconfig.cfg
export FS
構文
Windows:
SET FSCOMMS="\$local"
UNIX:
FSCOMMS="\$local"
export FSCOMMS
パラメーター
"\$local" Fileshare システムをシングル ユーザー モードで実行します。
構文
Windows:
SET HCOBND=pathname
Windows:
HCOBND=pathname
export HCOBND
パラメーター
pathname バインド ファイルを格納するために DB2 ECM で使用するディレクトリ。
例
SET HCOBND=d:\mydir\binds
SET HCOBND=/mydir/binds export HCOBND
説明
DB2 ECM は、この環境変数が設定解除されるか、または別のディレクトリが再設定されるまでは指定されたディレクトリを使用します。DB2 コンパイラの指令オプション BIND はこの環境変数をオーバーライドします。
構文
LANG=language[_territory[.codepage]] export LANG
例
LANG=fr_FR export LANG
UNIX システム、cob コマンド、およびランタイム システムで共有ライブラリと呼び出し可能な共有オブジェクトが検索される場合の検索先ディレクトリを指定します。デフォルト以外のディレクトリに製品がインストールされている場合は、すべてのプラットフォーム (LIBPATH を使用する AIX を除く) で $COBDIR/lib を含めるようにこの変数を設定する必要があります。また、アプリケーションによって使用される呼び出し可能な共有オブジェクトを含むディレクトリもこのパスに含まれている必要があります。デフォルトのディレクトリ (/opt/microfocus/VisualCOBOL) に製品がインストールされている場合は、この変数を設定する必要はありません。
構文
LD_LIBRARY_PATH=pathname[:pathname]... export LD_LIBRARY_PATH
pathname 1 つのパス、または コロン (:) で区切られた複数のパスのリスト。
説明
指定するディレクトリの 1 つとして、$COBDIR/lib も指定してください。COBDIR 環境変数に関しては、これ以前で説明しています。
この環境変数は、システムの環境変数です。詳細については、ご使用の UNIX オペレーティング システムのマニュアルを参照してください。
例
LD_LIBRARY_PATH=$COBDIR/lib:/home/mydir/myapp:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
Syntax
LIBPATH=pathname[:pathname]... export LIBPATH
Parameters
pathname A directory to search for shared libraries.
Example
LIBPATH=$COBDIR/lib:/lib:/usr/lib
構文
LINES=n export LINES
パラメーター
n 端末の画面またはウィンドウの深さを行数で指定します。
説明
LINES が設定されていないか null である場合は、指定された端末の terminfo エントリに定義されている lines 値がデフォルトで使用されます。また、X ウィンドウを使用している場合には、現在の端末ウィンドウの深さが使用されます。端末タイプは、標準の UNIX 環境変数 TERM で指定されます。
ウィンドウを使用しない環境では、端末の画面領域のサイズを変更できないため、LINES の値を設定する必要はありません。
ウィンドウを使用する環境では、ウィンドウ サイズを変更できます。この場合、terminfo の lines 値よりもウィンドウの初期サイズが優先して使用されます。ウィンドウ サイズを変更すると、新しいサイズが再読み込みされます。新しいサイズが初期サイズよりも大きい場合は、超過した行が使用されないことがあります。
ウィンドウの深さを最大まで使用するには、プラットフォームによっては、LINES をウィンドウの現在の深さに設定する必要がある場合があります。
実際のウィンドウの深さと合わない LINES の値を使用すると、予期しない結果になります。
例
LINES=50 export LINES
構文
Windows:
SET MAINFRAME_FLOATING_POINT=fpstatus
UNIX:
MAINFRAME_FLOATING_POINT=fpstatus
export MAINFRAME_FLOATING_POINT
パラメーター
fpstatus 浮動小数点データ項目に使用する形式。次のどちらかです。
MAINFRAME_FLOATING_POINT を true 以外に設定した場合は、false に設定した場合と同じことになります。
この環境変数の設定は、NATIVE-FLOATING-POINT 指令によってオーバーライドできます。
Specifies the name of the MFCATMNT user exit program if not compiled to the default name of MFCATMNTUE.
Syntax
UNIX:
MFCATMNTUE=program-name
export MFCATMNTUE
Windows:
SET MFCATMNTUE=program-name
Values
program-name represents the name of the MFCATMNT user exit program if not compiled to the default name of MFCATMNTUE.
Default
MFCATMNTUE=MFCATMNTUE
スプール ハウスキーピングの実行時に、ジョブに関連付けられた MFELX* ファイルも削除するかどうかを決定します。
構文
Windows:
SET MF_SPOOL_HK_LEX_SCAN=Y|N
UNIX:
MF_SPOOL_HK_LEX_SCAN=Y|N
export MF_SPOOL_HK_LEX_SCAN
値
Y ファイルは削除されます。
N ファイルは削除されません。
デフォルト
デフォルトは Y です。
構文
Windows: SET MF_SPOOL_HK_OUTPRTC=value
UNIX: MF_SPOOL_HK_OUTPRT=value export MF_SPOOL_HK_OUTPRTC
値
Y 完了キューのファイルは削除されます。
N完了キューのファイルは削除されません。
デフォルト
デフォルトは Y です。
構文
Windows:
MF_SPOOL_HK_TESTDATE=YYYYMMDD
UNIX:
MF_SPOOL_HK_TESTDATEC=YYYYMMDD
export MF_SPOOL_HK_TESTDATEC
値
YYYYMMDD 標準の日付をオーバーライドする日付。
デフォルト
この変数を設定しなかった場合、スプール ハウスキーピングの標準の日付が使用されます。
構文
Windows:
SET MF_SPOOL_HK_WRITE_PROFILES=Y|N
UNIX:
MF_SPOOL_HK_WRITE_PROFILES=Y|N
export MF_SPOOL_HK_WRITE_PROFILES
値
Y プロファイル ファイルは作成されます。
N プロファイル ファイルは作成されません。
デフォルト
デフォルトは Y です。
構文
Windows:
SET MFCSCFG=filename
UNIX:
MFCSCFG=filename
export MFCSCFG
パラメーター
filename 構成ファイルの名前。
例
Windows:
SET MFCSCFG=/home/mydir/mfclisrv.cfg
UNIX:
MFCSCFG=/home/mydir/mfclisrv.cfg
export MFCSCFG
説明
MFCSCFG の値は、コマンド ラインで値が定義されている場合はその値によってオーバーライドされます。どちらの方法でもファイル名が指定されていない場合は、デフォルト名の構成ファイル mfclisrv.cfg が現在のディレクトリ内で検索されます。それでもファイルが見つからない場合は、各構成パラメーターのデフォルト値が使用されます。
Specifies the location and the name of the configuration file that defines the database server instances and associated databases.
Syntax
UNIX:
MFDBFH_CONFIG=value
export MFDBFH_CONFIG
Windows:
SET MFDBFH_CONFIG=value
Values
value represents the full path and filename of your database configuration file.
Default
Not set.
Specifies the type of record locking that it is to be used when the database file handler is in effect.
Syntax
UNIX:
MFDBFH_RECORD_LOCKING=table|database
export MFDBFH_RECORD_LOCKING
Windows:
SET MFDBFH_RECORD_LOCKING=table|database
Parameters
Default
Specifies the location of the scripts and stored procedures required when the database file handler is in effect.
Syntax
UNIX:
MFDBFH_SCRIPT_DIR=value
export MFDBFH_SCRIPT_DIR
Windows:
SET MFDBFH_SCRIPT_DIR=value
Values
value represents a path to the directory containing the required resources.
Default
value defaults to the \etc\mfdbfh\scripts sub directory of your product installation directory.
For more information on secrets vaults, see Vault Facility.
Syntax
UNIX:
MFDBFH_VAULT=value
export MFDBFH_VAULT
Windows:
SET MFDBFH_VAULT=value
Values
value represents the name of a vault.
Default
Not set.
For EBCDIC datasets, translates from EBCDIC to ASCII using a PUT, and ASCII to EBCDIC using a GET.
Syntax
MFFTP_ASCII_CMD_XLATE={Y|N}
Comments
When set to Y, must be used with TYPE A or ASCII sub command.
Specifies a configuration file for Language Environment (LE) run-time options.
Syntax
Windows:
SET MFLECONFIG=filename
UNIX:
MFLECONFIG=filename
export MFLECONFIG
Parameters
filename The file containing the LE run-time options you want to use.
構文
Windows:
SET MFLOGDIR=dirname
UNIX:
MFLOGDIR=dirname
export MFLOGDIR
パラメーター
dirname ログ ファイルのディレクトリの名前。
例
Windows:
SET MFLOGDIR=/home/mydir/logs
UNIX:
MFLOGDIR=/home/mydir/logs
export MFLOGDIR
ゼロのレコード長でカタログ化されている行順編成ファイルの読み取り/書き込み時の REXX EXECIO コマンドに対するレコード長を指定します。
When the variable is not set (which is the default), the registration process is not skipped.
Syntax
SET MFRU_NOINHERIT=Y|TRUE
The default is that the variable is not set.
Specifies the directories to be searched by all UNIX programs, including the run-time 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
Windows:
SET SORTCOMPRESS=n
UNIX:
SORTCOMPRESS=n
export SORTCOMPRESS
Parameters
n - An integer that indicates if compression is enabled or not. 0 (zero, the default) indicates not enabled; any positive integer indicates enabled. When enabled, it allows for run-length encoding of sort records, resulting in much better performance when records contain multiple repeated characters.
Comments
This variable is recommended if the sort records contain many single repeated characters, for example, multiple spaces, as it can be very effective in improving memory usage and therefore sort performance.
Example
Windows:
SET SORTCOMPRESS=5
UNIX:
SORTCOMPRESS=5
export SORTCOMPRESS
構文
Windows:
SET SORTSCHEME=1
UNIX:
SORTSCHEME=1
export SORTSCHEME
構文
Windows:
SET SORTSPACE=n[K|k|M|m|G|g]
UNIX:
SORTSPACE=n[K|k|M|m|G|g]
export SORTSPACE
パラメーター
n[K|k|M|m|G|g SORT 操作用に内部ワークスペースに割り当てられるメモリの量。K または k はキロバイト、M または m はメガバイト、G または g はギガバイトを表します。文字なしはバイトを意味します。デフォルトは 1 メガバイトです。
説明
SORTSPACE に大きい値を指定すると通常、ソート速度が向上します。ただし、コンピューターの主メモリ容量を超える値を指定すると、オペレーティング システムが使用可能なメモリを検索しなければならなくなり、パフォーマンスが低下します。
例
Windows:
SET SORTSPACE=1024K
UNIX:
SORTSPACE=1024K
export SORTSPACE
構文
Windows:
SET SORTTEMPSPACE=n[K|k|M|m|G|g]
UNIX:
SORTTEMPSPACE=n[K|k|M|m|G|g]
export SORTTEMPSPACE
パラメーター
n[K|k|M|m|G|g] SORT 操作用の一時ワークスペースに割り当てられるメモリの量。K または k はキロバイト、M または m はメガバイト、G または g はギガバイトを表します。文字なしはバイトを意味します。割り当てることができるメモリの最小量は 32 メガバイトです。
説明
SORTTEMPSPACE によって、SORT で使用するメモリの割り当てを調整でき、一般にメモリ断片化の影響を受けるシステムのパフォーマンスを向上できます。
例
Windows:
SET SORTTEMPSPACE=250MB
UNIX:
SORTTEMPSPACE=250MB
export SORTTEMPSPACE
構文
Windows:
SET SORTTYPE=2
UNIX:
SORTTYPE=2
export SORTTYPE
構文
TERM=name export TERM
パラメーター
name terminfo データベース内の端末の名前。
例
TERM=at386 export TERM
Specifies the directory to be searched by all UNIX programs, including the run-time 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 run-time 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 run-time system needs to page data to disk when creating heaps or sorting.
The CIPHERS attribute in these CICS resources (which is for USAGE(CLIENT)) can be specified in one of the following ways:
UNIX: USSCONFIG=/absolute/path/to/cipher/suite/specification/file(s) export USSCONFIG
Windows: SET USSCONFIG=/absolute/path/to/cipher/suite/specification/file(s)
Syntax:
SET XFHLOG=DEFAULT
Parameters:
DEFAULT - generates the log file in the current directory.
Comments:
If the XFHLOG variable is not set, the log file is created in C:\ProgramData\Micro Focus\File Handler\[version-number].
where [version-number] represents the version of your Micro Focus product.
The effect of this variable can be overridden by the LOGFILENAME configuration option.