|
John,
I run SAS batch jobs in TextPad all the time. I have the
extension SAS set to open in TextPad. I use TextPad configure
menu to set this. Then under RUN, fill in the dialog box. If
you want SAS options they go on the line named "Parameters".
Just add
$file - to say this file
-config "your config" - to specify the config file
The log and listing by default go to the same directory as the
program and I have the default directory follow the data set, so
it is easy to locate the parts and keep them open and flip back
and forth making changes when required. You can add keys to make
everything work that way, but I find the basic default apparatus
serves quite well.
Ian Whitlock
-----------------
Date: Fri, 28 Oct 2005 06:19:06 -0400
Reply-To: John Hendrickx <John_Hendrickx@YAHOO.COM>
Sender: "SAS(r) Discussion"
From: John Hendrickx <John_Hendrickx@YAHOO.COM>
Subject: Open file in Textpad with SAS
I've been looking for a way to launch SAS from Textpad (or any
other editor)
and open the file being edited. I don't want to use SASOACT.EXE
which
Explorer uses to open SAS program files because it won't let me
specify
which configuration file to use. A fairly good solution is to use
the
startup option:
-initstmt 'dm "whostedit ""$FILE"" " continue;'
The only drawback is that this method also opens a "Program
Editor" window
(as well as opening $FILE in the advanced editor). Is there a dm
command or
any other method to automatically close the program editor
window? Or are
there any other ways to open the current file in an editor with
SAS?
John Hendrickx
|