CL Command Reference - DSPSPLF

CL Command List > DSPSPLF Reference

Description:

The Display Spooled File (DSPSPLF) command shows the data records in the specified spooled file. The current contents of the file (data records) can be displayed any time an entry for the spooled file is on the output queue. The screen provides various functions to display various parts of the file and to scan for a specific character string.


Examples:

DSPSPLF FILE(QPRINT) JOB(PAYROLL01) SPLNBR(4) FOLD(*NO)

In this example, the spooled file QPRINT is displayed. The file is the fourth file produced by the job PAYROLL01. The record positions that are longer than the length of the display line are truncated on the first display.