FILEEXIT
The FILEEXIT option specifies a file to which enabled events are routed. Each logged event is a record in the file.
Syntax
Parameters
- Yes
- Specifies that event logging to the file exit receiver begins automatically at server startup.
- No
- Specifies that event logging to the file exit receiver does not begin automatically at server startup. When this parameter has been specified, you must begin event logging manually by issuing the BEGIN EVENTLOGGING command.
- file_name
- Specifies the name of the file in which the events are stored.
- REPLACE
- Specifies that if the file already exists, it will be overwritten.
- APPEND
- Specifies that if the file already exists, data is appended to it.
- PRESERVE
- Specifies that if the file already exists, it will not be overwritten.
Examples

fileexit yes \tsm\server\data replace 

fileexit yes /tsm/server/data replace 