The ASNQANALYZE
command is used to gather information about the state of a Q replication or Event Publishing environment. The command produces a formatted HTML report about Q Capture or Q Apply control tables, the DB2 catalog, diagnostic log files for the replication programs, and WebSphere MQ Queue Managers. It needs to connect to the MQ port for the Queue Manager associated with the database, so the Queue Manager must be running and the Listeners started.
ASNQANALYZE GATHER DATABASE=<Database>
[INSTANCE=<DB2 Instance -Workstation only.>(DB2)]
[SUBSYSTEM=<DB2 Subsystem name -z/OS only.>(DSN1)]
[USERID=<User ID>]
[PASSFILE=<password file>]
[SCHEMA=<Capture/Apply Schema>(ASN)]
[CAPLOGDIR=<Directory of Capture Log>]
[APPLOGDIR=<Directory of Apply Log>]
[PORT=<Queue Manager Listener Port>(1414)]
[CHANNEL=<Server Connection Channel>(SYSTEM.DEF.SVRCONN)]
[HOSTNAME=<Queue Manager server...