![]() Chapter Contents |
![]() Previous |
![]() Next |
| Using the Output Delivery System in the DATA Step |
| Requirements: | If you use the ODS option, you must use the fileref PRINT in the FILE statement. |
| Restriction: | The DELIMITER= and DSD options have no effect on the ODS option. The FOOTNOTES | NOFOOTNOTES, LINESIZE, PAGESIZE, and TITLES | NOTITLES options have an effect only on the listing destination. You cannot use _FILE_=, FILEVAR=, HEADER=, or PAD with the ODS option. |
| FILE PRINT <ODS<=(ODS-suboption(s))>><overflow-control><N=number> ; |
Note:
| File Statement Arguments and Options |
The arguments and options listed here can be specified in any order in the FILE statement.
| Default: | FLOWOVER |
| Restriction: | You must use PRINT in a FILE statement that uses the ODS option. |
| Featured in: | Using the Default Table Definition |
| ODS Suboptions |
Note:
By default, the order
of the columns in the output object is determined by their order in the table
definition, not by their order in the data component. You can override this
order by using the ORDER_DATA= table attribute in the PROC TEMPLATE step that
creates the definition. The default DATA step table definition uses this attribute.
(See the discussion of ORDER_DATA=.) ![[cautend]](../common/images/cautend.gif)
Each column-specification has this general form:
| column-name<=variable-name><(attribute(s))> |
| Featured in: | Using a Simple User-Defined Definition |
| Default: | ODS uses the first of these formats for the variable that it finds: |
| Featured in: | Using a Simple User-Defined Definition |
| Default: | OFF |
| Featured in: | Using a Simple User-Defined Definition |
| Featured in: | Specifying Attributes for a Column |
Each dynamic-specification has the following form:
| dynamic-value-name<=variable-name | constant> |
FilePrint#,
where # increases by 1 for each DATA step that you run in the
current SAS process without specifying an object name or an object label.
| Restriction: | object-name must conform to the rules for SAS variable names. For information on these rules, see "Rules for Words and Names" in SAS Language Reference: Dictionary. |
FilePrint#,
where # increases by 1 for each DATA step that you run in the
current SAS process without specifying an object name or an object label.
| Featured in: | Specifying Attributes for a Column |
Note:
By default, the order
of the columns in the output object is determined by their order in the table
definition, not by their order in the data component. You can override this
order by using the ORDER_DATA table attribute in the PROC TEMPLATE step that
creates the definition. The default DATA step table definition uses this attribute.
(See the discussion of the ORDER_DATA=.) ![[cautend]](../common/images/cautend.gif)
Each variable-specification has this general form:
| variable-name<=column-name><(attribute(s))> |
| Tip: |
You can use list notation
(for example, score1-score5) to specify a range of variable names. |
| Featured in: | Selecting Variables for the Data Component and Specifying Attributes for a Column |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.