Sample 2 (IDISJAV2): Enterprise COBOL invoking Java in batch

The JCL in sample IDI.SIDISAM1(IDISJAV2) demonstrates how to use Fault Analyzer when Enterprise COBOL invokes Java in batch. It includes Java calling an Enterprise COBOL DLL that is located in a PDSE data set member.

These are the sample results expected in the Fault Analyzer report for the SNAP dump call:
  • The event summary includes only Java events with class and method information.
  • The individual Java events include source code but no Java variable information, because the Java virtual machine (JVM) does not provide a mechanism to obtain variable information.
  • The Java information section includes information such as the Java virtual machine (JVM) version, Java environment variables, and JVM initialization arguments (initArgs).
These are the sample results expected in the Fault Analyzer report for the COBOL abend:
  • The synopsis section displays COBOL source code information with associated variable declarations and values.
  • The event list includes COBOL and Java events with class names, method names, and line numbers.
  • The COBOL events use DWARF source information due to the TEST(SOURCE) compiler option.