![]() Chapter Contents |
![]() Previous |
![]() Next |
| INFILE |
| Valid: | in a DATA step |
| OS/390 specifics: | file-specification, type, host-options |
Syntax |
| INFILE file-specification <DATALINES | CARDS> <type> <options>; |
The value of the FILEEXT= system option can affect the way SAS interprets PDS and PDSE member names. See FILEEXT= for details.
'myid.raw.datax'
'sas.raw.data(mem1)'
'.raw.data'
'.raw.data(mem1)'
'.raw.data(mem*)'
'.raw.data(*mem1)'
'.raw.data(*)'
'/u/userid/raw'or
'HFS:raw'
'&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.
You can specify portable options in any order, using a blank space as a separator.
When specifying more than one option, use a blank space to separate each option.
| Standard Options for the INFILE Statement under OS/390 |
The following standard options can be used with all standard external files under OS/390.
data; infile myfile csrc; input; run;
| 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 RECFM= values:
The following value stands alone; no other values can be appended:
| N | indicates that the file is in binary format. The file is treated as a byte stream; that is, line boundaries are not recognized. This record format is specific to the SAS System. |
| Host Options for Retrieving Information about Data Sets |
For information on options that enable you to retrieve information about a data set from operating environment control blocks, see Host Options for Retrieving Information about Data Sets.
| VTOC Options for the INFILE Statement under OS/390 |
| Host Options for UNIX System Services Files and Pipes |
Several options can be specified in the INFILE 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 .
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.