>>-SET PLOAD FILE TO--filename--+-------------+---------------->< '-WITH APPEND-'
The WITH APPEND option allows you to append new log information to the existing log file.
Each time a session closes, the log file for that session also closes. If you issue more than one SET PLOAD FILE statement within a session, each new statement closes a previously opened log file and opens a new log file.
If you invoke a SET PLOAD FILE statement with a simple filename on a local database, the output file is located in your current directory. If your current database is on a remote database server, then the output file is located in your home directory on the remote database server, on the coserver where the initial connection was made. If you provide a full pathname for the file, it is placed in the directory and file specified on the remote server.
Related statement: CREATE EXTERNAL TABLE (XPS)