If an error occurs in
the PRINT procedure or if the procedure is halted, output might be
created for the observations that were processed up until the error.
SAS writes a message to the SAS log and ends the PRINT procedure.
For LISTING output,
if the page size is set too small, SAS cannot print both the data
and any titles or footnotes on the same page. If this happens, only
the data is printed to the LISTING destination and SAS writes a warning
message to the log. To write both the data and titles or footnotes
on the same page, make sure that the page size is adequate.