How to configure TextPad for running SAS ?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
How to configure TextPad for running SAS ?
Hello everybody,
I am a beginner with TextPad and I search the way to configure TextPad in order to run SAS codes.
I know this is by editing an external tool, but I have a problem with the "parameters" box.
What should I write into it ?
Thanks
I am a beginner with TextPad and I search the way to configure TextPad in order to run SAS codes.
I know this is by editing an external tool, but I have a problem with the "parameters" box.
What should I write into it ?
Thanks
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
It might be that the contributors here are unfamiliar with the SAS to which you refer. I, for one, have nothing but my suspicion that it has little to do with either Scandinavian Airlines or the Special Air Service regiment of the British Army.
You are not giving much help to those who may be able and willing to help you.
What parameters do you normally supply to the program you want to run?
You are not giving much help to those who may be able and willing to help you.
What parameters do you normally supply to the program you want to run?
Hum when I read the whole discussion, I have to agree with you ! I am not very clear, I guess that my attention is mainly focused on english language and not on what I am really saying ^^'
SAS is a Stats software. You have an editor in it, you select the part of code you want to run, you just push a button and this is it ! So, I do not really now what parameters I supply, this is kind of automatic !
I asked this question on SAS community forum, and they told me they do not now anything about TextPad
! It is difficult to have someone who knows how to do the link between these two softwares.
I found this on this website :
http://homes.ori.org/~keiths/Files/Tips ... html#Tools
Menu Text: SAS System
Note: On windows NT or XP: Choose "Add DOS Command"
Command: cmd.exe (grayed, not editable)
Parameters: Start "SAS Program" /low "{SASfolder}\Sas.exe"
$File -NOSPLASH -CONFIG "{SASfolder}\SASV8.CFG"
Initial Folder: $FileDir
boxes: [X] Run minimized; [X] Close DOS window on exit
but I have an error when I try it
Thanks for answering and making me more precise about my question
SAS is a Stats software. You have an editor in it, you select the part of code you want to run, you just push a button and this is it ! So, I do not really now what parameters I supply, this is kind of automatic !
I asked this question on SAS community forum, and they told me they do not now anything about TextPad
I found this on this website :
http://homes.ori.org/~keiths/Files/Tips ... html#Tools
Menu Text: SAS System
Note: On windows NT or XP: Choose "Add DOS Command"
Command: cmd.exe (grayed, not editable)
Parameters: Start "SAS Program" /low "{SASfolder}\Sas.exe"
$File -NOSPLASH -CONFIG "{SASfolder}\SASV8.CFG"
Initial Folder: $FileDir
boxes: [X] Run minimized; [X] Close DOS window on exit
but I have an error when I try it
Thanks for answering and making me more precise about my question
Last edited by JKlein on Tue Jun 03, 2014 8:11 am, edited 1 time in total.
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
The link you gave is wrong. It should be
http://homes.ori.org/~keiths/Files/Tips ... html#Tools
"I have an error" is not helpful. What error do you have?
You did replace {SASfolder} with your SAS installation folder, didn't you?
http://homes.ori.org/~keiths/Files/Tips ... html#Tools
"I have an error" is not helpful. What error do you have?
You did replace {SASfolder} with your SAS installation folder, didn't you?
Error corrected. On this website, it is written to put in the parameters box :
Start "SAS Program" /low "{SASfolder}\Sas.exe"$File -NOSPLASH -CONFIG"{SASfolder}\SASV8.CFG"
I tried : "C:\Program Files\SASHome\SASFoundation\9.3\Sas.exe"$File -NOSPLASH -CONFIG "C:\Program Files\SASHome\SASFoundation\9.3\SASV9.CFG"
So yes, I replaced {SASfolder}. Moreover, I have a SAS9.CFG file instead of SAS8.CFG because I have a version 9.
The error I have in cmd window is in my langage and I'm affraid I have to try to translate it
. It says : "the folder cannot be found. wrong syntax file name, directory".
I may misunderstood the TextPad syntax to specify the folder
Hope that this is quite clear now
Start "SAS Program" /low "{SASfolder}\Sas.exe"$File -NOSPLASH -CONFIG"{SASfolder}\SASV8.CFG"
I tried : "C:\Program Files\SASHome\SASFoundation\9.3\Sas.exe"$File -NOSPLASH -CONFIG "C:\Program Files\SASHome\SASFoundation\9.3\SASV9.CFG"
So yes, I replaced {SASfolder}. Moreover, I have a SAS9.CFG file instead of SAS8.CFG because I have a version 9.
The error I have in cmd window is in my langage and I'm affraid I have to try to translate it
I may misunderstood the TextPad syntax to specify the folder
Hope that this is quite clear now
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
No. The Capture output check box should always be there. It should be selectable if the command is a console program, and non-selectable (greyed) otherwise. cmd.exe is a console program. So if that check box isn't present or isn't selectable I have no idea why.
Which version of TextPad are you using?
Which version of TextPad are you using?
This is an old one : 5.4.2 version.
I have five selectable options :
- Run minimized
- Close DOS window on exit
- Save documents before the start
- Waiting for parameters
- Capture messages
Do you think I should use the last version of TextPad ? This one has been advised to me by my boss because he doesn't know how to select blocs in the new one
I have five selectable options :
- Run minimized
- Close DOS window on exit
- Save documents before the start
- Waiting for parameters
- Capture messages
Do you think I should use the last version of TextPad ? This one has been advised to me by my boss because he doesn't know how to select blocs in the new one
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm