Description of the SAP-util.exe program


The SAP installation provides a command-line utility, SAP-util.exe, that you can use to debug and inspect a raw SAP file. SAP-util.exe is in the wintools directory along with SAP-adapter.dll

You can launch the utility from the command line without options for basic usage, or you can add options as follows:

SAP-util.exe (auditfile)

Executing the program with the pathname of an SAP audit file as the first and only argument dumps a textual listing of the file to standard output. This is the mode of operation that the File Transfer Queue uses.

SAP-util.exe –tail (auditfile)

Executing the program with the -tail option, followed by the pathname of an SAP audit file, continuously tails the log file, displaying formatted records as new information is appended to the bottom of the file. You can enter CTRL+C  to exit the program.

SAP-util.exe –raw (auditfile)

Executing the program with the -raw option, followed by the pathname to an SAP audit file, continuously tails the log file, displaying unformatted records as new information is appended to the bottom of the file. (This option is similar to the -tail option but does not apply formatting.) You can enter CTRL+C to exit the program.

SAP-util.exe –sim (byteCount) (auditFile)

This special option copies the specified audit file to standard output, pausing after the specified number of bytes are written. You can use this option for testing and demonstrations.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Defender Agent for SAP 6.2