Assigns or deassigns a fileref for an external file, a directory,
or an output device and returns a value
||host options, devices, dir-ref
- specifies the fileref to assign to an external
- specifies the external file. Specifying
a blank filename deassigns one that was previously assigned.
- specifies the type of device if the fileref
points to an output device rather than to a physical file:
- specifies that the file is to be read from or written to
disk. This is the default, which does not have to be specified. This device
type uses the native CMS interface.
- specifies that output to the external file is to be discarded.
- a CMS pipeline
- a printer or printer spool file
- associates the fileref with the virtual PUNCH. This device
is for output only. Specifying this device type causes the CMS SAS interface
to issue a FILEDEF for the device. Use the CP SPOOL and TAG commands to control
- specifies that the file is to be a reader file. The BLKSIZE=
option is ignored for this device because CMS does not support blocking.
This device is for input only. Specifying this device type causes the CMS
SAS interface to issue a FILEDEF for the device. If you have more than one
file in your reader, the one that is ordered first is read. Use the CP ORDER
READER and CP QUERY READER commands to determine the order of your reader
- the user's terminal
- a tape drive.
- are host-specific options that may be specified
in the FILENAME statement. See FILENAME.
You can specify host options in any order following
the file specification and the optional device specification.
When specifying more than one option, use a blank space to separate each
option. Values for options may be specified with or without quotes. However,
if a value contains one of the supported national characters ($, #, or @),
the quotes are required.
- specifies the fileref that is assigned to
the directory in which the external file resides.
SAS Language Reference: Dictionary
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.