The output listing is sent to the printer file that is specified by the PRTFILE parameter of the CRTSQLxxx command.
The following items are written to the printer file:
Options specified in the CRTSQLxxx command.
This output supplies precompiler source statements with the record numbers that are assigned by the precompiler, if the listing option is in effect.
If *XREF was specified in the OPTION parameter, this output supplies a cross-reference listing. The listing shows the precompiler record numbers of SQL statements that contain the referred to host names and column names.
This output supplies diagnostic messages, showing the precompiler record numbers of statements in error.
The output to the printer file will use a CCSID value of 65535. The data will not be converted when it is written to the printer file.