DATA Step, Macro, Functions and more

outputting data from a data step to a sas server table

Reply
N/A
Posts: 0

outputting data from a data step to a sas server table

Hello,

Simple question...

I can't figure out how to output data step data to a sas server.

Do I use output, outfile, put after run????

For example, here's a simple implicit loop:

data output_data;
set sassvrtable.input_table;
run;
Trusted Advisor
Posts: 2,115

Re: outputting data from a data step to a sas server table

Posted in reply to deleted_user
Just add the LIBNAME to the output table in the DATA statement.

data sassvrtable.output_data;
set sassvrtable.input_table;
run;

You can find out a lot more about how to do libnames and permanent and work libraries in the data step concepts section of the Base SAS manual.
Ask a Question
Discussion stats
  • 1 reply
  • 108 views
  • 0 likes
  • 2 in conversation