Running an analysis script

To run your analyzers using the script you just need to pass the script name as a runtime argument. In the same way as in Running an analyzer we will look at each runtime environment in turn.

How to run your analysis script in ISA

To run your script in ISA:

This output will be similar to that in Listing 1.

How to run your analysis script in Eclipse

To run your script in Eclipse first follow the instructions detailed in How to run your analyzer in Eclipse. When you've created the runtime configuration to run your analyzer:

As before the resultant output is sent to the Eclipse Console view. An example of this can be seen in Listing 1.



Listing 1. Example of output from running the script in Eclipse

DumpAnalyzer V:1.0.2.20070914161154 starting analysis of V:\mydumps\my.dmp.zip

================================ Error Summary =================================

No errors


=============================== Analysis results ===============================

DumpAnalyzer V:1.0.2.20070914161154 : Start analysis of V:\mydumps\my.dmp.zip
DWAnalyze detected a multiprocessor dump

Image created on AIX


How to run your script on the command line

To run your script on the command line you need to add

 
-scriptDir:fully_qualified_path_to_directory_containing_script script.sml


to the end of the command you ran in How to run your analysis script from the command line. This will look for the script script.sml in the directory you have specified. The output will be similar to that in Running an analyzer.

© Copyright IBM Corp. 2007, 2008 All Rights Reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.