Using FILE PRINT Options and ODS

No discussion of the FILE PRINT ODS statement would be complete without a few caveats. Some of the options that you might have used in the past work only in the LISTING destination.

You should not use the following six options with FILE PRINT ODS:

DELIMITER=

DSD

_FILE_=

FILEVAR=

HEADER=

PAD

The following options in the FILE PRINT statement work only in the LISTING destination:

TITLES and NOTITLES

FOOTNOTES and NOFOOTNOTES

LINESIZE=

PAGESIZE=

In addition, some other techniques such as PUT _PAGE_ work only in the LISTING destination. Although column pointer controls such as + and / do work with ODS in the DATA step, they work only within the constraints already discussed—where you are writing to a specific table column ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.