SDMS_AUDIT_FILENAME
Limit audit output to specified file
WSupported on Windows
|
USupported on Unix
|
|
NSupported in Synergy .NET
|
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.
Value
The full path and filename (without the extension) of the file to be audited.
Discussion
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.
Setting location
The environment.
Used by
Synergy DBMS, xfODBC
Examples
In the environment on Windows,
set SDMS_AUDIT_FILENAME=DAT:aphist