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 (September 2000, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 29 Sep 2000 09:13:20 +0200
Reply-To:   Kris Bogaerts <kris.bogaertsNOSPAM@med.kuleuven.ac.be>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Kris Bogaerts <kris.bogaertsNOSPAM@MED.KULEUVEN.AC.BE>
Organization:   Biostatistical Centre KU Leuven
Subject:   Re: DM commands in SAS V8 ???

We had the same problem yesterday. Until know I found maybe a start of a good solution. If you are executing a program in the enhanced editor, try something like this:

dm name_of_program "command" continue;

where - name_of_program is the name of the window in the enhanced editor. If you are using long names with spaces you maybe should only use the first part. You may have to experiment with it in order to get it right.

- command is the DM command you want to execute

I have however no idea what happens is you run the program in batch.

This code still needs checking.

Kris

"Lund, Pete" <Peter.Lund@CFC.WA.GOV> wrote in message news:D1539850DE7DD111B6400008C720C4A803F9E6FD@cfc-mail.cfc.wa.gov... > Michael- > I have had similar problems with the program editor popping up using the > DM command in V8. I have been able to get rid of the program editor by > adding a "pgm off;" to the DM command. Hoevever, if this is running in > interactive SAS, I've found no way to get back to the enhanced editor window > that contained the code that was executed. > I poked around in the usage notes a bit and didn't find anything that > suggested this change in behavior. > > I'm waiting for a response from tech support at to the feature/bug > question. > > ---------------------------------------------------------------------- > Pete Lund > WA State Caseload Forecast Council > 515 15th Ave SE > Olympia, WA 98504-0962 > (360) 902-0086 voice > (360) 902-0084 fax > (360) 971-0962 pager > peter.lund@cfc.wa.gov > ---------------------------------------------------------------------- > > > -----Original Message----- > From: Michael Friendly [mailto:friendly@HOTSPUR.PSYCH.YORKU.CA] > Sent: Wednesday, September 27, 2000 11:55 AM > To: SAS-L@LISTSERV.UGA.EDU > Subject: DM commands in SAS V8 ??? > > > I have several macros which issue DM commands. They worked fine > in 6.12, but cause problems in SAS 8.0. E.g., here is a snip > from a %webhelp macro, which uses DM WBROWSE to bring up local > documentation in the web browser: > > %*-- No argument supplied -- use global default; > %if %length(&doc)=0 %then %do; > dm "wbrowse '&webhelp' "; > %end; > > Under V8, this > - Opens a new program editor window > - Either hangs SAS outright, or pops up a panel with 'the DM command is > currently running' when I try to submit any more statements. > > Is this a bug or is there some new syntax? > > -Michael > > -- > Michael Friendly Email: friendly@yorku.ca (NeXTmail OK) > Psychology Dept > York University Voice: 416 736-5115 Fax: 416 736-5814 > 4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html > Toronto, ONT M3J 1P3 CANADA


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