Re: Can a SAS program call another SAS program #2

  • Follow


Dave,

What you want to do can be done with %include.

Bob Abelson
HGSI
240 314 4400 x1374
bob_abelson@hgsi.com




David Fickbohm <DavidF@HOMEGAIN.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
10/15/2004 04:05 PM
Please respond to David Fickbohm


        To:     SAS-L@LISTSERV.UGA.EDU
        cc:
        Subject:        Can a SAS program call another SAS program


People,
I am writing a report that counts the number of widgets produced by
partners.   I have a small routine that finds the partners id number and
name.  Obviously I could copy this code into my program and execute it.  I
was wondering if there was a more elegant way of "Calling" a SAS program
from within a SAS program.   I am running SAS 8.1 in windows.
Thanks
Dave

Dave Fickbohm
Data Mining Analyst
Homegain+
2450 45th St.
Emeryville, CA, 94608
Phone 510 655 0800 ext 4151
0
Reply Bob_Abelson (324) 10/15/2004 8:12:33 PM

Can also be done using a macro (would allow you to pass parameters to the
subroutine),
or with SAS/Connect (would allow parallel processing).

"Bob Abelson" <Bob_Abelson@HGSI.COM> wrote in message
news:OF63BD028A.2416106B-ON85256F2E.006EC589-85256F2E.006F03CE@hgsi.com...
> Dave,
>
> What you want to do can be done with %include.
>
> Bob Abelson
> HGSI
> 240 314 4400 x1374
> bob_abelson@hgsi.com
>
>
>
>
> David Fickbohm <DavidF@HOMEGAIN.COM>
> Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
> 10/15/2004 04:05 PM
> Please respond to David Fickbohm
>
>
>         To:     SAS-L@LISTSERV.UGA.EDU
>         cc:
>         Subject:        Can a SAS program call another SAS program
>
>
> People,
> I am writing a report that counts the number of widgets produced by
> partners.   I have a small routine that finds the partners id number and
> name.  Obviously I could copy this code into my program and execute it.  I
> was wondering if there was a more elegant way of "Calling" a SAS program
> from within a SAS program.   I am running SAS 8.1 in windows.
> Thanks
> Dave
>
> Dave Fickbohm
> Data Mining Analyst
> Homegain+
> 2450 45th St.
> Emeryville, CA, 94608
> Phone 510 655 0800 ext 4151


0
Reply KevinMyers (191) 10/15/2004 8:33:04 PM


1 Replies
38 Views

(page loaded in 0.454 seconds)

Similiar Articles:













7/22/2012 6:06:26 PM


Reply: