LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (June 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 24 Jun 2000 15:27:28 PDT
Reply-To:   James Zhou <jameszhou@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   James Zhou <jameszhou@HOTMAIL.COM>
Subject:   Re: How to load (open) a program file onto the Program Editor
Comments:   To: l.jansen@lex-jansen.demon.nl, sas-l@uga.cc.uga.edu
Content-Type:   text/plain; format=flowed

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


Back to: Top of message | Previous page | Main SAS-L page