|
Lex,
Thanks. I was unable to use your code inside SAS, but I found the following
code will load the temp.sas for me:
dm 'include "c:\temp\temp.sas" ';
However, I can not use it for batch job since I use the display manager. It
will be great if there is another way to do it.
Regards,
James
>From: "Lex Jansen" <l.jansen@lex-jansen.demon.nl>
>Reply-To: <l.jansen@lex-jansen.demon.nl>
>To: <jameszhou@HOTMAIL.COM>
>Subject: Re: How to load (open) a program file onto the Program Editor
>Date: Sat, 24 Jun 2000 20:36:24 +0200
>
>James,
>
>Try this:
>
>SAS V6.12:
>"C:\SAS\CORE\SASEXE\SASOACT.EXE" action=Open datatype=SASFile
>filename="your
>program.sas"
>
>SAS V8:
>"C:\Program Files\SAS Institute\SAS\V8\CORE\SASEXE\SASOACT.EXE" action=Open
>datatype=SASFile filename="your program.sas"
>
>Regards,
>
>Lex Jansen
>
>"James Zhou" <jameszhou@HOTMAIL.COM> wrote in message
>news:20000624173413.25203.qmail@hotmail.com...
> > Dear SAS-Lers,
> >
> > I use a code-generator to create a SAS program which needs to be loaded
>to
> > the Editor window without using the File Menu. I want to add a couple
>of
> > lines to the code-generator to open the file automatically after it is
> > created. Any idea?
> >
> > Thanks in advance!
> >
> > James
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|