SDMS_AUDIT_FILENAME

Limit audit output to specified file

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX

 

The SDMS_AUDIT_FILENAME environment variable filters the audit log by limiting it to operations made on a specific file. Up to three concurrent opens of this file are supported.

The full path and filename (without the extension) of the file to be audited.

The specified path and filename is compared against the name passed to the OPEN statement, without logical expansion. Therefore, if you open a file using a logical, you must set SDMS_AUDIT_FILENAME to the actual filename specified on the OPEN or a substring of that filename, or auditing will not occur. For example, if you open a file using “DAT:myfile”, where DAT=c:\tmp, SDMS_AUDIT_FILENAME must be set to either DAT:myfile or simply myfile. If you instead set SDMS_AUDIT_FILENAME to the expected file expansion, c:\tmp\myfile.ism, the file will not be audited.

The environment.

Synergy DBMS, xfODBC

In the environment on Windows,

set SDMS_AUDIT_FILENAME=DAT:aphist