The
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.
- FILEREF=file-specification
DDNAME=file-specification
DD=file-specification
- specifies the external file to browse. file-specification can be one of the following:
- 'external-file'
- 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.
- fileref
- 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.
- UNIT=nn
- 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;
instead of
proc fslist fileref=ft20f001;
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:
- CAPS
NOCAPS
- controls how search strings for the FIND command are treated:
CAPS |
translates search strings into uppercase unless they
are enclosed in quotes. For example, with this option in effect, the command
find nc locates occurrences of NC ,
but not nc . To locate lowercase characters,
enclose the search string in quotes:
find 'nc' |
NOCAPS |
does not perform a translation; the FIND command
locates only those text strings that exactly match the search string. |
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.
- CC
FORTCC
NOCC
- indicates whether carriage-control characters are used to
format the display. You can specify one of the following values for this option:
CC |
uses the native carriage-control characters of the
host operating environment. |
FORTCC |
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) |
blank |
skip one line and print (single space) |
0 |
skip two lines and print (double space) |
- |
skip three lines and print (triple space) |
1 |
go to new page print. |
|
NOCC |
treats carriage-control characters as regular text. |
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).
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.
- HSCROLL=n|HALF|PAGE
- indicates the default horizontal scroll amount for the LEFT
and RIGHT commands. The following values are valid:
n |
sets the default scroll amount to n
columns. |
HALF |
sets the default scroll amount to half the window
width. |
PAGE |
sets the default scroll amount to the full window
width. |
The default is HSCROLL=HALF. You can use the HSCROLL command in the
FSLIST window to change the default scroll amount.
- NOBORDER
- 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.
- NUM
NONUM
- 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
is NONUM.
- OVP
NOOVP
- indicates whether the carriage-control code for overprinting
is honored:
OVP |
causes the procedure to honor the overprint code
and print the current line over the previous line when the code is encountered. |
NOOVP |
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.