![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS Companion for the OpenVMS Environment |
| Default Print File Format |
Note:
The FILE command generates a nonprint file, whereas
the PRINT command generates a print file.
To specify the carriage-control format, use either the CC= external I/O statement option (see Host-Specific External I/O Statement Options in the FILENAME statement) or the CC= system option (see CC=). You can also use the FILECC system option to control how SAS treats the data in column 1 of a print file (see FILECC).
A nonprint file that is written by the SAS System contains neither carriage-control characters nor titles. Whether you create a print or nonprint file, the SAS System provides default values for some characteristics of the file; these defaults are adequate in most cases. Default File Attributes for SAS Print and Nonprint Files lists the defaults for print and nonprint files.
| Attribute |
Print File (Batch) |
Print File (Interactive) |
Nonprint File | |
|---|---|---|---|---|
| Maximum record size | 132 | 80 | 32,767 | |
| RECFM= | V | V | V | |
| CC= | FORTRAN | FORTRAN | CR | |
| Print Files Created by Command Files |
The following is an example that generates the correct results:
$ SAS/ALTLOG=SYS$OUTPUT/CC=CR MYPROG.SAS
$ @MY.COM/OUT=OUT.LOG
For more information about command-procedure files, see Invoking SAS from a Command Procedure File, Command Procedures, and OpenVMS User's Manual.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.