![]() Chapter Contents |
![]() Previous |
![]() Next |
| FILE |
| Valid: | in a DATA step |
| OS/390 specifics: | file-specification, type, host-options |
Syntax |
| FILE file-specification | LOG | PRINT <type> <options> <host-options>; |
The value of the FILEEXT= system option can affect the way SAS interprets PDS and PDSE member names. See FILEEXT= for details.
'/u/userid/raw'or
'HFS:raw'
'myid.raw.datax'
'sas.raw.data(mem1)'
'.raw.data'
'.raw.data(mem1)'
'&mytemp'
The value of the FILEEXT= system option can affect the way SAS interprets file specifications for PDS and PDSE files. See FILEEXT= for details.
See Specifying Physical Files for more information about partially qualified data set names.
| Standard Host Options for the FILE Statement under OS/390 |
The following options can be used with all external files under OS/390.
data _null_; file myfile csrc; put ... ; run;
You cannot use this option with an external file that has a fixed-length record format.
| F | fixed length records, unblocked. |
| V | variable length records, unblocked. |
| FB | fixed length records, blocked. |
| VB | variable length records, blocked. |
| U | undefined length records, unblocked. |
The following values can be appended to the values above:
| A | the first byte of each record is an ANSI printer-control character. |
| S | if appended to V, the file contains spanned records; if appended to F, the file contains standard blocks. |
The following value stands alone; no other values can be appended:
| N | a format specific to SAS; this format indicates that the file can be processed as a stream of bytes with no record boundaries. |
| Host Options for Retrieving Information about Data Sets |
| VSAM Options for the FILE and INFILE Statements under OS/390 |
| KS | VSAM key-sequenced data set |
| ES | VSAM entry-sequenced data set |
| RR | VSAM relative-record data set |
| LS | VSAM linear-space data set |
| Options for UNIX System Services Files and Pipes |
Several options can be specified in the FILE statement for files and pipes that are in the Hierarchical File System of UNIX System Services. For information about these options, see Host-Specific Options for UNIX System Services Files, Writing to External Files, Using the FILE Statement to Specify Data Set Attributes .
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.