![]() Chapter Contents |
![]() Previous |
![]() Next |
| FILE, ODS |
| Valid: | in a DATA step |
| Category: | File-handling |
| Type: | Executable |
| Requirement: | 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. You cannot use _FILE_=, FILEVAR=, HEADER=, or PAD with the ODS option. |
| Syntax | |
| Arguments | |
| Options | |
| ODS Suboptions | |
| Details | |
| See Also |
Syntax |
| FILE PRINT <ODS<=(ODS-option(s))>><overflow-control><N=1 | pagesize>; |
| Arguments |
| Restriction: | You must use PRINT in a FILE statement that uses the ODS option. |
| Options |
| Alias: | PS |
| Default: | FLOWOVER |
| ODS Suboptions |
You can use any combination of the following suboptions with the ODS= option in the FILE statement:
Each column-specification has this general form:
column-name<=variable-name><(attribute(s))>
| Default: | ODS uses the first of these formats for the variable that it finds: |
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.
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. |
| Details |
The FILE and PUT statements interact in the following way:
| See Also |
Statements:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.