Date: Fri, 15 Aug 1997 09:06:07 -0400
Reply-To: Boyd Newlin <Boyd_Newlin@PPD-PHARMACO.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Boyd Newlin <Boyd_Newlin@PPD-PHARMACO.CO.UK>
Subject: Thanks! re: page orientation
Content-type: text/plain; charset=US-ASCII
I would like to thank Jim Lynch and Carman Pagano for providing the answer
to automatically assign
page orientation within a SAS program. This could even be considered an
infamous "Phil Mason SAS Tip".
The answer is:
Just place the below statement before any output procedure. DM stands for
Display manager, I think.
DM 'DLGPRTSETUP ORIENT=LANDSCAPE NODISPLAY';
There are other dlg commands such as dlgfont, etc. Just go into the online
help and click on the FIND tab and type
dlg. Jim Lynch was right, you would have had to dig quite a bit to find
this information. One problem though, with the other
dlg commands, the NODISPLAY option does not apply to all dlg commands. So
the dialog box will appear, defeating
the purpose. I wonder what other little tidbits are deep down in the SAS
system in a Win95 environment, It seems there are
a lot, a lot more than in a Unix environment.
Another obvious little tip: To change the working root directory within a
SAS program:
x cd c:\whatever\whatever;
To create a directory:
BUT the dos window appears, I haven't figured out how to get rid of that
yet.......any suggestions?
x mkdir c:\whatever;
Cheers
Boyd Newlin
PPD Pharamco, Inc.