PRINT: Printing the data
The PRINT command prints output data or the screen image.
Where used
Any SDSF panel. Prints data only on the Log, ULOG, and Output Data Set panels. Use the SNAP command for tabular panels.
Syntax and parameters
| Parameter | Description |
|---|---|
| first-line | The first line to be printed, in the current data set. To specify a quantity rather than a range of lines, use * for the first line. You must use * with the OPERLOG. |
| last-line | The last line to be printed. If * is used for first-line, this is a quantity of lines. |
| begin-time | The beginning time for a range of lines on the log, in the form hh:mm:ss or hh.mm.ss. |
| begin-date | The beginning date for a range of lines on the log, in the current date format. The default is the date of the current top line. |
| end-time | The ending time for the range of lines. |
| end-date | The ending date for the range of lines. The default is the date of the current top line. |
| SCREEN | Prints the screen image. (Under ISPF, use the ISPF PRINTL command.) |
| No parameters | PRINT with no parameters opens a default SYSOUT data set if the print data set is not already open. On the Output Data Set panel, it also prints the entire data set. |
Example
PT ODSN SDSF.PRINT * MOD
PT 06.00.00 04/15/2023 10.00.00 04/15/2023
PT CLOSE
Prints part of the SYSLOG to a pre-allocated data set, then closes the data set.
Additional information
When printing with a time/date range, SDSF starts and ends with records as near as possible to the times specified. However, the output may contain a few records outside of the specified range. When you print the OPERLOG by time and date, the time applies to the time the message was recorded to OPERLOG, not the time the message was issued.

