Routing Output. Producing Output with SAS Software CHAPTER 6

Size: px
Start display at page:

Download "Routing Output. Producing Output with SAS Software CHAPTER 6"

Transcription

1 125 CHAPTER 6 Routing Output Producing Output with SAS Software 125 The Default Routings for the SAS Log and Procedure Output 126 Changing the Default Routings 127 Using the Print Dialog Box 128 Printing from Text Windows 128 Printing from GRAPH Windows 130 Using Commands 131 Using the PRINT Command with Forms 131 Using PRTFILE and PRINT with a Fileref 131 Using the FILE Command 133 Using the PRINTTO Procedure 133 Routing Output to an XPRINTER Device 134 Routing Output to a Terminal 135 Simulating Forms in the Batch Environment 135 Using SAS System Options 136 Creating Postscript Output 136 Specifying the Print File 136 Printing Large Files with the PIPE Device Type 137 Controlling the Content and Appearance of Output 137 SAS Log Options 137 Procedure Output Options 138 Producing Output with SAS Software When you print text or graphics, SAS needs to know where the output should go, how it should be written, and how the output should look. You can control text printing in two ways: 3 using forms. The default printer as well as other aspects of your output such as printer margins, printer control language, and font control information are controlled by the FORM subsystem. Forms produce output in ASCII format. Forms are especially useful when you use the PRINT command from the windowing environment and when you print from SAS/AF and SAS/FSP windows. Using forms is the default printing method. To use forms, you must first define forms for the printers that you want to use, and then when you want to produce output, select the form that you want to use. Defining Forms on page 149 describes how to define forms. Note: To print with forms, host printing must be turned off. See Turning Host Printing On and Off on page 142 for more information. 4

2 126 The Default Routings for the SAS Log and Procedure Output 4 Chapter 6 3 using host printing. Host printing produces output in Postscript or PCL format. Host printing allows you to send the output of your SAS application or the contents of the active window to either a file or to a compatible printer in Postscript, PCL4, or PCL5 format. Through the host printing dialog boxes, you can print or preview the contents of the active window. With the FILENAME statement, you can associate a fileref with the XPRINTER device type and use that fileref in statements, commands, and fields that accept filerefs to send window contents or program output to a file or printer. Note: Host printing is not supported on MIPS ABI and Intel ABI. 4 To use host printing, you must first define printer devices and, when you want to produce output, select the printer device to which you want to send the output. When you define a print device, you specify the device type (such as a Postscript file or an HP Laser printer), the command required to send output to the device, and options such as fonts and margins. Setting Up Host Printing on page 142 describes how to define printer devices. If you are printing graphics, the output is controlled by drivers. You can print graphics using one of two types of drivers: 3 native SAS/GRAPH drivers 3 host printing drivers. Refer to the online help for SAS/GRAPH for more information about native SAS/ GRAPH drivers. The Default Routings for the SAS Log and Procedure Output For each SAS job or session, the SAS System automatically creates two types of output: SAS log contains information about the processing of SAS statements. As each program step executes, notes are written to the SAS log along with any applicable error or warning messages. SAS output is also called the procedure output file or print file. Whenever a SAS program executes a PROC step or a DATA step that produces printed output, SAS sends the output to the SAS output file. Table 6.1 on page 126 shows the default routings of the SAS log and output files. Table 6.1 Default Routings of the SAS Log and Output Files Processing Mode SAS Log File SAS Output File batch filename.log filename.lst windowing environment LOG window OUTPUT window interactive line terminal terminal By default, both the log file and the output file are written to your current directory. Your system administrator might have changed these default routings.

3 Routing Output 4 Changing the Default Routings 127 Changing the Default Routings There are four primary methods for routing your output: 3 using the Print dialog box. The Print dialog box is available when you are using the SAS windowing environment. 3 issuing windowing environment commands. The PRTFILE, PRINT, and FILE commands can be issued from any command line and can be used to send output to external files or to other devices defined with the FILENAME statement. 3 using the PRINTTO procedure. You can use the PRINTTO procedure in any mode. Using the FILENAME statement with the PRINTTO procedure is the most flexible way of routing your output. 3 specifying alternate destinations with the PRINT, LOG, ALTPRINT, or ALTLOG system options. For example, you can send output directly to a printer by 3 assigning a fileref using the FILENAME statement and then using PROC PRINTTO to send output to that fileref. 3 using the PRINT command with forms. 3 specifying a destination (either fileref or filename) with the PRTFILE command, then using the PRINT command to send output to that destination. You can send log or procedure output to an external file by 3 specifying a pathname or a fileref in the PROC PRINTTO statement. 3 using SAS system options to specify the output destination. 3 specifying a pathname or a fileref in the FILE command. Use Table 6.2 on page 127 to help you decide which method you should choose to change the routing. Table 6.2 Decision Table: Changing the Default Destination To route your SAS log or output to... Using this mode of processing... Use this method... See... a printer any mode FILENAME statement (PRINTER device type) and PRINTTO procedure Using the PRINTTO Procedure on page 133 interactive modes windowing environment FILENAME statement (XPRINTER device type) and PRINTTO procedure PRINT command and FORM subsystem Print dialog FILENAME statement and PRTFILE and PRINT commands Routing Output to an XPRINTER Device on page 134 Using the PRINT Command with Forms on page 131 Using the Print Dialog Box on page 128 Using PRTFILE and PRINT with a Fileref on page 131 an external file any mode PRINTTO procedure Using the PRINTTO Procedure on page 133

4 128 Using the Print Dialog Box 4 Chapter 6 To route your SAS log or output to... Using this mode of processing... Use this method... See... interactive modes windowing environment FILENAME statement (XPRINTER device type) and PRINTTO procedure Print dialog FILENAME statement and PRTFILE and PRINT commands Routing Output to an XPRINTER Device on page 134 Using the Print Dialog Box on page 128 Using PRTFILE and PRINT with a Fileref on page 131 batch LOG and PRINT system options Using SAS System Options on page 136 a UNIX command (pipe) any mode FILENAME statement and PRINTTO procedure Using the PRINTTO Procedure on page 133 windowing environment FILENAME statement and PRTFILE and PRINT commands Using PRTFILE and PRINT with a Fileref on page 131 its usual location and to an external file any mode ALTLOG and ALTPRINT system options Using SAS System Options on page 136 windowing environment FILE command Using the FILE Command on page 133 Print dialog Using the Print Dialog Box on page 128 a terminal batch FILENAME statement and PRINTTO procedure Routing Output to a Terminal on page 135 Using the Print Dialog Box When you are using the SAS windowing environment, you can use the Print dialog box to print the contents of the active window using either host printing or forms. If you use host printing, the Print dialog box sends the window contents to your default host printer device (see Specifying Your Default Printer Device on page 147). You can define host printer devices to be either a Postscript (or PCL) printer or an external file, so you can use the Print dialog box to send output to either a printer or an external file. See Setting Up Host Printing on page 142 for information on defining host printer devices. If you use forms, the Print dialog box sends the window contents to the system printer that you specify. Printing from Text Windows To print part or all of the contents of a window, click in the window to make it the active window. If you want to mark and print only selected lines of text, mark the text before you open the Print dialog box. To open the Print dialog box, issue the DLGPRT command or select File I Print...

5 Routing Output 4 Printing from Text Windows 129 Display 6.1 Print Dialog Box To use forms for printing, select Use forms. SAS prompts you to enter a spool command and the name of your system printer. When you select Print, SAS prints the contents of the active window using the command and printer name that you specified and additional information from your default form. See Defining Forms on page 149 for more information. To use host printing, select Use host printing. The dialog box displays the default printer name you specified through the Printer Setup dialog box. To select a different printer device, select Setup... to open the Printer Setup dialog box, select the printer device that you want to use, and then select OK. To send output to a file, select Print to File and then select Print. SAS displays the File Selection dialog box, which allows you to select an existing file or enter a new filename. If you print to the same filename again, the contents of the file will be overwritten. Each print request replaces the contents of this file; you cannot append output to a file when you are using host printing. (APPEND is not valid for XPRINTER devices. See Routing Output to an XPRINTER Device on page 134.) By default, SAS prints the entire contents of the selected window ( All pages). To print only the page currently displayed in the window, select Current page. If you marked text before you invoked the Print dialog box, choose Selected text to print only the marked text. To print a range of pages or other individual pages, select Pages: and enter the page numbers in the field immediately below. Separate individual page numbers and page ranges with either a comma (,) or a blank. You can enter page ranges in any of these formats: n-m prints all pages from n to m, inclusive. -n prints all pages from page 1 to page n. n- prints all pages from page n to the last page. For example, -4,8,12-15,18- will print pages 1 through 4, page 8, pages 12 through 15, and pages 18 through the last page. To print more than one copy of the output, enter a specific number into the Copies: field or select the up and down arrows to change the number of copies. The Copies: field has no effect when you are printing to a file. When you print multiple copies, each page is printed the specified number of times before the next page is printed. In other words, SAS prints multiple copies of page 1, then multiple copies of page 2, and so on, rather than collating the copies. To send output to the default printer or file, select Print. If SAS displays a clock icon for a long time and you are sending output to a network printer, your printer server might be down. If so, you will eventually see a message in the shell where you invoked your SAS session saying that indicates that the server is down.

6 130 Printing from GRAPH Windows 4 Chapter 6 Printing from GRAPH Windows If you have host printing turned on, then you can use the Print dialog box to print the contents of a GRAPH window. Click in the window to make it the active window, and then issue the DLGPRT command or select File I Print... SAS displays the Print dialog box. Display 6.2 Print Dialog Box for Graph Windows Note: Fonts and margins set through the host printing dialog boxes have no effect when you print from GRAPH windows. Make sure that you specify the correct options on a GOPTIONS statement. 4 To print output using a SAS/GRAPH driver, select Use SAS/GRAPH Drivers. Select the down arrow beside the SAS/GRAPH Driver: field to display the available drivers. Make sure that your printer destination has been set inside the device using the GDEVICE procedure or the GOPTIONS statement. For complete information about printing from GRAPH windows, refer to SAS/GRAPH Software: Reference and the online help for SAS/GRAPH. To use host printing, select Use Host Drivers. Select the down arrow beside the Host Driver: field to display the available host drivers: 3 XPRINTC produces color output. 3 XPRINTG produces grayscale output. 3 XPRINTM produces black and white output. Most laser printers, including PostScript and HP LaserJet printers, can produce grayscale output. The Default Printer field displays the default printer name that you specified through the Printer Setup dialog box. To select a different printer device, select Setup.... To send your output to the printer or file that you have specified, select Print.If SAS displays a clock icon for a long time and you are sending output to a network printer, your printer server might be down. If so, you will eventually see a message in the shell where you invoked your SAS session that indicates that the server is down. When you print graphics using the host drivers, SAS prints notes in the SAS LOG similar to the following:

7 Routing Output 4 Using PRTFILE and PRINT with a Fileref 131 Note: The window system or device has set the XMAX value of the device XPRINTG to 7.99 inches. Note: The window system or device has set the YMAX value of the device XPRINTG to inches You can ignore these notes. Using Commands In the SAS windowing environment, you can use the PRTFILE, PRINT, and FILE commands to send the contents of the active window to an output device. The PRINT command sends the contents of the active window to either your default printer or to the location you specify with the PRTFILE command. With the PRTFILE, you can specify either a filename or a fileref. The FILE command sends the contents of the active window to the filename or fileref that you specify. With the FILENAME statement, you can create filerefs that point to printers, plotters, or external files or filerefs that pipe your output to a UNIX command. You can use the PRINT and PRTFILE commands with forms or with host printing. Using the PRINT Command with Forms Use the PRINT command to route the contents of a window to your default printer. This is the easiest method of printing output. For example, issue the PRINT command from the command line of your OUTPUT window to send the contents of that window to your default printer. To route the contents of a window to a printer that is not your default printer, you can use select a different form through the pull-down menu: File I Print Utilities I Set Form Name... If you do not have host printing turned on (see Printing from the SAS System on page 32), all subsequent print operations will use the form that you specify. Note: Multiple forms can be specified for the same printer. Select a form that uses a printer other than your default printer. 4 You can also select a different form by specifying the FORM= option with the PRINT command. For example, to copy output to a printer destination that is described in a form named MYOUTPUT, you enter the following command-line command: print form=myoutput For more information on forms, see Defining Forms on page 149. Using PRTFILE and PRINT with a Fileref You can also use the PRTFILE command, followed by the PRINT command, to print the contents of windows. This method enables you to override some of the defaults that are established by the FORM subsystem, such as the destination. PRTFILE establishes the destination, and PRINT sends the contents of the window to that destination. If you do not specify a destination with the PRTFILE command, PRINT automatically sends the window contents to your default printer.

8 132 Using PRTFILE and PRINT with a Fileref 4 Chapter 6 If you want to send output directly to a printer, you must first submit the FILENAME statement to assign a fileref to a PRINTER, XPRINTER, or PIPE device. For example, to print the contents of your OUTPUT window: 1 Submit a FILENAME statement or FILENAME function to associate a fileref with a system printer (PRINTER device type), a host printer device (XPRINTER device type), or a UNIX command (PIPE device type). Enclose the printer name or UNIX command in either single or double quotes. For example, the following statement associates MYRPT with the system printer named BLDGA2 and specifies two copies of every printout: filename myrpt printer bldga2 -n2 ; (See the documentation for your print command for information about other options that you can specify.) The following statement allows you to print output using the lp command on the printer named myljet: filename ascout pipe lp -dmyljet ; The following statement sends output to the lp command and redirects any error messages produced by this command to the lperror file in your home directory: filename myrpt pipe lp 2>$HOME/lperror ; Note: Redirecting standard error is allowed only in the Bourne and Korn shells. 4 The following statement associates MYRPT with your default host printer device: filename myrpt xprinter; MYRPT can be defined as an external file or as a Postscript (or PCL) printer. You cannot specify options with the XPRINTER device, and you can open only one XPRINTER device at a time during a SAS session. If you frequently use the same print command and destination, you can add the appropriate FILENAME statement to your autoexec file. See Customizing Your SAS Session on page 14 for more information. 2 Issue the PRTFILE command as described in Specifying the Print File on page 136. Specify the fileref from your FILENAME statement or FILENAME function. For example: prtfile myrpt 3 From the command line of the windows whose contents you want to print, issue the PRINT command. If you are sending output to a system printer or if you are using forms-based printing, then you can print the contents of more than one window. If you want to print the contents of any other windows, issue the PRINT command from the command line of those windows. A requestor window warns you that the destination file already exists. Enter A in the requestor window to append the window contents to the destination file. Note: If you are using host printing to send output to a file, the file will always be replaced; APPEND is not valid for an XPRINTER device. 4 4 From the command line of the first window that you printed, issue the FREE command to close the print file or device. You must close the output device before output is generated. If you do not close the print file or output device before you end your SAS session, SAS will close it for you when you exit your session.

9 Routing Output 4 Using the PRINTTO Procedure Submit a FILENAME statement or FILENAME function to clear (deassign) the fileref. Your output is not actually printed until you perform this step. For example: filename myrpt clear; To return to forms-based printing, issue the PRTFILE CLEAR command. Using the FILE Command You can use the FILE command to copy the contents of many different windows to external files. Issue the FILE command on the command line of the window whose contents you want to copy. For example, to copy the contents of the LOG window to /u/myid/log/app1, issue the following command on the command line of the LOG window: file /u/myid/log/app1 If the file does not exist, SAS creates it. If the file already exists, a requestor window asks you whether you want to replace it or to append data to the existing data. If you have already associated a fileref with your external file, you can use the fileref instead of the filename: file myref Note: If you use the FILE command to save your output, carriage-control information is not saved (that is, page breaks are removed from the output). You may want to use the PRINT command with the FILE option instead: 4 PRINT FILE=fileref pathname Using the PRINTTO Procedure When you use the PRINTTO procedure with its LOG= and PRINT= options, you can route the SAS log or SAS procedure output to an external file or a fileref from any mode. Specify the external file or the fileref in the PROC PRINTTO statement. For example, the following example routes procedure output to /u/myid/output/prog1: proc printto print= /u/myid/output/prog1 new; The NEW option causes any existing information in the file to be cleared. If you omit the NEW option from the PROC PRINTTO statement, the SAS log or procedure output is appended to the existing file. If you plan to specify the same destination several times in your SAS program, you can assign a fileref to the file using a FILENAME statement. (See Assigning Filerefs with the FILENAME Statement on page 106 for details and examples.) For example, you can use the PRINTER device type to send output directly to your system printer: filename myoutput printer; proc printto print=myoutput; Output will be sent to your default system printer or, if you have specified the SYSPRINT system option, to the printer specified with that option.

10 134 Routing Output to an XPRINTER Device 4 Chapter 6 You can also use the PIPE device type to send output to a UNIX command. When you specify the print command, you may also want to specify a destination for (redirect) any error messages produced by the print command. Enclose the UNIX command in either single or double quotes. The following example associates the fileref MYOUTPUT with the print command lp, which will send output to the printer named myljet: filename myoutput pipe lp -dmyljet ; proc printto print=myoutput; You can send the SAS log to the same printer by using the LOG= option: filename mylog pipe lp -dmyljet ; proc printto log=mylog; The log and procedure output continue to be routed to the designated external file until another PROC PRINTTO statement reroutes them. Any time you use PROC PRINTTO to route output, you must close the output device before PROC PRINTTO will release the output or log and send it to the destination you have specified. To close the output device, issue PROC PRINTTO without any parameters: proc printto; Issuing PROC PRINTTO without any parameters closes the output device, generates output, and reroutes the log and procedure output to their default destinations. See Table 6.1 on page 126 for a list of the default destinations. For more information on PROC PRINTTO, see PRINTTO on page 232 and SAS Procedures Guide. Routing Output to an XPRINTER Device You can use the XPRINTER device type to send output to the default printer device that has been selected in the Printer Setup dialog box. You can use the XPRINTER device in any mode, but if you use XPRINTER devices in batch mode, a display device must be available. The following example uses the FILENAME statement to associate the fileref PRINTOUT with the default host printer device and routes the procedure output to that device: filename printout xprinter; proc printto log=printout print=printout; You cannot specify any options with the XPRINTER device type. If you have not set up a printer device through the Printer Setup dialog box, the output will be printed, using a Courier font with no margins, to a generic Postscript file named prn.ps in your current working directory. Note: You can open only one XPRINTER device at a time during a SAS session. The OVP system option is not valid for XPRINTER devices; messages will be appended, not overwritten. 4 As with other device types, you must close the XPRINTER device before output will be generated. To close the XPRINTER device and generate output, issue PROC PRINTTO without any parameters:

11 Routing Output 4 Simulating Forms in the Batch Environment 135 proc printto; Routing Output to a Terminal In batch mode, you can direct output to a terminal by associating a fileref with a terminal and then using PROC PRINTTO to send output to that fileref. In the FILENAME statement, specify the TERMINAL device-type and the special file associated with the terminal. For example, the following statements send the SAS log to the terminal that is associated with the /dev/tty3 special file: filename term terminal /dev/tty3 ; proc printto log=term; Simulating Forms in the Batch Environment The FORMS subsystem is not available in batch mode. If you need to add printer control language (PCL, see Printer Control Language on page 154) to your print file, you can add the PCL through the DATA step. The following example defines a print file, writes PCL and data to this print file, and sends the print file to the printer: filename myoutput pipe lp -oraw -dmylaserjet ; /* set the print file to fileref */ proc printto print=myoutput; data one; x=1; /* write PCL to print file */ data _null_; file myoutput; put 1b x &l10 ; /* landscape mode */ put 1b x &2kS ; /* compressed mode */ /* write data set to print file */ proc print data=one; /* release the print file */ proc printto; The 1b x sequence is an escape sequence that is required before each PCL control sequence.

12 136 Using SAS System Options 4 Chapter 6 Using SAS System Options You can use SAS system options to change the destination of the SAS log and procedure output. The options that you use depend on which task you want to accomplish: 3 To route your SAS log or procedure output to an external file instead of to their default destinations, use the LOG and PRINT system options. 3 To route the log or output to an external file in addition to their default destinations, use the ALTLOG and ALTPRINT system options. This method works in all modes of running SAS. LOG and PRINT are normally used in batch and interactive line modes. These system options have no effect in the windowing environment. If you are running in the windowing environment, use the ALTLOG and ALTPRINT system options. You can specify the options in the SAS command, a configuration file, and the SASV7_OPTIONS environment variable. For example, you could specify these options in the SAS command as follows: sas -log /u/myid/log -print /u/myid/prt sas -altlog /u/myid/log -altprint /u/myid/prt See Specifying System Options on page 14 for more information. Creating Postscript Output You can use the pstext UNIX command, the PRINTCMD and SYSPRINT system options, and the PRINT command to create PostScript output. The PRINTCMD option sets the UNIX print command that SAS will use, and the SYSPRINT option specifies a destination. You can use the pstext command as your print command and redirect or pipe the output of that command. For example, the following options send your output through the pstext command and then redirect the output of that command to the file named / tmp/file.ps: options printcmd= pstext ; options sysprint= >/tmp/file.ps ; When you issue the PRINT command, SAS creates the file /tmp/file.ps. The following options send your output through the pstext command and then pipe the output of that command to the lp command: options printcmd= pstext ; options sysprint= lp -dmylaserjet ; When you issue the PRINT command from within SAS, postscript output is sent to the mylaserjet printer. Specifying the Print File When you issue the PRINT command, SAS sends your output to your default printer unless you specify a print file. You can specify a print file in two ways: 3 entering the PRTFILE command: PRTFILE file-spec CLEAR APPEND REPLACE

13 Routing Output 4 SAS Log Options 137 The file-spec can be either a fileref or a filename. If you specify an external filename, forms will be used for printing. 3 selecting File I Print Utilities I Set Print File and entering the name of the print file. Printing Large Files with the PIPE Device Type When you print a file with the lp command, a symbolic link is created from the file to the /usr/spool directory. When you pipe output to the lp command, the output is copied under the /usr/spool directory. If you experience problems printing large files using the PIPE device type, you can circumvent the problem in either of the following ways: 3 save the print file to a disk file and then print it with the lp command. Issue the PRINT command from the output or log window, for example: print file= bigfile Exit your SAS session and print the file, or use the SAS X command to print the file from within your SAS session, for example: x lp -dmylsrjt bigfile 3 create a fileref using the PIPE device type that can handle large files. For example, the following fileref saves the print file to disk, prints the saved file, and then removes the file: filename myfile pipe cat >bigfile;lp -dmylsrlt bigfile;rm bigfile; ; Controlling the Content and Appearance of Output Some of the attributes of the SAS log and procedure output depend on the destination to which they are being sent. For example, if the log and output are being sent to your display, the default line and page size are derived from your display. If one or both of these files are sent to the system printer or written to a file, the default line size is 132 and the default page size is 60. Some of the attributes of the SAS log and procedure output depend on the mode in which you are running. For example, if you are running in interactive line mode, SAS source statements are not echoed to the SAS log. If you are using the SAS windowing environment all source statements are written to the log as they are submitted. In batch mode, the log and procedure output are formatted for a standard system printer. See Customizing Your SAS Session on page 14 for information on specifying system options. Note: The values that you enter through the FORM window may override the values specified in the LINESIZE and PAGESIZE options. See Text Body and Margin Information on page 150 for more information. 4 SAS Log Options Use the following options to control the contents of the log. See Chapter 17, SAS System Options, on page 253 for details on specifying options.

14 138 Procedure Output Options 4 Chapter 6 f FULLSTIMER NOFULLSTIMER controls whether a list of resources (such as I/O performed, page faults, elapsed time, and CPU time) used for each PROC or DATA step is written to the log. NOFULLSTIMER is the default. LINESIZE=width controls the line length used. Width can be any value from 64 to 256. NOTES NONOTES controls printing of NOTES on the log. NOTES is the default setting for all execution modes. Specify NOTES unless your SAS program is completely debugged. PAGESIZE=n controls the number of lines that are printed on each page. N can be any number from 15 to SOURCE NOSOURCE controls whether SAS source statements are written to the log. NOSOURCE is the default setting in interactive line mode; otherwise, SOURCE is the default. SOURCE2 NOSOURCE2 controls whether SAS statements that are included with %INCLUDE statements are written to the log. NOSOURCE2 is the default setting for all execution modes. STIMER NOSTIMER controls whether user CPU time and elapsed time are written to the log. STIMER is the default. Procedure Output Options Use these system options to control the contents of the procedure output: CENTER NOCENTER controls whether the printed results are centered or left-aligned on the procedure output page. CENTER is the default. DATE NODATE controls whether the date is written at the top of each procedure output page. DATE is the default. LINESIZE=width controls the line length used. Width can be any value from 64 to 256. NUMBER NONUMBER controls whether the output page number is written on each procedure output page. NUMBER is the default. PAGENO=n resets the current page number in the print file. The default page number at the beginning of the SAS session is 1. The pages are numbered sequentially

15 Routing Output 4 Procedure Output Options 139 throughout the SAS session unless the PAGENO option is specified in an OPTIONS statement during the session. PAGESIZE=n controls the number of lines that are printed on each page. N can be any number from 15 to

16 140 Procedure Output Options 4 Chapter 6

17 The correct bibliographic citation for this manual is as follows: SAS Institute Inc., SAS Companion for UNIX Environments, Version 8, Cary, NC: SAS Institute Inc., SAS Companion for UNIX Environments, Version 8 Copyright 1999 by SAS Institute Inc., Cary, NC, USA. ISBN All rights reserved. Printed in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc. U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of the software by the government is subject to restrictions as set forth in FAR Commercial Computer Software-Restricted Rights (June 1987). SAS Institute Inc., SAS Campus Drive, Cary, North Carolina st printing, October 1999 SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. The Institute is a private company devoted to the support and further development of its software and related services.

Routing the SAS Log and SAS Procedure Output

Routing the SAS Log and SAS Procedure Output 187 CHAPTER 8 Routing the SAS Log and SAS Procedure Output Introduction 187 Attributes of the SAS Log and Procedure Output Files 188 Controlling Log and Output Destinations 188 Windowing Environment Mode

More information

Customizing Your SAS Session

Customizing Your SAS Session 13 CHAPTER 2 Customizing Your SAS Session Introduction 13 Specifying System Options in the SAS Command 14 Configuration Files 15 Creating a User Configuration File 15 Specifying a User Configuration File

More information

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS... Chapter 28 Saving and Printing Tables Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS...418 OUTPUT OBJECTS...422 415 Part 2. Introduction 416 Chapter 28 Saving and Printing Tables

More information

Chapter 3 Managing Results in Projects. Chapter Table of Contents

Chapter 3 Managing Results in Projects. Chapter Table of Contents Chapter 3 Managing Results in Projects Chapter Table of Contents Introduction... 55 Managing Projects... 55 CreatingaProject... 55 SavingaProject... 56 SavingaProjectUnderAnotherName... 57 RenamingaFolder...

More information

APPENDIX 2 Customizing SAS/ASSIST Software

APPENDIX 2 Customizing SAS/ASSIST Software 241 APPENDIX 2 Customizing SAS/ASSIST Software Introduction 241 Setting User Profile Options 241 Creating an Alternate Menu Bar 243 Introduction This appendix describes how you can customize your SAS/ASSIST

More information

Macro Facility. About the Macro Facility. Automatic Macro Variables CHAPTER 14

Macro Facility. About the Macro Facility. Automatic Macro Variables CHAPTER 14 213 CHAPTER 14 Macro Facility About the Macro Facility 213 Automatic Macro Variables 213 Macro Statements 215 Macro Functions 215 SAS System Options Used by the Macro Facility 216 Using Autocall Libraries

More information

from the source host, use the FTP put command to copy a file from the source host to the target host.

from the source host, use the FTP put command to copy a file from the source host to the target host. 31 CHAPTER 4 Transferring a Transport File or a CEDA File File Transfer 31 Transport File Attributes 31 Using the FILENAME Statement or the FTP Utility to Specify File Attributes 32 Using the FILENAME

More information

SAS/ASSIST Software Setup

SAS/ASSIST Software Setup 173 APPENDIX 3 SAS/ASSIST Software Setup Appendix Overview 173 Setting Up Graphics Devices 173 Setting Up Remote Connect Configurations 175 Adding a SAS/ASSIST Button to Your Toolbox 176 Setting Up HTML

More information

Procedures. PROC CATALOG CATALOG=<libref.>catalog <ENTRYTYPE=etype> <KILL>; CONTENTS <OUT=SAS-data-set> <FILE=fileref;>

Procedures. PROC CATALOG CATALOG=<libref.>catalog <ENTRYTYPE=etype> <KILL>; CONTENTS <OUT=SAS-data-set> <FILE=fileref;> 355 CHAPTER 19 Procedures SAS Procedures under Windows 355 CATALOG 355 CIMPORT 356 CONTENTS 357 CONVERT 358 CPORT 361 DATASETS 361 OPTIONS 363 PMENU 364 PRINTTO 365 SORT 367 SAS Procedures under Windows

More information

Chapter 27 Saving and Printing Graphics

Chapter 27 Saving and Printing Graphics Chapter 27 Saving and Printing Graphics Chapter Table of Contents CHOOSING FONTS...404 SETTING DISPLAY OPTIONS...406 SAVING GRAPHICS...407 SavingGraphicsCatalogs...407 SavingGraphicsFiles...408 PRINTING...410

More information

Permission Program. Support for Version 6 Only. Allowing SAS/SHARE Client Access to SAS Libraries or Files CHAPTER 40

Permission Program. Support for Version 6 Only. Allowing SAS/SHARE Client Access to SAS Libraries or Files CHAPTER 40 499 CHAPTER 40 Permission Program Support for Version 6 Only 499 Allowing SAS/SHARE Client Access to SAS Libraries or Files 499 Permission Program Examples 500 Building the Permission Program 500 Testing

More information

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently. 255 APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software Introduction 255 Generating a QMF Export Procedure 255 Exporting Queries from QMF 257 Importing QMF Queries into Query and Reporting 257 Alternate

More information

Using Cross-Environment Data Access (CEDA)

Using Cross-Environment Data Access (CEDA) 93 CHAPTER 13 Using Cross-Environment Data Access (CEDA) Introduction 93 Benefits of CEDA 93 Considerations for Using CEDA 93 Alternatives to Using CEDA 94 Introduction The cross-environment data access

More information

Storing and Reusing Macros

Storing and Reusing Macros 101 CHAPTER 9 Storing and Reusing Macros Introduction 101 Saving Macros in an Autocall Library 102 Using Directories as Autocall Libraries 102 Using SAS Catalogs as Autocall Libraries 103 Calling an Autocall

More information

SAS File Management. Improving Performance CHAPTER 37

SAS File Management. Improving Performance CHAPTER 37 519 CHAPTER 37 SAS File Management Improving Performance 519 Moving SAS Files Between Operating Environments 520 Converting SAS Files 520 Repairing Damaged Files 520 Recovering SAS Data Files 521 Recovering

More information

The EXPLODE Procedure

The EXPLODE Procedure 415 CHATER 17 The EXLODE rocedure Overview 415 rocedure Syntax 416 ROC EXLODE Statement 416 ARMCARDS or ARMCARDS4 Statement 416 Message Lines 416 Null Statement 418 Examples 419 Example 1: Controlling

More information

External Files. Definition CHAPTER 38

External Files. Definition CHAPTER 38 525 CHAPTER 38 External Files Definition 525 Referencing External Files Directly 526 Referencing External Files Indirectly 526 Referencing Many Files Efficiently 527 Referencing External Files with Other

More information

Managing SAS Output. Printing CHAPTER 5

Managing SAS Output. Printing CHAPTER 5 101 CHAPTER 5 Managing SAS Output Printing 101 Printing from within a SAS Window 102 Changing the Print Options 103 Changing the Print Options Using the SAS System Options Window 104 Changing the Page

More information

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

Introduction. CHAPTER 3 Working in the SAS Windowing Environment 57 CHAPTER 3 Working in the SAS Windowing Environment Introduction 57 Using Function Keys 58 Using the SAS ToolBox 60 Using the Command Window 60 Using the Toolbar 61 Using the Tool Icons 61 Opening Files

More information

Formats. Formats Under UNIX. HEXw. format. $HEXw. format. Details CHAPTER 11

Formats. Formats Under UNIX. HEXw. format. $HEXw. format. Details CHAPTER 11 193 CHAPTER 11 Formats Formats Under UNIX 193 Formats Under UNIX This chapter describes SAS formats that have behavior or syntax that is specific to UNIX environments. Each format description includes

More information

Graphics. Chapter Overview CHAPTER 4

Graphics. Chapter Overview CHAPTER 4 47 CHAPTER 4 Graphics Chapter Overview 47 Additional Information 48 Producing a Bar Chart 48 Instructions 48 Adding Titles 50 Running the Graph 50 Printing the Graph 51 Exiting This Task 51 Producing a

More information

CHAPTER 13 Importing and Exporting External Data

CHAPTER 13 Importing and Exporting External Data 127 CHAPTER 13 Importing and Exporting External Data Chapter Overview 127 Exporting a File 127 Instructions 128 Exiting This Task 130 Importing Data from a Flat File 130 Instructions 130 Chapter Overview

More information

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc EXPLODE. Cary, NC: SAS Institute Inc.

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc EXPLODE. Cary, NC: SAS Institute Inc. Proc EXPLODE The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. Proc EXPLODE. Cary, NC: SAS Institute Inc. Proc EXPLODE Copyright 2004, SAS Institute Inc., Cary,

More information

Using Data Transfer Services

Using Data Transfer Services 103 CHAPTER 16 Using Data Transfer Services Introduction 103 Benefits of Data Transfer Services 103 Considerations for Using Data Transfer Services 104 Introduction For many applications, data transfer

More information

Windows: SPX Access Method

Windows: SPX Access Method 403 CHAPTER 28 Windows: SPX Access Method SAS Support for SPX on Windows 403 Tasks That Are Common to SAS/CONNECT and SAS/SHARE 404 System and Software Requirements for SAS/CONNECT and SAS/SHARE 404 Windows

More information

Data Representation. Variable Precision and Storage Information. Numeric Variables in the Alpha Environment CHAPTER 9

Data Representation. Variable Precision and Storage Information. Numeric Variables in the Alpha Environment CHAPTER 9 199 CHAPTER 9 Data Representation Variable Precision and Storage Information 199 Numeric Variables in the Alpha Environment 199 Numeric Variables in the VAX Environment 200 Missing Values 201 Variable

More information

Chapter 2 User Interface Features. networks Window. Drawing Panel

Chapter 2 User Interface Features. networks Window. Drawing Panel Chapter 2 User Interface Features networks Window When you invoke the networks application, the networks window appears. This window consists of three main components: a large drawing panel, a command

More information

Creating and Executing Stored Compiled DATA Step Programs

Creating and Executing Stored Compiled DATA Step Programs 465 CHAPTER 30 Creating and Executing Stored Compiled DATA Step Programs Definition 465 Uses for Stored Compiled DATA Step Programs 465 Restrictions and Requirements 466 How SAS Processes Stored Compiled

More information

Optimizing System Performance

Optimizing System Performance 243 CHAPTER 19 Optimizing System Performance Definitions 243 Collecting and Interpreting Performance Statistics 244 Using the FULLSTIMER and STIMER System Options 244 Interpreting FULLSTIMER and STIMER

More information

The GTESTIT Procedure

The GTESTIT Procedure 967 CHAPTER 28 The GTESTIT Procedure Overview 967 About the Pictures 968 About the LOG 971 Procedure Syntax 972 PROC GTESTIT Statement 972 Examples 973 Example 1: Testing a GOPTIONS Statement 973 Overview

More information

The TRANTAB Procedure

The TRANTAB Procedure 1291 CHAPTER 40 The TRANTAB Procedure Overview 1291 Concepts 1292 Understanding Translation Tables and Character Sets 1292 Storing Translation Tables 1292 Modifying Institute-supplied Translation Tables

More information

Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions...

Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions... Chapter 25 PROC PARETO Statement Chapter Table of Contents OVERVIEW...793 SYNTAX...794 SummaryofOptions...794 DictionaryofOptions...795 791 Part 7. The CAPABILITY Procedure SAS OnlineDoc : Version 8 792

More information

QUEST Procedure Reference

QUEST Procedure Reference 111 CHAPTER 9 QUEST Procedure Reference Introduction 111 QUEST Procedure Syntax 111 Description 112 PROC QUEST Statement Options 112 Procedure Statements 112 SYSTEM 2000 Statement 114 ECHO ON and ECHO

More information

DBLOAD Procedure Reference

DBLOAD Procedure Reference 131 CHAPTER 10 DBLOAD Procedure Reference Introduction 131 Naming Limits in the DBLOAD Procedure 131 Case Sensitivity in the DBLOAD Procedure 132 DBLOAD Procedure 132 133 PROC DBLOAD Statement Options

More information

Using the SQL Editor. Overview CHAPTER 11

Using the SQL Editor. Overview CHAPTER 11 205 CHAPTER 11 Using the SQL Editor Overview 205 Opening the SQL Editor Window 206 Entering SQL Statements Directly 206 Entering an SQL Query 206 Entering Non-SELECT SQL Code 207 Creating Template SQL

More information

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software 11 CHAPTER 2 Using the SAS System and SAS/ ASSIST Software Overview 11 Invoking the SAS System 12 Selecting Items 12 Entering Commands 13 Using Menus 13 Using Function Keys 15 Invoking SAS/ASSIST Software

More information

Chapter 6 Creating Reports. Chapter Table of Contents

Chapter 6 Creating Reports. Chapter Table of Contents Chapter 6 Creating Reports Chapter Table of Contents Introduction...115 Listing Data...115 ListDataOptions...116 List Data Titles...118 ListDataVariables...118 Example:CreateaListingReport...119 Creating

More information

OS/2: SPX Access Method

OS/2: SPX Access Method 233 CHAPTER 16 OS/2: SPX Access Method SAS Support for SPX on OS/2 233 Tasks That Are Common to SAS/CONNECT and SAS/SHARE 233 System and Software Requirements for SAS/CONNECT and SAS/SHARE 234 Setting

More information

SAS Viya 3.1 Universal Printing

SAS Viya 3.1 Universal Printing SAS Viya 3.1 Universal Printing SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2016. SAS Viya 3.1 Universal Printing. Cary, NC: SAS Institute Inc.

More information

SAS Data Libraries. Definition CHAPTER 26

SAS Data Libraries. Definition CHAPTER 26 385 CHAPTER 26 SAS Data Libraries Definition 385 Library Engines 387 Library Names 388 Physical Names and Logical Names (Librefs) 388 Assigning Librefs 388 Associating and Clearing Logical Names (Librefs)

More information

Changes and Enhancements

Changes and Enhancements vii Changes and Enhancements Introduction This section describes the features of SAS System under OS/2 that have been implemented or enhanced since Release 6.12. Version 8 changes and enhancements are

More information

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command 113 CHAPTER 11 The LOCK Statement and the LOCK Command Introduction 113 LOCK Statement 113 Syntax 114 Examples 114 LOCK Command 115 Syntax 115 Examples 115 Introduction The LOCK statement enables you to

More information

UNIX Spawner Program. Starting the UNIX Spawner Program CHAPTER 36

UNIX Spawner Program. Starting the UNIX Spawner Program CHAPTER 36 479 CHAPTER 36 UNIX Spawner Program Starting the UNIX Spawner Program 479 Examples of Starting and Connecting to the UNIX Spawner Program 482 Ending the UNIX Spawner Program 483 Starting the UNIX Spawner

More information

Informats. Informats Under UNIX. HEXw. informat. $HEXw. informat. Details CHAPTER 13

Informats. Informats Under UNIX. HEXw. informat. $HEXw. informat. Details CHAPTER 13 207 CHAPTER 13 Informats Informats Under UNIX 207 Informats Under UNIX This chapter describes SAS informats that have behavior or syntax this is specific to UNIX environments. Each informat description

More information

Data Set Options. Specify a data set option in parentheses after a SAS data set name. To specify several data set options, separate them with spaces.

Data Set Options. Specify a data set option in parentheses after a SAS data set name. To specify several data set options, separate them with spaces. 23 CHAPTER 4 Data Set Options Definition 23 Syntax 23 Using Data Set Options 24 Using Data Set Options with Input or Output SAS Data Sets 24 How Data Set Options Interact with System Options 24 Data Set

More information

Functions and CALL Routines

Functions and CALL Routines 179 CHAPTER 13 Functions and CALL Routines Functions and CALL Routines in the OS/390 Environment 179 Dictionary 180 DINFO 182 DOPEN 186 DOPTNAME 186 DOPTNUM 187 FCLOSE 188 FDELETE 188 FEXIST 189 FILEEXIST

More information

Procedures. Calls any BMDP program to analyze data in a SAS data set

Procedures. Calls any BMDP program to analyze data in a SAS data set 219 CHAPTER 15 Procedures SAS Procedures Under UNIX 219 SAS Procedures Under UNIX This chapter describes SAS procedures that have behavior or syntax that is specific to UNIX environments. Each procedure

More information

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32 479 CHAPTER 32 SAS Catalogs Definition 479 Catalog Names 479 Parts of a Catalog Name 479 Accessing Information in Catalogs 480 Tools for Managing Catalogs 480 User Profile Catalog 481 Definition 481 How

More information

10 The First Steps 4 Chapter 2

10 The First Steps 4 Chapter 2 9 CHAPTER 2 Examples The First Steps 10 Invoking the Query Window 11 Changing Your Profile 11 ing a Table 13 ing Columns 14 Alias Names and Labels 14 Column Format 16 Creating a WHERE Expression 17 Available

More information

SAS I/O Engines. Definition. Specifying a Different Engine. How Engines Work with SAS Files CHAPTER 36

SAS I/O Engines. Definition. Specifying a Different Engine. How Engines Work with SAS Files CHAPTER 36 511 CHAPTER 36 SAS I/O Engines Definition 511 Specifying a Different Engine 511 How Engines Work with SAS Files 511 Engine Characteristics 513 Read/Write Activity 513 Access Patterns 514 Levels of Locking

More information

Chapter 25 Editing Windows. Chapter Table of Contents

Chapter 25 Editing Windows. Chapter Table of Contents Chapter 25 Editing Windows Chapter Table of Contents ZOOMING WINDOWS...368 RENEWING WINDOWS...375 ADDING AND DELETING...378 MOVING AND SIZING...385 ALIGNING GRAPHS...391 365 Part 2. Introduction 366 Chapter

More information

Using Unnamed and Named Pipes

Using Unnamed and Named Pipes 227 CHAPTER 12 Using Unnamed and Named Pipes Overview of Pipes 227 Using Unnamed Pipes 228 Unnamed Pipe Syntax 228 Using Redirection Sequences 229 Unnamed Pipe Example 229 Using Named Pipes 230 Named Pipe

More information

CHAPTER 7 Using Other SAS Software Products

CHAPTER 7 Using Other SAS Software Products 77 CHAPTER 7 Using Other SAS Software Products Introduction 77 Using SAS DATA Step Features in SCL 78 Statements 78 Functions 79 Variables 79 Numeric Variables 79 Character Variables 79 Expressions 80

More information

Chapter 23 Animating Graphs. Chapter Table of Contents ANIMATING SELECTION OF OBSERVATIONS ANIMATING SELECTED GRAPHS...347

Chapter 23 Animating Graphs. Chapter Table of Contents ANIMATING SELECTION OF OBSERVATIONS ANIMATING SELECTED GRAPHS...347 Chapter 23 Animating Graphs Chapter Table of Contents ANIMATING SELECTION OF OBSERVATIONS...343 ANIMATING SELECTED GRAPHS...347 341 Part 2. Introduction 342 Chapter 23 Animating Graphs SAS/INSIGHT software

More information

Chapter 7 File Access. Chapter Table of Contents

Chapter 7 File Access. Chapter Table of Contents Chapter 7 File Access Chapter Table of Contents OVERVIEW...105 REFERRING TO AN EXTERNAL FILE...105 TypesofExternalFiles...106 READING FROM AN EXTERNAL FILE...107 UsingtheINFILEStatement...107 UsingtheINPUTStatement...108

More information

SAS/ACCESS Interface to R/3

SAS/ACCESS Interface to R/3 9.1 SAS/ACCESS Interface to R/3 User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS/ACCESS 9.1 Interface to R/3: User s Guide. Cary, NC: SAS Institute

More information

The FORMS Procedure. Overview CHAPTER 20

The FORMS Procedure. Overview CHAPTER 20 481 CHAPTER 20 The FORMS Procedure Overview 481 Procedure Syntax 483 PROC FORMS Statement 483 BY Statement 487 FREQ Statement 487 LINE Statement 488 Concepts 489 Form Layout 489 Modes of Operation 490

More information

SAS/FSP 9.2. Procedures Guide

SAS/FSP 9.2. Procedures Guide SAS/FSP 9.2 Procedures Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2008. SAS/FSP 9.2 Procedures Guide. Cary, NC: SAS Institute Inc. SAS/FSP 9.2 Procedures

More information

Using Dynamic Data Exchange

Using Dynamic Data Exchange 145 CHAPTER 8 Using Dynamic Data Exchange Overview of Dynamic Data Exchange 145 DDE Syntax within SAS 145 Referencing the DDE External File 146 Determining the DDE Triplet 146 Controlling Another Application

More information

Administering SAS Enterprise Guide 4.2

Administering SAS Enterprise Guide 4.2 Administering SAS Enterprise Guide 4.2 SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2009. Administering SAS Enterprise Guide 4.2. Cary, NC: SAS

More information

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio SAS Simulation Studio 14.1: User s Guide Introduction to SAS Simulation Studio This document is an individual chapter from SAS Simulation Studio 14.1: User s Guide. The correct bibliographic citation for

More information

Defining Your Data Sources

Defining Your Data Sources 11 CHAPTER 2 Defining Your Data Sources Introduction 11 Accessing the SAS ODBC Driver Dialogs 11 Naming Your Data Source and Specifying SQL Options 14 Defining Servers 15 Deleting a Server Definition 19

More information

Using SAS Files. Introduction CHAPTER 5

Using SAS Files. Introduction CHAPTER 5 123 CHAPTER 5 Using SAS Files Introduction 123 SAS Data Libraries 124 Accessing SAS Files 124 Advantages of Using Librefs Rather than OpenVMS Logical Names 124 Assigning Librefs 124 Using the LIBNAME Statement

More information

USER TRAINING AND SUPPORT

USER TRAINING AND SUPPORT Printing in BAS- under OS/2- or Windows: A Tutoria1 Jeffrey M. Abolafia Collaborative Studies coordinating Center University of North Carolina at Chapel Hill Introduction Version 6.08 of the SAS System,

More information

SAS Enterprise Guide 4.3

SAS Enterprise Guide 4.3 Administering SAS Enterprise Guide 4.3 SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc 2010. Administering SAS Enterprise Guide 4.3. Cary, NC: SAS

More information

OpenVMS Operating Environment

OpenVMS Operating Environment 81 CHAPTER 11 OpenVMS Operating Environment Listing OpenVMS System File Attributes 81 Specifying File Attributes for OpenVMS 82 Determining the SAS Release Used to Create a Member for OpenVMS 82 Mounting

More information

SAS Support for TELNET on Windows

SAS Support for TELNET on Windows 437 CHAPTER 30 Windows: TELNET Access Method SAS Support for TELNET on Windows 437 SAS/CONNECT 437 System and Software Requirements for SAS/CONNECT 437 Local Host Tasks 438 Configuring Local and Remote

More information

The SERVER Procedure. Introduction. Syntax CHAPTER 8

The SERVER Procedure. Introduction. Syntax CHAPTER 8 95 CHAPTER 8 The SERVER Procedure Introduction 95 Syntax 95 Syntax Descriptions 96 Examples 101 ALLOCATE SASFILE Command 101 Syntax 101 Introduction You invoke the SERVER procedure to start a SAS/SHARE

More information

Choosing the Right Procedure

Choosing the Right Procedure 3 CHAPTER 1 Choosing the Right Procedure Functional Categories of Base SAS Procedures 3 Report Writing 3 Statistics 3 Utilities 4 Report-Writing Procedures 4 Statistical Procedures 5 Efficiency Issues

More information

Administrator for Enterprise Clients: User s Guide. Second Edition

Administrator for Enterprise Clients: User s Guide. Second Edition Administrator for Enterprise Clients: User s Guide Second Edition The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2002. Administrator for Enterprise Clients: User s

More information

Chapter 41 SAS/INSIGHT Statements. Chapter Table of Contents

Chapter 41 SAS/INSIGHT Statements. Chapter Table of Contents Chapter 41 SAS/INSIGHT Statements Chapter Table of Contents DETAILS...706 PROCINSIGHTStatement...707 WINDOWStatement...708 OPENStatement...708 BYStatement...709 CLASSStatement...709 BARStatement...709

More information

SAS. IT Service Level Management 2.1: Migration Documentation

SAS. IT Service Level Management 2.1: Migration Documentation SAS IT Service Level Management 2.1: Migration Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2005. SAS IT Service Level Management 2.1: Migration Documentation.

More information

Batch Importing. Overview CHAPTER 4

Batch Importing. Overview CHAPTER 4 45 CHAPTER 4 Batch Importing Overview 45 Implementation 46 Specifying the Input Parameters 46 The IMP_TYPE Macro Variable 46 INFILE Macro Variable or Required Filerefs 47 NIDVARS and IDVARn Macro Variables

More information

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

Tasks Menu Reference. Introduction. Data Management APPENDIX 1 229 APPENDIX 1 Tasks Menu Reference Introduction 229 Data Management 229 Report Writing 231 High Resolution Graphics 232 Low Resolution Graphics 233 Data Analysis 233 Planning Tools 235 EIS 236 Remote

More information

The GIMPORT Procedure

The GIMPORT Procedure 705 CHAPTER 17 The GIMPORT Procedure Overview 705 Concepts 706 About Importing Graphics 706 Specifying a Fileref 706 Importing the File 706 CGM Elements Not Supported 707 About Color Mapping 707 About

More information

Batch and Line Mode Processing in SAS Viya

Batch and Line Mode Processing in SAS Viya Batch and Line Mode Processing in SAS Viya SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2016. Batch and Line Mode Processing in SAS Viya. Cary,

More information

Changes and Enhancements

Changes and Enhancements ix Introduction This section describes the features of SAS Component Language that have been implemented or enhanced since Release 6.12. Information about changes and enhancements that were implemented

More information

WKn Chapter. Note to UNIX and OS/390 Users. Import/Export Facility CHAPTER 9

WKn Chapter. Note to UNIX and OS/390 Users. Import/Export Facility CHAPTER 9 117 CHAPTER 9 WKn Chapter Note to UNIX and OS/390 Users 117 Import/Export Facility 117 Understanding WKn Essentials 118 WKn Files 118 WKn File Naming Conventions 120 WKn Data Types 120 How the SAS System

More information

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc FORMS. Cary, NC: SAS Institute Inc.

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc FORMS. Cary, NC: SAS Institute Inc. Proc FORMS The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. Proc FORMS. Cary, NC: SAS Institute Inc. Proc FORMS Copyright 2004, SAS Institute Inc., Cary, NC, USA

More information

Installation Instructions for SAS/ACCESS Interface to SAP BW

Installation Instructions for SAS/ACCESS Interface to SAP BW Installation Instructions for SAS/ACCESS 9.1.3 Interface to SAP BW Copyright Notice The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Installation Instructions for SAS/ACCESS

More information

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27 959 CHAPTER 27 The GSLIDE Procedure Overview 959 About Text Slides 959 About Annotate Output 960 Procedure Syntax 960 PROC GSLIDE Statement 961 Examples 963 Example 1: Producing Text Slides 963 Example

More information

SAS Universal Viewer 1.3

SAS Universal Viewer 1.3 SAS Universal Viewer 1.3 User's Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2012. SAS Universal Viewer 1.3: User's Guide. Cary, NC: SAS

More information

Alternative ODS HTML Statements for Running Examples in Different Operating Environments

Alternative ODS HTML Statements for Running Examples in Different Operating Environments 275 APPENDIX 1 Alternative ODS HTML Statements for Running Examples in Different Operating Environments Using an OS/390 UNIX System Services HFS Directory for HTML Output 275 Using an OS/390 PDSE for EBCDIC

More information

The TIMEPLOT Procedure

The TIMEPLOT Procedure 1247 CHAPTER 38 The TIMEPLOT Procedure Overview 1247 Procedure Syntax 1249 PROC TIMEPLOT Statement 1250 BY Statement 1250 CLASS Statement 1251 ID Statement 1252 PLOT Statement 1252 Results 1257 Data Considerations

More information

Licensing SAS DataFlux Products

Licensing SAS DataFlux Products Licensing SAS DataFlux Products The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2014. Licensing SAS DataFlux Products. Cary, NC: SAS Institute Inc. Licensing SAS DataFlux

More information

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4 37 CHAPTER 4 SCL Arrays Introduction 37 Declaring Arrays 37 Referencing Array Elements 38 Grouping Variables That Have Sequential Names 39 Initializing The Elements of A Static Array 39 Assigning the Same

More information

Chapter 28 Command Reference. Chapter Table of Contents TSVIEW COMMAND FORECAST COMMAND

Chapter 28 Command Reference. Chapter Table of Contents TSVIEW COMMAND FORECAST COMMAND Chapter 28 Command Reference Chapter Table of Contents TSVIEW COMMAND...1353 FORECAST COMMAND...1353 1351 Part 3. General Information 1352 Chapter 28 Command Reference TSVIEW command The TSVIEW command

More information

Performance Considerations

Performance Considerations 149 CHAPTER 6 Performance Considerations Hardware Considerations 149 Windows Features that Optimize Performance 150 Under Windows NT 150 Under Windows NT Server Enterprise Edition 4.0 151 Processing SAS

More information

Changes and Enhancements

Changes and Enhancements vii Introduction This section describes the host-specific features of SAS software under OS/390 that have been implemented or enhanced since the 6.09 Enhanced Release. Note: Information about changes and

More information

Introduction to Using Groupware with the SAS System

Introduction to Using Groupware with the SAS System 129 CHAPTER 7 Using Groupware to Distribute SAS Data Introduction to Using Groupware with the SAS System 129 Sending E-Mail from within the SAS System 129 Initializing E-Mail 130 Using the Send Mail Dialog

More information

SAS Model Manager 2.2. Tutorials

SAS Model Manager 2.2. Tutorials SAS Model Manager 2.2 Tutorials The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2009. SAS Model Manager 2.2: Tutorials. Cary, NC: SAS Institute Inc. SAS Model Manager

More information

DATA Step Debugger APPENDIX 3

DATA Step Debugger APPENDIX 3 1193 APPENDIX 3 DATA Step Debugger Introduction 1194 Definition: What is Debugging? 1194 Definition: The DATA Step Debugger 1194 Basic Usage 1195 How a Debugger Session Works 1195 Using the Windows 1195

More information

UNIX Platform Error Messages

UNIX Platform Error Messages 553 CHAPTER 46 UNIX Platform Error Messages UNIX: APPC Access Method 553 SAS/CONNECT and SAS/SHARE 553 HP-UX Messages 553 Solaris Messages 554 AIX Messages 555 UNIX: TCP/IP and TELNET Access Methods 556

More information

Allocating External Files

Allocating External Files 69 CHAPTER 5 Allocating External Files Introduction 69 Ways of Allocating External Files 69 Using the FILENAME Statement or Function to Allocate External Files 70 FILENAME Statement Syntax 71 FILENAME

More information

Introduction to Using Groupware with the SAS System

Introduction to Using Groupware with the SAS System 161 CHAPTER 7 Using Groupware to Distribute SAS Data Introduction to Using Groupware with the SAS System 161 Sending Electronic Mail from within the SAS System 161 Initializing Electronic Mail 162 Using

More information

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services 55 CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services Introduction 55 Example 1. Compute Services and Data Transfer Services Combined: Local and Remote Processing 56 Purpose 56

More information

Introduction. Getting Started with the Macro Facility CHAPTER 1

Introduction. Getting Started with the Macro Facility CHAPTER 1 1 CHAPTER 1 Introduction Getting Started with the Macro Facility 1 Replacing Text Strings Using Macro Variables 2 Generating SAS Code Using Macros 3 Inserting Comments in Macros 4 Macro Definition Containing

More information

Locking SAS Data Objects

Locking SAS Data Objects 59 CHAPTER 5 Locking SAS Data Objects Introduction 59 Audience 60 About the SAS Data Hierarchy and Locking 60 The SAS Data Hierarchy 60 How SAS Data Objects Are Accessed and Used 61 Types of Locks 62 Locking

More information

Installation Instructions for SAS Activity-Based Management 6.2

Installation Instructions for SAS Activity-Based Management 6.2 Installation Instructions for SAS Activity-Based Management 6.2 Copyright Notice The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Installation Instructions for SAS

More information

CHAPTER 5 Macintosh: TCP/IP Access Method

CHAPTER 5 Macintosh: TCP/IP Access Method 69 CHAPTER 5 Macintosh: TCP/IP Access Method SAS Support for TCP/IP on Macintosh 69 Tasks That Are Common to SAS/CONNECT and SAS/SHARE 70 System and Software Requirements for SAS/CONNECT and SAS/SHARE

More information