Ah, SAS. I used that a lot in the early '80s for general programming. I felt a lot about SAS then as I do about Python now.
Enough of that. Can you show your python code that invokes SAS; and can you also show what you type at a command line that makes SAS run the way you want? Given the command line, it should be pretty straightforward to move the command line invocation into Python. On Tue, 8 Feb 2005, Williams, Thomas wrote: > I'll do my best to answer these questions for you. > > I am able to start the SAS executable from python, but not the specific SAS > program in question. When this executable is executed, the typical SAS > environment is displayed (SAS editor Window, SAS libraries, and the output > and log windows). I want to have a specific SAS program executing with the > assigned parameters that will be read into a SAS macro. > > This SAS program was originally called from an AML (Arc Macro Language), > again, with the parameters passed to it. > > OS: WindowsNT > > Let me know if you need further information. > > Thanks again, > Tom > > > -----Original Message----- > From: Alan Gauld [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 08, 2005 1:57 PM > To: Williams, Thomas; tutor@python.org > Subject: Re: [Tutor] executing SAS and passing parameters > > > I am trying to use python to run a SAS program by passing the needed > > parameters. I am able to start SAS, but unable to start the correct > SAS > > program with its parameters. > > Not being familiar with SAS or its parameters we'll need more clues... > > > Any assistance you could provide will be appreciated. > > Can you show us what you used to start SAS? > Can you tell us exactly what happened? - any errors etc? > Can you show us how you'd do it outside of Python? > Can you tell us which OS you are using? > > With that info we should be able to make a stab at it. > > Alan G. > > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor