Sample 5 (IDISJAV5): C++ program invoking Java in batch

The JCL in sample IDI.SIDISAM1(IDISJAV5) demonstrates how to use Fault Analyzer when using a 31-bit or 64-bit C++ program to invoke Java in batch. It includes Java calling a C++ DLL located in a PDSE data set member.

For both the 31-bit and the 64-bit Snap.dump(), the Fault Analyzer report displays only Java information. Both include source code but no Java variable information, because the Java virtual machine (JVM) does not provide a mechanism to obtain variable information.

These are the sample results expected in the Fault Analyzer report for both the 31-bit and 64-bit C++ abend reports:
  • The synopsis section includes the line of C++ source code where the abend occurred.
  • The event summary includes both Java and C++ calls in a single view.
  • In the C++ events, compiler listings are used for source code information, due to the NODEBUG compiler option.
  • In the Java events, source code information is displayed along with stack frame reference information.