Re: [Tutor] executing SAS and passing parameters

2005-02-09 Thread Terry Carroll
I'd echo what Alan said. It sounds more like you're having trouble finding out what the command line to SAS should look like, rather than invoking it with Python. (I'm going to quote some of your message out-of-order to better facilitate my approach to this. I will, I trust, not misrepresent

Re: [Tutor] executing SAS and passing parameters

2005-02-09 Thread Alan Gauld
> os.execl('C:\Program Files\SAS Institute\SAS\V8\SAS.exe') You might find that os.system() is all you need here, but if execl works don't worry too much. > However, the program in question is c:\work\run_ratios.sas, with 2 > parameters: incov, and outcov. This program was initially invoked from

RE: [Tutor] executing SAS and passing parameters

2005-02-08 Thread Terry Carroll
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 > > parameter

RE: [Tutor] executing SAS and passing parameters

2005-02-08 Thread Williams, Thomas
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 th

Re: [Tutor] executing SAS and passing parameters

2005-02-08 Thread Alan Gauld
> 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 apprec