Verifying the use of Fault Analyzer with C

This section is applicable only if you have C installed at your site.

To verify Fault Analyzer with C, edit and submit the sample job IDIVPC in data set IDI.SIDISAM1. Refer to the instructions in the sample job for more information.

The job compiles and executes a C program in IDI.SIDISAM1(IDISRC1), which abends and terminates the job step with a return code of 3000.

The synopsis section of the Fault Analyzer report that is written to should contain the following:

For the Japanese feature of Fault Analyzer, this section should be in Japanese if the Language(JPN) option is in effect.

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)'
A complete sample report from running this IVP is provided as member IDISRP06 in the IDI.SIDIDOC1 data set.