LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu

I would use the -sysparm option:

sas.exe <options> -sysparm "this is a test"

Then in SAS: %put &sysparm;

HTH, Scott

<ayo6@cdc.gov> wrote in message news:1154700148.039618.279870@m79g2000cwm.googlegroups.com... >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?


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