将多个数据集导出到一个电子表格
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了将多个数据集导出到一个电子表格相关的知识,希望对你有一定的参考价值。
It's easy to export several data sets to one Excel spreadsheet with each data set in a separate worksheet.This example exports three SAS data sets (work.region, work.county and work.district) to the same spreadsheet (results.xls).
/*Each data set will be in a separate worksheet:*/ proc export data=work.region outfile="c:\temp\results.xls" dbms=Excel; run; proc export data=work.county outfile="c:\temp\results.xls" dbms=Excel; run; proc export data=work.district outfile="c:\temp\results.xls" dbms=Excel; run; /*Results.xls will have three worksheets, each one automatically labeled with the name of the data set it was created from.*/
以上是关于将多个数据集导出到一个电子表格的主要内容,如果未能解决你的问题,请参考以下文章