Display the contents of the history file.
VIEWHISTORY("historyfile")
VIEWHISTORY historyfile
"historyfile" |
- |
Optional. A string, the name of the history file to view. Defaults to current history file. |
Nothing. The history file is displayed.
setconfig("history_logging", 1);
W1: rand(10);
W2: integ(w1);
viewhistory
History logging is enabled for the session. The current history of the current log file is displayed.
The history file contains user input commands only, no informational or error messages are saved.
VIEWHISTORY requires that history logging is enabled with the HISTORY_LOGGING configuration parameter.
See VIEWLOG to display the log file that contains both user input and messages.
See MONITOR to monitor messages in real time.
See VIEW to display an SPL file.
See VIEWFILE to display a text file.
See VIEWHTML to display a web page.