Date: Fri, 15 Jan 1999 09:47:06 -0800
Reply-To: Jay Zhou <zhou_jay@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Jay Zhou <zhou_jay@YAHOO.COM>
Subject: Re: [Call a SAS prog from a SAS prog?]
Content-Type: text/plain; charset=us-ascii
Another method can be like this:
filename prog 'c:\sasdat\prog\profile.sas';
%inc prog;
If you want to recall more than one program from 'c:\sasdat\prog'
subdirectory, use the following code:
filename prog 'c:\sasdat\prog';
%inc prog(profile1);
%inc prog(profile2);
%inc prog(profile3); ...
Jay
---Ronald Manley wrote:
>
> Yes use include ie.
> %include 'c:\sasdat\prog\profile.sas';
>
> Ron.
> owner-sas-l@UGA.CC.UGA.EDU wrote:
> > Is there a way (using SAS 6.11 on an NT 4.0 box) to call a SAS
program
>
> > from a SAS program? e.g.
>
> >
>
> > Data junk;
>
> > set junk;
>
> > x=q*2;
>
> > run;
>
> >
>
> > c:\temp\DoIt.sas; * <<----- Calls the SAS program DoIt.sas;
>
> >
>
> > (other SAS code)
>
> >
>
> > Thanks,
>
> > Nigel
>
> >
>
> >
>
> > ______________________________________________________
>
> > Get Your Private, Free Email at http://www.hotmail.com
>
>
>
> END
> I want to die in my sleep like my grandfather ... ... Not
> screaming and yelling like the passengers in his car ...
>
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> Ronald Manley
> Stillwater Ok. 74075-2602
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>
> ____________________________________________________________________
> More than just email--Get your FREE Netscape WebMail account today
at http://home.netscape.com/netcenter/mail
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com