PROC FSLIST statement initiates the FSLIST procedure and specifies the external
file to browse. Statement options allow you to modify the default behavior
of the procedure.
The PROC FSLIST statement must include one of the following arguments
that specifies the external file to browse.
This form of fileref was used for a variety
of SAS System output files in Version 5 SAS software under the MVS, CMS, and
VSE operating environments. For example, the SAS log was written to a file
with the fileref (DDname) FT11F001.
The following options can be used with the PROC FSLIST statement:
- specifies the external file to browse. file-specification can be one of the following:
- is the complete operating environment file specification
(called the fully qualified pathname under some operating enfironments) for
the external file. You must enclose the name in quotation marks.
- is a fileref that has been previously assigned to the external
file. You can use the FILENAME statement to associate a fileref with an actual
filename. For information about the FILENAME statement, see the section on
statements in SAS Language Reference: Dictionary.
- defines the FORTRAN-style logical unit number of the external
file to browse. This option is useful when the file to browse has a fileref
of the form FTnnF001, where nn is the logical unit
number specified in the UNITS= argument. For example, you can specify
proc fslist unit=20;
proc fslist fileref=ft20f001;
- controls how search strings for the FIND command are treated:
The default is NOCAPS. You can use the CAPS command in the FSLIST
window to change the behavior of the procedure while you are browsing a file.
||translates search strings into uppercase unless they
are enclosed in quotes. For example, with this option in effect, the command
find nclocates occurrences of
nc. To locate lowercase characters,
enclose the search string in quotes:
||does not perform a translation; the FIND command
locates only those text strings that exactly match the search string.|
- indicates whether carriage-control characters are used to
format the display. You can specify one of the following values for this option:
If the FSLIST procedure can determine from the file's attributes
that the file contains-carriage control information, then that carriage-control
information is used to format the displayed text (the CC option is the default).
Otherwise, the entire contents of the file are treated as text (the NOCC
option the default).
||uses the native carriage-control characters of the
host operating environment.|
||uses FORTRAN-style carriage control. The first column
of each line in the external file is not displayed; the character in this
column is interpreted as a carriage-control code. The FSLIST procedure recognizes
the following carriage-control characters:
||skip zero lines and print (overprint)|
||skip one line and print (single space)|
||skip two lines and print (double space)|
||skip three lines and print (triple space)|
||go to new page print.|
||treats carriage-control characters as regular text.|
Note: Under some operating environments, FORTRAN-style carriage control
is the native carriage control. For these environments, the FORTCC and CC
options produce the same behavior.
- indicates the default horizontal scroll amount for the LEFT
and RIGHT commands. The following values are valid:
||sets the default scroll amount to n
||sets the default scroll amount to half the window
||sets the default scroll amount to the full window
The default is HSCROLL=HALF. You can use the HSCROLL command in the
FSLIST window to change the default scroll amount.
- suppresses the sides and bottom of the FSLIST window's border.
When this option is used, text can appear in the columns and row that are
normally occupied by the border.
- controls the display of line sequence numbers in files that
have a record length of 80 and contain sequence numbers in columns 73 through
80. NUM displays the line sequence numbers; NONUM suppresses them. The default
- indicates whether the carriage-control code for overprinting
||causes the procedure to honor the overprint code
and print the current line over the previous line when the code is encountered.|
||causes the procedure to ignore the overprint code
and print each line from the file on a separate line of the display.|
The default is NOOVP. The OVP option is ignored
if the NOCC option
is in effect.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.