sas >> No output destinations active

by sophe88 » Thu, 01 Dec 2005 10:58:58 GMT

Several days ago I started to have this message in log after running
batching job with v9 on Solaris Unix

No output destinations active

I don't have list file any more. Log files look OK. To get list file, I
have to run interactive mode.

Any clue what is going? How to easily fix it? By easily, I mean not to
both with cfg file. Adding an option at option statement to bring it
back on session basis should be fine.



sas >> No output destinations active

by Sierra Information Services » Thu, 01 Dec 2005 12:13:12 GMT

Most likely, you submitted "ODS LISTING CLOSE" at the outset of your
job and did not open another destination for your ODS output.

Andrew Karp
Sierra Information Services

sas >> No output destinations active

by sophe88 » Sat, 03 Dec 2005 05:32:26 GMT

Actually, there is no ods list close in the code anywhere; the same
piece of code runs perfectly fine generating list output.

Well, after adding "ods list" at the top of the code does indeed solve
the problem. The ? then is

1. why batch mode can trigger it, not interactive mode?
2. I did run other programs that use a lot "ods html close". how that
could have spilled over,under batch, to turn off the listing?

Thank you for your response.


Similar Threads

1. XML WARNING: No output destinations active

Working in SAS 9.1, Windows XP. I get the error referenced in the subject
line when attempting to utilize Proc Print after I have previously created
a report using ExcelXP tagset and ODS. I have to exit and re-enter SAS to
solve the problem. Wassup, and is there a better way to fix this?

2. print active sas prog to the log or to the output using Put

3. ODS Output Destination Powerpoint?

Recently I was asked to produce a Powerpoint presentation directly from SAS
with frequency tables and graphics on hundreds of different slides (DON'T
ask me why!  Mine is not to wonder why....)  While there are several papers
on outputting to Powerpoint, it generally involves using linked excel files
and hand-linking the desired files which will then update automatically.
For a small PPT presentation this is reasonable but not on the scale
desired by the requestor in this case.  It's rumored that a powerpoint
destination will be possible in 9.2 and might be possible now with the
Microsoft add-in which I don't have, but it seems like maybe someone else
has figured out a way.  I did discover that one can generate a RTF file
with slide headers and import that into powerpoint pretty seamlessly, but
I'd like to automate putting the data in too.  The process seems to
generate a slide for each line, going to a new slide at the line's end.  If
there was a clever way to strip the line end and put it in after a table or
graphic maybe that would do it...  Or maybe putting in a link that would
expand out once in the slide with an embedded line break to demarcate it
from the slide title somehow....  Any thoughts or advice?  A fun little
exercise in the dog days of summer - the presentation, done the hard way,
has been finished for some time but my curiousity lingers on!

Thanks in advance!

4. specifying alternative output destination (altlog or printto?)

5. Can SAS be dynamic inter active?

Can SAS be written so a user clicks a button and the SAS code behide
the button
brings up like a text box so criteria from and user can be place in the
text box to generate
the right report that the user needs?

if so can someone give me some sample code to see how this is done?

6. Any issues with SAS Active-x graphs?

7. Getting active libref names into a dataset?

Can anyone tell me how I can get the names of all of the active librefs
into a dataset?  I know I can get the active librefs through libname _all_
list but that just writes to the log (and I don't seem to be able to even
get that output to an external file that I could read in).


8. How to email the contents of the active program editor window