Verifying the use of Z Abend Investigator with C

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

To verify Z Abend Investigator with C, edit and submit the sample job HFZVPC in data set HFZ.SHFZSAM1. Refer to the instructions in the sample job for more information.

The job compiles and executes a C program in HFZ.SHFZSAM1(HFZSRC1), which abends and terminates the job step with a return code of 3000.

The synopsis section of the Z Abend Investigator report that is written to should contain the following:

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

A system abend 0C9 occurred in module GO program HFZSRC1 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 HFZSRC1 in module GO.  The C source code
that immediately preceded the failure was:

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

  where source file #:

  000000 = system-id://'HFZ.SHFZSAM1(HFZSRC1)'
A complete sample report from running this IVP is provided as member HFZSRP06 in the HFZ.SHFZDOC1 data set.