Saturday 10 December 2016

IBM DSA utility to collect logs

A few command line switches can be used together with dsa to collect logs in different format.

When the executable is run without any parameters, it would save the log in XML format.

> ibm_utl_dsa_dsyte1d-9.61_portable_windows_x86-64.exe

To generate it in HTML format, -v must be used.

> ibm_utl_dsa_dsyte1d-9.61_portable_windows_x86-64.exe -v

To convert the log generated in XML to HTML format, the following command is used.
> ibm_utl_dsa_dsyte1d-9.61_portable_windows_x86-64.exe -v -x -i generated_log.xml.gz

To compare current log with previously collected one, -r switch with log files names together is used. Both logs must be generated using same version of DSA though.
> ibm_utl_dsa_dsyte1d-9.61_portable_windows_x86-64.exe -r generated_log_001.xml.gz generated_log_001.xml.gz -v


No comments:

Post a Comment