Chapter Contents |
Previous |
Next |
S= |
Valid in: | configuration file, SAS invocation, OPTIONS statement, Systems Options window |
Category: | Input control: Data processing |
PROC OPTIONS GROUP= | INPUTCONTROL |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
See Also |
Syntax |
S=n| nK | nM | nG | MIN | MAX | hex |
Details |
Input can be from either fixed- or variable-length records. Both fixed-length and variable-length records can be either unsequenced or sequenced. Unsequenced records do not contain sequence fields. Fixed-length sequenced records contain sequence fields at the end of each record. Variable-length sequenced records contain sequence fields at the beginning of each record.
SAS determines whether the input contains sequence numbers that are based on the value of S. If S=0 and you have fixed-length records, SAS inspects the last n columns (where n is the value of the SEQ= option) of the first sequence field, which is at the end of the first line of input. If those columns contain numeric characters, SAS assumes that the file contains sequence fields and ignores the last eight columns of each line.
If S0 or MAX and you have fixed-length records, SAS uses that value as the length of the source or data to be scanned, ignores everything beyond that length on each line, and does not look for sequence numbers.
If S=0 and you have variable-length records, SAS inspects the last n columns (where n is the value of SEQ=) of the first sequence field, which is at the beginning of the first line of input. If those columns contain numeric characters, SAS assumes the file contains sequence fields and ignores the first eight columns of each line.
If S0 or MAX and you have variable-length records, SAS uses that value as the starting column of the source or data to be scanned, ignores everything before that length on each line, and does not look for sequence numbers.
Comparisons |
The
S= system option operates exactly like the S2= system option except that S2=
only controls input from a %INCLUDE statement, an autoexec file, or an autocall
macro file.
Operating Environment Information:
See Also |
System Options:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.