BookmarkSubscribeRSS Feed
chandler
Fluorite | Level 6
This code below copies all 71 datasets from the main warehouse library to a backup library, with the following naming convention "MmmYYbkp".
Why am I getting the No output destinations active, warning?

/*** TAKES ONE HOUR AND SEVEN MINUTES TO RUN. ***/
/*** CHANGE LIBNAME AND COPY OUT= STATEMENTS BELOW
TO THE CORRECT LIBRARY YOU WANT TO COPY TO. ***/

libname Oct09bkp "\\ccsas1\blc_whse\Jesse\Backup Oct2009 Datasets ";
proc datasets library=whse ;
copy out=Oct09bkp ;
run;
quit;
5 REPLIES 5
Paige
Quartz | Level 8
PROC DATASETS NOLIST LIBRARY=WHSE;
chandler
Fluorite | Level 6
Thank you, Paige, for your help and for the quick response.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Odd that you are not curious about why you are getting the message in the first place. Within your SAS program, there is likely an ODS command that has failed and you have some other message(s) being generated or you have short-circuited the SAS log output destination.

Scott Barry
SBBWorks, Inc.
chandler
Fluorite | Level 6
Thanks for responding to help me.
Oro
Calcite | Level 5 Oro
Calcite | Level 5

In some cases this warning could be accurate Smiley Happy

'no output destination active' can really mean what it says.

It could happen if you work with ODS, closing a destination without opening a new one

for eg;

ods listing close;

proc datasets [...] would produce such a warning.

Solution: open a destination...

ODS listing;

proc datasets [...]

Cheers,

Olivier

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 13022 views
  • 1 like
  • 4 in conversation