Chapter Contents

Previous

Next
SAS Companion for the OpenVMS Operating Environment

Introduction

For each SAS job, process, or session, the SAS System automatically creates the SAS log file and the WORK data library. (For a discussion of the WORK data library, see The WORK Data Library under OpenVMS.) If procedures in the SAS program produce printed output, then SAS also creates the procedure output file. The procedure output file is often called the listing file. If they are stored as disk files, the SAS log and procedure output files usually have file types of .LOG and .LIS, respectively.

The SAS log and procedure output files have default destinations, but you can control these defaults by using SAS system options and the PRINTTO procedure. This section describes how to choose output destinations (terminal, printer, or disk file) from the various modes of running SAS.

Note:   When you send your log or procedure output to a printer from the SAS windowing environment, you can use the FSFORM command to invoke the FORM window to set your default printer destination, page format, and so on. For more information about the OpenVMS specifics of the FSFORM command, see Host-Specific Frames of the FORM Window. For general information about the FSFORM command, refer to the SAS online Help.  [cautionend]


Attributes of the SAS Log and Procedure Output Files

The physical line size (number of columns per line) and the page size (number of lines per page) of the SAS log and procedure output files depend on the destination of the file. If these files appear on your display, then the default line size and page size are derived from the size of your display. For example, on a display device, the default line size is dependent on the window size determined by X resources.

If these files are sent to the system printer or written to a disk file (.LOG or .LIS), then the default line size is 132 characters, and the default page size is 60 lines. You can change these defaults with the LINESIZE= and PAGESIZE= system options. The value of LINESIZE= can range from 64 to 256; the value of PAGESIZE= can range from 15 to 32767.

Note:   You can change the line size or page size either when you invoke the SAS System or during your session with the OPTIONS statement.  [cautionend]

The .LOG and .LIS files have the following OpenVMS file attributes:


Chapter Contents

Previous

Next

Top of Page

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