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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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