This script is a configuration macro and does not directly process input data for analysis. It manipulates macro parameters and system options to prepare the environment for generating graphic outputs in PDF format. Output file names are dynamically constructed from parameters provided to the macro or from environment variables.
1 Code Block
MACRO %PDF
Explanation : This code block defines the `%PDF` macro. It first declares global macro variables (`gsasfile`, `gsasdir`, `devtyp`) used for managing output files. Inside the macro, the graphic device type is set to 'PDF'. The macro uses the external macro `%sasgfile` to construct the base name of the graphic file. A full path is then assigned to the `gsasfile` fileref. Conditional logic based on the SAS system version (`&sysver`) adjusts the `gprolog` and `gaccess` parameters to ensure compatibility. Finally, several `goptions` statements are used to configure the graphic device, output dimensions, text font, file writing mode, and other attributes of the PDF output.
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
Copyright Info : Author: Michael Friendly <friendly @yorku.ca> Created: 5 Dec 1996 14:30:47 Revised: 5 Jan 1997 10:46:34 Version: 1.1
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. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.