LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 22 May 2002 15:35:11 -0700
Reply-To:   Cassell.David@EPAMAIL.EPA.GOV
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "David L. Cassell" <Cassell.David@EPAMAIL.EPA.GOV>
Subject:   Re: Generate a separate .... also for "Writing messages to window s console"
Content-type:   text/plain; charset=us-ascii

Randy Herbison <RandyHerbison@WESTAT.COM> replied to Ya Huang: > The TERMINAL device-type is included in the SAS OnlineDoc for the FILENAME statement. > > Unlike the data step WINDOW statement, it works even after the SAS AWS has > been minimized.

A very nice snippet. This might make a nice Coder's Corner paper. And since I think I met every single Westat SAS programmer *except* you at SUGI this year... :-)

> A couple of potential drawbacks are that all text written to the terminal > window remains in the window for the entire SAS session, and the user must > close the window to terminate the SAS session.

If these are serious drawbacks for the user's app, these can be dodged around by an alternative. One could write a short program using the Tk interface. This could be in Perl, Python, Tcl, etc. Then, under the desired conditions, one could launch an X command which would run the program. By using noxwait and noxsync, one could get SAS to continue without waiting for the window. And one could stick a button in the window so that clicking on the button closes the little Tk window, or...

David -- David Cassell, CSC Cassell.David@epa.gov Senior computing specialist mathematical statistician


Back to: Top of message | Previous page | Main SAS-L page