Date: Wed, 4 Jun 2003 09:08:39 -0400
Reply-To: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Subject: Re: PAPERSIZE system option
Content-Type: text/plain
> From: Hockey Richard [mailto:rhockey@MATER.ORG.AU]
> Has anyone found how to make the PAPERSIZE option work in the
> SAS config file. I want to change it from the default
> 'Letter' to A4. It works as a SAS statement. ie OPTIONS
> PAPERSIZE='ISO A4' (It seems it must be specified as ISO A4
> not just A4 to work) but I can't get it to work in the config
> file. I've tried -PAPERSIZE 'ISO A4' -PAPERSIZE A4 etc Any
> combination just crashes SAS. BTW -PAPERSIZE LETTER also
> doesn't work.
in config you'll find one system variable -- SysVar -- with a value enclosed
in sQuotes
-SET FT15F001 'FT15F001.DAT'
so I suggest using dQuotes, as all option variables -- OptVar -- are
dQuoted,
-PAPERSIZE "ISO A4"
which you'll then want to check with
%PUT PAPERSIZE<%sysfunc(getoption(papersize))>;
> The only workaround I've found is to put it in
> the autoexec.sas, not very elegent though. Cheers Richard
not elegant, indeed?
do you not have a central autoexec?
Ron Fehd the config maven CDC Atlanta GA USA RJF2@cdc.gov
do not fold, spindle, or mutilate -- IBM punch card
... the config file