Date: Sat, 5 Aug 2006 12:17:25 +0800
Reply-To: Scott Bass <sas_l_739.at.yahoo.dot.com.dot.au@PESTO.CC.UGA.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Bass <sas_l_739.at.yahoo.dot.com.dot.au@PESTO.CC.UGA.EDU>
Subject: Re: invoking SAS from Windows and run SAS program
I would use the -sysparm option:
sas.exe <options> -sysparm "this is a test"
Then in SAS:
<firstname.lastname@example.org> wrote in message
>I have a SAS program that loads an Excel file and then runs the stats
> on it to the printer.
> I want to design a Windows form that lets you select the file and save
> it to a variable to pass to SAS. I also want to be able to select the
> output method, html, printer , etc. I know how to create Windows forms
> in VB and I know you can invoke SAS from a DOS Prompt by typing in the
> path, sas.exe and cfg file info (C:\Program Files\SAS\SAS 9.1\sas.exe"
> -CONFIG "C:\Program Files\SAS\SAS 9.1\nls\en\SASV9.CFG). What other
> command line switches are there. How could I pass the path/file
> variable to a SAS Macro variable?