LOG
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.
Parameter | Description |
---|---|
none | If the command is issued from a report, the entire contents of the report output buffer is copied to the report log data set and the report name and description are copied as Remarks. If a report is larger than the size of the report output buffer, separate LOG commands must be issued for each portion of the report to log the entire report. If the command is issued from a panel, the screen image of the panel is copied to the report log data set and the panel description is copied as Remarks. |
text | (Optional) Type any text (up to 40 characters) to describe the logged panel or report. This description is displayed under Remarks on the Log Operations panel list of report log entries. If no Remarks text is specified, the report name and description are used for reports and the panel description is used 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, separate LOG commands must be issued 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).
Related topic