Running the Analyzer in online mode
The primary reporting facility in HCL Z Asset Optimizer is the Analyzer. You can use the Analyzer in online mode to view reports, run queries, and drill down to related reports.
About this task
Some Analyzer reports may require extensive searches and sorts. For performance reasons, increase the sizes of the tablespaces belonging to the work file database and, also consider using different definitions for the Bufferpool (instead of the default BP0 or BP32K).
- The Db2® subsystem must first be active before
starting up the Analyzer. After the Analyzer starts, it needs to access the Db2 Catalogs
to obtain the list of repositories. If the Db2®
subsystem is not active, the error message below appears in the Analyzer job log.
13:15:09(0) COULD NOT QUERY SYSIBM.SYSTABLES FOR REPOSITORY - SQLAllocHandle for connection handle failed - rc -1 {DB2 FOR OS/390}{ODBC DRIVER} SQLSTATE=58004 ERRLOC=2:56:9 CAF "CONNECT" failed using DB2 system:DSN1 RC=08 and REASON=00f30012 - The Db2® subsystem can be stopped while the
Analyzer is still active, but it will remain in a wait state. If a user logs in and
tries to access a repository, the error message below will appear on the Analyzer
report. When the Db2® subsystem is next started,
users can login again and will automatically re-establish connection to Db2®.
SQLAllocHandle for connection handle failed - rc -1 {DB2 FOR OS/390}{ODBC DRIVER} SQLSTATE=58004 ERRLOC=2:56:9 CAF "CONNECT" failed using DB2 system:DSN1 RC=08 and REASON=00f30012
//HZASANLO EXEC HZAJANLO,TPARAM=HZASANP1To run the Analyzer in online mode as a Started Task, copy the HZAJANLO from the JCLLIB to a system PROCLIB data set. Here is a sample for running the started task in a Db2® subsystem.
When the Analyzer is run with online mode, configuration options must be defined in the TPARAM DD, including the communication port, security mode, and inactivity timeout.