Date: Tue, 24 Apr 2001 16:37:56 +0100
Reply-To: Peter Crawford <peter.crawford@DB.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@DB.COM>
Subject: Re: Add-in/plug-in for SAS
Content-type: text/plain; charset=iso-8859-1
may I assume you don't want to send an email, but just invoke
your private print program ?
Then you probably want to get the menu to invoke your program,
receiving data like a file prepared by some sas process.
The file command from pgm/log/output/+++ windows will easily
create such a file (if it is not already prepared by ods).
The X command can be used to invoke an application in your current
environment. Depending on whether you need to keep control of
timings, you may want to set option Xsync to yes or no.
On winXX platforms, you probably want to set option noXwait.
These are features described as if your session is in display
manager, but there are corresponding methods available for a sas
job running in batch.
good luck
Datum: 24/04/2001 14:42
An: SAS-L@listserv.uga.edu
Antwort an: printwork@yahoo.com
Betreff: Re: Add-in/plug-in for SAS
Nachrichtentext:
Thanks for the reply. Do you know if there are any documentation about
this?
What I really looking for is to write a add-in to SAS -- eg. a special print
option.
When I invoke this special print option from the menu item, it will send the
content
in my SAS environment to this print program I wrote. Any idea on how can I
pass
information within SAS environment to external program?
Thanks again,
Toka
"Ravi, Prasad" <Prasad.Ravi@PFIZER.COM> wrote in message
news:2195003E3380D411965D00508B6099480140FD2F@aascooby.research.aa.wl.com...
> The REGISTER system option enables you to add names of applications to the
> File menu of the SAS AWS. You can execute one of these applications by
> clicking on its name. The REGISTER option takes as arguments a menu name
> and an operating system command or a path specification for an executable
> file. You can also specify a working directory. Here is an example that
> adds a command to print the contents of the SASUSER directory:
>
> -register "Contents of SASUSER" "dir c:\sas\sasuser"
> When you click on Contents of SASUSER from the File menu, the output of
the
> Windows DIR command is displayed in a command prompt window.
> Here is an example of adding an .EXE file to the menu along with a
> specification of a working directory of C:\EXDATA:
>
> -register "Excel" "excel.exe" "c:\exdata"
> This adds Excel to the menu. When you click on Excel, the file EXCEL.EXE
is
> invoked.
>
> Note: The REGISTER system option is valid only in the CONFIG.SAS file
and
> in the SAS command.
>
>
>
>
> -----Original Message-----
> From: Toka [mailto:printwork@YAHOO.COM]
> Sent: Tuesday, April 24, 2001 9:09 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Add-in/plug-in for SAS
>
>
> All,
>
> Is it possible to develop some type of add-in or plug-in program for PC
SAS
> ?
> Basically, what I want to do is to add certain function to SAS, and I like
> to be able to invoke that function
> from a menu item I added to the SAS environment.
>
> Is this possible? If so, could someone point me to where I can find the
> information?
>
> Thanks,
> Toka
>
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.