Is there a way to programmatically determine which ODS destinations are open (other than meticulously tracking all opens and closes myself) ? SAS can warn us about "No active ODS destinations" so it has this information available somewhere.Would be nice if this information could be externalized.
Why would I want to know this? In short: so that I can temporarily close one destination, write to another destination (let's say a quick diagnostic proc print to the listing destination) and then resume writing to the first destination. Think of this quick diagnostic proc print as a swiss army knife like include member or macro that could just be dropped into existing code without doing any harm to currently active destinations.
Clear as mud? A reply along the lines "Nope, can't be done but makes for a nice suggestion for the next ballot" would suffice. Am hitting the dictionary tables next.
Robert (whose consulting gig is about to end on Thursday which means 'no SAS, no z/OS' for an unforeseeable period ... sigh)