Displaying the Java information in the interactive report

When the Java™ analysis has completed, the normal Interactive Reanalysis Report display is presented, as shown in Figure 1.

Figure 1. Sample Java Interactive Reanalysis Report display
  File  View  Services  Help
───────────────────────────────────────────────────────────────────────────────
Interactive Reanalysis Report                                  Line 1 Col 1 80
Command ===> ________________________________________________ Scroll ===> CSR 
JOBNAME: BPXBATC3 SYSTEM ABEND: 0CB FAE3 2010/03/16 19:25:50 User Title: Java Fault Summary: Module /u/rturner/kenichiExample/j2c2cob/libMyDllLib.so, program MYCOB1, offset X'3CE': Abend S0CB (Decimal-Divide Exception). Select one of the following options to access further fault information: 1. Synopsis 2. Event Summary 3. Java Information 4. Storage Areas 5. Messages 6. Language Environment Heap Analysis 7. Abend Job Information 8. Z Abend Investigator Options {Z Abend Investigator maximum storage allocated: 9.12 megabytes.} *** Bottom of data.

When selecting the Event Summary option from the Interactive Reanalysis Report display, both Java and non-Java events are included. An example is shown in Figure 2.

Figure 2. Sample Java Event Summary display
  File  View  Services  Help
───────────────────────────────────────────────────────────────────────────────
Event Summary                                                      Top of data
Command ===>                                                  Scroll ===> CSR 
Full Application only - JOBNAME: BPXBATC3  SYSTEM ABEND: 0CB  FAE3   2010/03/16

{The following events are presented in chronological order.}

Event           Fail  Module   Program  EP
#  Type         Point Name     Name     Name     Event Location (*)     Loaded
 1 Call               BPXINLPA n/a      n/a      M+49626                LPA
 2 Call               n/a      n/a      n/a      n/a                    Not de
 3 Call               CEEBINIT n/a      CEEOPCMM E+8F8                  LPA
 4 >>> XPLink         CEEPLPKA n/a      n/a      M+1BBB62               LPA
 5 Call               java     JavaMain JavaMain P+34CC E+19EC          /apc/j
 6 Java               n/a      n/a      Java2C2CobolExample.main
                                                 L#10                   Not de
 7 Call               libj9prt24.so
                               j9sig_protect
                                        j9sig_protect
                                                 P+12DA E+5B2           /apc/j
 8 Call               libj9vm24.so
                               gpCheckCallin
                                        signalProtectAndRunGlue
                                                 P+29FC E+14            /apc/j
 9 Call               libj9vm24.so
                               gpCheckCallin
                                        gpProtectedRunCallInMethod
                                                 P+2C1A E+2A            /apc/j
10 Call               n/a      n/a      RUNCALLINMETHOD
                                                 n/a                    Not de
11 <<< XPLink         CEEPLPKA n/a      CEEVRONU E+1026                 LPA
12 Call               libMyDllLib.so
                               *Java_Ja Java_Java2C2CobolExample_callCobol
                                                 P+3F8 E+90             /u/rtu
13 Call               libMyDllLib.so
                               *Java_Ja doSomething1
                                                 P+340 E+90             /u/rtu
14 Call               libMyDllLib.so
                               *Java_Ja doSomething2

                                                 P+288 E+90             /u/rtu
15 Call               libMyDllLib.so
                               *Java_Ja doSomething3
                                                 P+142 E+92             /u/rtu
16 Abend S0CB   ***** libMyDllLib.so
                               MYCOB1   MYCOB1   P+3CE E+3CE            /u/rtu


NOTE: Program names prefixed '*' are pseudo CSECT names created to help
      determine in which compile unit an entry point belongs.

(*) One or more of the following abbreviations might appear in the "Event
    Location" column:

    F#n  Source file number (refer to detailed event information for file
         identification)
    L#n  Source file line number
    S#n  Listing file statement number (refer to detailed event information
         for file identification)
    M+x  Offset from start of load module
    P+x  Offset from start of program
    E+x  Offset from start of entry point

Selecting the Java event # 6 from the above example, results in the Java event details display, as the example shown in Figure 3.

Figure 3. Sample Java Event Details display
  File  View  Services  Help
───────────────────────────────────────────────────────────────────────────────
Event Summary                                                      Top of data
Command ===>                                                  Scroll ===> CSR 

Previous Event Details


This event occurred in Class Java2C2CobolExample Method main.

Java source from /u/rturner/kenichiExample/j2c2cob/Java2C2CobolExample.java:
  Source
  Line #
      -5   }
      -4
      -3   public static void main(String args[]) {
      -2     System.out.println("Hello World from Java program!");
      -1     Java2C2CobolExample e = new Java2C2CobolExample();
  000010     e.callCobol();
      +1   }
      +2 }
      +3
      +4


The class static variable information is not available.
The object instance variable information is not available.


Next Event Details

*** Bottom of data.

Information specific to Java can be found by selecting the "Java Information" option from the Interactive Reanalysis Report display.

Selecting the Java Information point-and-shoot field from the above results in the presentation of the Java Information display, of which an example is shown in Figure 4.
Figure 4. Sample Java Information display (Part 1 of 2)
  File  View  Services  Help
───────────────────────────────────────────────────────────────────────────────
Java Information                                               Line 1 Col 1 80
Command ===> ________________________________________________ Scroll ===> CSR 
JOBNAME: BPXBATC2 SYSTEM ABEND: 0CB FAE2 2009/10/02 06:53:54 Java Version. . . . . . . . : JRE 1.8.0 z/OS s390-31 (build 8.0.5.36 - pmz3180sr5fp36-20190510_01(SR5 FP36)) Java environment variables _ envvar HCL_JAVA_COMMAND_LINE=java Java2C2CobolExample LIBPATH=/apc/java800-UK35911/usr/lpp/java/J8.0/lib/s390/j9vm:/apc/java800-UK 1/usr/lpp/java/J8.0/../lib/s390:/apc/java800-UK35911/usr/lpp/java/J8.0/lib/s 31-UK18621/usr/lpp/java/J8.0/bin:/apc/java800-UK18621/usr/lpp/java/J8.0/bin/ /j9vm:/apc/java800-UK35911/usr/lpp/java/J8.0/lib/s390 _BPX_SHAREAS=NO JAVA_HOME=/apc/java800-UK18621/usr/lpp/java/J8.0 HOME=/u/rturner LOGNAME=RTURNER SHELL=/bin/sh _HFZZZDBG_ZFS=1 _CEE_RUNOPTS=POS(ON),TERMTHDACT(UAIMM),TRAP(ON,NOSPIE) _CREATE_LAYOUT=Y JAVA_DUMP_OPTS=ONANYSIGNAL(ALL) TZ=UTC0 CLASSPATH=.:/u/rturner/kenichiExample/j2c2cob _BPXK_MDUMP=./RTURNER.JAVA.MDUMP01 _EDC_PTHREAD_YIELD=-2 STEPLIB=RTURNER.A0.LOAD PATH=/apc/java800-UK18621/usr/lpp/java/J8.0/bin/:.:/apc/java800-UK35911/usr/ _=/apc/java800-UK35911/usr/lpp/java/J8.0/bin/java
Figure 5. Sample Java Information display (Part 2 of 2)
Java VM init args

_ args                                                                         

  arg=-Xjcl:jclscar_24
  arg=-Dcom.ibm.oti.vm.bootstrap.library.path=/apc/java800-UK35911/usr/lpp/jav
  arg=-Dsun.boot.library.path=/apc/java800-UK35911/usr/lpp/java/J8.0/lib/s390
  arg=-Djava.library.path=/apc/java800-UK35911/usr/lpp/java/J8.0/lib/s390:/apc
  c/java800-UK35911/usr/lpp/java/J8.0/lib/s390:/apc/java800-UK35911/usr/lpp/ja
  a/J8.0/lib/s390::.:/u/rturner/kenichiExample/j2c2cob::/apc/java800-UK18621/u
  va/J8.0/bin/j9vm:/apc/java800-UK35911/usr/lpp/java/J8.0/lib/s390/j9vm:/apc/j
  arg=-Djava.home=/apc/java800-UK35911/usr/lpp/java/J8.0
  arg=-Djava.ext.dirs=/apc/java800-UK35911/usr/lpp/java/J8.0/lib/ext
  arg=-Duser.dir=/u/rturner
  arg=_j2se_j9=71168
  arg=-Xdump
  arg=-Djava.class.path=.:/u/rturner/kenichiExample/j2c2cob
  arg=-Dsun.java.command=Java2C2CobolExample
  arg=-Dsun.java.launcher=SUN_STANDARD
  arg=_port_library

Java threads with traceback information

Call trace for thread: main

Method                        Location                   
Java2C2CobolExample.callCobol Native Method
Java2C2CobolExample.main      Java2C2CobolExample.java:10

Call trace for thread: Signal Dispatcher

Method                                      Location                
com.ibm.misc.SignalDispatcher.waitForSignal Native Method
com.ibm.misc.SignalDispatcher.run           SignalDispatcher.java:66