C による Fault Analyzer の使用の検証

このセクションは、ご使用のサイトに C がインストール済みである場合のみ適用できます。

Fault Analyzer を C で検証するには、データ・セット IDIVPC のサンプル・ジョブ IDI.SIDISAM1 を編集し、実行依頼します。詳細については、サンプル・ジョブ内の説明を参照してください。

ジョブは、IDI.SIDISAM1(IDISRC1) で C プログラムをコンパイルして実行します。このプログラムは異常終了し、ジョブ・ステップを戻りコード 3000 で終了します。

書き込まれた Fault Analyzer レポートの概要セクションには、以下が含まれます。

Fault Analyzer の日本語フィーチャーでは、Language(JPN) オプションが有効である場合、 これは日本語になっているはずです。

A system abend 0C9 occurred in module GO program IDISRC1 at offset X'47A'.

A program-interruption code 0009 (Fixed-Point-Divide Exception) is associated
with this abend and indicates that:

  The divisor was zero in a signed binary division.

The cause of the failure was program IDISRC1 in module GO.  The C source code
that immediately preceded the failure was:

  Source
  File # Line #
  ------ ------
  000000 000097     d = (a + b) / (c - 42);      /* abend */

  where source file #:

  000000 = system-id://'IDI.SIDISAM1(IDISRC1)'
この IVP の実行により作成される完全なサンプル・レポートが、IDI.SIDIDOC1 データ・セット内のメンバー IDISRP06 として用意されています。