Chapter Contents

Previous

Next
FILE

FILE



Saves the contents of a window to an external file

Windows specifics: valid options


Syntax
Details
See Also

Syntax

FILE file-specification <portable-options> <host-options>

file-specification
specifies a valid Windows external file specification as documented in Referencing External Files

portable-options
specifies one or more portable options, which are documented under the FILE command in SAS online Help.

host-options

BLKSIZE=block-size
BLK=block-size
specifies the number of bytes that are physically read or written in an I/O operation. The default is 8K. The maximum is 1M.

HOTLINK
is used only in the context of Dynamic Data Exchange (DDE). For a complete description and an example of using this option, see Using the DDE HOTLINK.

LRECL=record-length
specifies the record length (in bytes). Under Windows, the default is 256. The value of record-length can range from 1 to 1,048,576 (1 megabyte).

NOTAB
is used only in the context of Dynamic Data Exchange. This option enables you to use non-tab character delimiters between variables. For more information about this option, see Using the NOTAB Option with DDE.

RECFM=record-format
controls the record format. Under Windows, the following values are valid:
F indicates fixed format.
N indicates binary format and causes the file to be treated as a byte stream.
P indicates print format.
S370V indicates the variable S370 record format (V).
S370VB indicates the variable block S370 record format (VB).
S370VBS indicates the variable block with spanned records S370 record format (VBS).
V|D indicates variable format. This is the default.


Details

The FILE command writes the entire contents of the active window to an external file without removing text from the window.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.