Directing SAS Log and SAS Procedure Output |
Beginning in Release 8.2, you can use the DMPRINT command to copy the contents of many different windows to external files. Issue the DMPRINT command on the command line of the window whose contents you want to copy. SAS displays the Print window. If the Use Forms check box is visible, verify that it is not selected. Select the option Print to File. An input window asks you for the name of the file to which to save the window contents. You must enter the fully qualified filename. If the file does not exist, a dialog box asks you whether you want to create the file and whether you want to catalog it. If the file does exist, a dialog box asks you whether you want to replace it or to append data to the existing data. This option is not available if SAS is invoked with the NOUNIVERSALPRINT system option set.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.