Real-time SNAP analysis

There is basically no difference between the Fault Analyzer real-time abend analysis process and the real-time SNAP analysis process, except for the way in which Fault Analyzer is invoked.

The program SNAP interface permits an application program to invoke Fault Analyzer by including the appropriate calls where desired. This way, the application programmer can obtain an analysis of the current environment in situations where the application might not abend. The call to Fault Analyzer is non-disruptive to the application program, which is able to continue execution following the analysis.

An illustration of the real-time SNAP analysis process is provided in Real-time SNAP analysis.
Figure 1. Real-time SNAP analysis

Diagram faoug005 illustrates the SNAP process: A user application issues an IDISNAP call, which invokes the IDISNAP invocation interface. The IDISNAP interface subsequently invokes the main analysis module, which writes a real-time analysis report to the JES spool, issues messages to syslog and creates a fault entry in a history file.