Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
What is the TRACE function.
Please explain. Thanks in advance.
eg:
TRACE;
TRACE Loading the FARS mapping tables;
HI
The Trace function log your comments to Log file. Just providing the comments in the Log file as well.
In ur example:
TRACE Loading the FARS mapping tables;
"Loading the FARS mapping tables " is logged in ur log file.
Please refer the help file
The trace statement writes a string to the Script Execution Progress window and to the script log file, when used.
It is very useful for debugging purposes. Using $-expansions of variables that are calculated prior to the Trace statement, you can customize the message.
The syntax is:
trace string
Examples:
trace Main table loaded;
Let MyMessage = NoOfRows('MainTable') & ' rows in Main Table';
trace $(MyMessage)
HI
The Trace function log your comments to Log file. Just providing the comments in the Log file as well.
In ur example:
TRACE Loading the FARS mapping tables;
"Loading the FARS mapping tables " is logged in ur log file.
Please refer the help file
The trace statement writes a string to the Script Execution Progress window and to the script log file, when used.
It is very useful for debugging purposes. Using $-expansions of variables that are calculated prior to the Trace statement, you can customize the message.
The syntax is:
trace string
Examples:
trace Main table loaded;
Let MyMessage = NoOfRows('MainTable') & ' rows in Main Table';
trace $(MyMessage)
Hi,
Trace is uesd with $ for populating detailed execution information to the execuion window and to the log file.
PSB.
Thank you.
Hi,
Find the attachment for working example.