<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Printing multiple datasets in a go in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102657#M258253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, good to know about this constraint of proc PRINT.&lt;/P&gt;&lt;P&gt;Note structure of the two data sets is different, so using concatenation, even with help of rename= option sounds stretching it further. And since I am avoiding to create another extra data set to just examine and compare the values, I might have to pass on this solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I ask assuming the structure was same, does your suggested solution increase the length (number of observations) of combined data set or results in wider data set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for introducing VIEW= option for data statements. Is this option used to create view similar to that in SQL? not generating physical sas data file? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 20:31:27 GMT</pubDate>
    <dc:creator>noobs</dc:creator>
    <dc:date>2013-06-11T20:31:27Z</dc:date>
    <item>
      <title>Printing multiple datasets in a go</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102655#M258251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Enterprise Guide Users:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS anyone aware of a way to print more than one dataset in single proc PRINT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS Program:&lt;/P&gt;&lt;P&gt;proc print data=sesug.actids sesug.actidshld;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOG Window:&lt;/P&gt;
&lt;P&gt;proc print data=sesug.actids, sesug.actidshld ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, BLANKLINE, DATA, DOUBLE, HEADING, LABEL, N, NOOBS, OBS, ROUND, &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROWS, SPLIT, STYLE, SUMLABEL, UNIFORM, WIDTH.&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using comma between the two datasets like so:&lt;/P&gt;&lt;P&gt;proc print data=sesug.actids, sesug.actidshld;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it was in vain. So curious if I am missing something very basic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Dhanashree Gadkari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 14:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102655#M258251</guid>
      <dc:creator>noobs</dc:creator>
      <dc:date>2013-06-11T14:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Printing multiple datasets in a go</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102656#M258252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC PRINT will only let you print a single data set at a time.&amp;nbsp; However, IF both data sets have the same structure, you could try defining a VIEW to combine them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data combine / view=combine;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set sesug.actids sesug.actidshld;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=combine;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 16:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102656#M258252</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-06-11T16:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Printing multiple datasets in a go</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102657#M258253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, good to know about this constraint of proc PRINT.&lt;/P&gt;&lt;P&gt;Note structure of the two data sets is different, so using concatenation, even with help of rename= option sounds stretching it further. And since I am avoiding to create another extra data set to just examine and compare the values, I might have to pass on this solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I ask assuming the structure was same, does your suggested solution increase the length (number of observations) of combined data set or results in wider data set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for introducing VIEW= option for data statements. Is this option used to create view similar to that in SQL? not generating physical sas data file? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 20:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102657#M258253</guid>
      <dc:creator>noobs</dc:creator>
      <dc:date>2013-06-11T20:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Printing multiple datasets in a go</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102658#M258254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the structure is identical, then the view would generate a longer report (number of observations) with the same width.&amp;nbsp; Once the structure is different, the result becomes wider with mismatched variables having missing values.&amp;nbsp; So you're right, this approach wouldn't help when the structure is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views are identical no matter how they are created within SAS, containing the instructions but not the data.&amp;nbsp; A DATA step and PROC SQL are probably the most common methods ... I believe there are a total of 4 possible methods altogether.&amp;nbsp; As always, views should usually be reserved for one-time use, since they have to extract the data each time they are used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 20:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Printing-multiple-datasets-in-a-go/m-p/102658#M258254</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-06-11T20:52:16Z</dc:date>
    </item>
  </channel>
</rss>

