LOG is a basic panel command that can be issued from any product panel or report.
LOG copies the contents of the current panel or report to your report log data set for later viewing or printing.
Syntax of the LOG command
Parameter
Description
none
If you issue the command from a report, the product copies the entire contents of the report output buffer to the report log data set, and copies the report name and description as Remarks. If a report is larger than the size of the report output buffer, the product issues separate LOG commands for each portion of the report to log the entire report.
If you issue the command from a panel, the product copies the screen image of the panel to the report log data set and copies the panel description as Remarks.
text
(optional) Type any text (up to 40 characters) to describe the logged panel or report. The product displays this description under Remarks on the Log Operations panel list of report log entries.
If no Remarks text is specified, the product uses the report name and description for reports and uses the panel description for panels.
SCREEN
(optional) Causes only the current screen image to be copied
This value is implicit for panels, even those with scrollable tables. To copy the contents of an entire table when it extends beyond one screen image, you must issue separate LOG commands for each portion of the table.
The default for reports is to copy the entire contents of the report output buffer to the report log. Use the SCREEN option to limit the logged image to the currently displayed portion of the report.
Type LOG (with or without a parameter) on the Command line of any panel or report, and press Enter.
For more information about report logging, see online Help (type HELP RPTLOG).