| Date: | Mon, 27 Apr 2009 08:21:02 -0400 |
| Reply-To: | Mike Rhoads <RHOADSM1@WESTAT.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Mike Rhoads <RHOADSM1@WESTAT.COM> |
| Subject: | Re: Is there a way to detect if an ODS destination is being used? |
| In-Reply-To: | <200904270951.n3R6wtlO021835@malibu.cc.uga.edu> |
| Content-Type: | text/plain; charset="us-ascii" |
SAS 9.2 has a dictionary table called DESTINATIONS, and a parallel view SASHELP.VDEST.
According to What's New in ODS, "7ou can use PROC SQL to query open ODS destinations."
Mike Rhoads
RhoadsM1@Westat.com
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Gerhard Hellriegel
Sent: Monday, April 27, 2009 5:52 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Is there a way to detect if an ODS destination is being used?
what does that mean: "used"? Used (open) in the moment you want to write to it? Used by another SAS session? Used by another task? Used by another user? Do you want to know if it is possible to write to it, before you try? Gerhard
On Mon, 27 Apr 2009 01:32:02 -0700, RolandRB <rolandberry@HOTMAIL.COM>
wrote:
>Is there a way to detect if an ODS destination is being used? One of my
>reporting macros will place a line at the top of the report for ascii
>output but I want to suppress this if ODS PDF or some other ODS
>destination is being used, since the line at the top of the report
>won't come out right.
|