Teradata Access Module for S3 supports the use of TPT logs. The console output contains the necessary information to show job progress. The detailed information is written to the TPT logs.
Before this enhancement, all messages were written to the console. When the console is no longer available, the history of the access module job is also lost. This is now rectified as writing the access module messages to the TPT logs allows to save the output.
When LoggingFlags is enabled in the initialization string, the debug or the trace information is written to the logs.
To review/output the information from the TPT logs, use tlogview command (redirecting the output to an output file).
For example:
tlogview -j <job-id> -f "*" -g > output-file
Where:
<job-id> is the id of the TPT job. output-file is the name of the file to contain the log output.
Alternately, you can run the tdlog command:
tdlog <job-id> > output-file
For more information, refer to the TPT Reference Manual (B035-2436).