Windows and Commands in z/OS Environments |
Writes the contents of that current window to an external
file.
z/OS specifics: |
file-specification,
ENCODING= option
|
FILE file-specification <ENCODING=encoding-value>
<options>
|
- file-specification
-
specifies a valid z/OS external file specification, such
as a fileref or the physical filename of a sequential data set, a member of
a partitioned data set (PDS), a member of an extended partitioned data set
(PDSE), or a file in UNIX System Services (USS).
- ENCODING=encoding-value
-
specifies the encoding to use when writing to the output
file. Typically, you would specify a value for ENCODING= that indicates that
the output file has a different encoding from the current session encoding.
However, you can also specify the same encoding for the output file as for
the current session encoding. You must enclose the value in quotation marks
if it contains a dash.
If you specify an encoding value that is different from the session
encoding, SAS transcodes the data from the session encoding to the specified
encoding when you write data to the output file. The default encoding is the
session encoding, which is the value of the ENCODING= SAS system option.
For valid encoding values, see Encoding
Values in SAS Language Elements in
the
SAS National Language Support (NLS): Reference Guide.
![](../../../../common/63294/HTML/default/images/spacer.gif) |
![](../../../../common/63294/HTML/default/images/spacer.gif) |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.