How to print Multiple datasets in one proc print statement?

时间:2016-04-04 18:15:00

标签: sas

I have an sas query that if I have created 3 datasets, lets say named as ds1, ds2, ds3. Now, I want to print all of them under one proc print statement, then how can we do that? Like, i want something like: proc print data = work.ds1 work.ds2 work.ds3; run;

Is there some way to do this? Please make sure that I want these to be printed in ONE OR SINGLE PROC PRINT statement.

1 个答案:

答案 0 :(得分:4)

You cannot print multiple datasets from one proc print statement. You could concatenate the datasets into one, but they wouldn't be separate datasets at that point.

If your concern is getting them into a particular output, provide more information as to your desired results. Thanks to some ODS features, you may be able to get something similar to your desired results.

相关问题