<?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 noprint option in proc sql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551324#M153166</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;When do we add noprint option to proc sql?&lt;/P&gt;
&lt;P&gt;What is the difference between proc sql without noprint option and&amp;nbsp; proc sql with noprint option&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
create table bbb as
select * 
from sashelp.cars
where origin='Asia'
;
quit;


proc sql ;
create table ccc as
select * 
from sashelp.cars
where origin='Asia'
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2019 08:30:52 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2019-04-16T08:30:52Z</dc:date>
    <item>
      <title>noprint option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551324#M153166</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;When do we add noprint option to proc sql?&lt;/P&gt;
&lt;P&gt;What is the difference between proc sql without noprint option and&amp;nbsp; proc sql with noprint option&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
create table bbb as
select * 
from sashelp.cars
where origin='Asia'
;
quit;


proc sql ;
create table ccc as
select * 
from sashelp.cars
where origin='Asia'
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 08:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551324#M153166</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-04-16T08:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: noprint option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551325#M153167</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try with this query instead to see the difference :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql ;
select distinct make 
into :make_lst separated by ','
from sashelp.cars
where origin='Asia'
;
quit;

%put &amp;amp;make_lst.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Apr 2019 08:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551325#M153167</guid>
      <dc:creator>gamotte</dc:creator>
      <dc:date>2019-04-16T08:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: noprint option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551327#M153169</link>
      <description>&lt;P&gt;The NOPRINT Option also affects the automatic macro variable SQLOBS. See the code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
   select * from sashelp.class;
quit;

%put &amp;amp;SQLOBS.;

proc sql;
   select * from sashelp.class;
quit;

%put &amp;amp;SQLOBS.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And read more here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/viewer.htm#a001360983.htm#a001404680" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/viewer.htm#a001360983.htm#a001404680&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 09:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551327#M153169</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-04-16T09:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: noprint option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551332#M153171</link>
      <description>&lt;P&gt;When you use the "noprint" option, it simply means that you are not going to have a display output on your screen. It can be used when you are creating macro-variables. For example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sql /* noprint */ ;
select name into: list /* this create a macro variable "list" which contain all valus of var name */
from example;
quit ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So when you do this, you may don't want to see the output so you put the option noprint.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 09:48:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/551332#M153171</guid>
      <dc:creator>Onizuka</dc:creator>
      <dc:date>2019-04-16T09:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: noprint option in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/821100#M324158</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Editors note:&lt;/STRONG&gt;&lt;BR /&gt;Both responses from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/269468"&gt;@Onizuka&lt;/a&gt;&amp;nbsp;are correct&amp;nbsp;&lt;BR /&gt;For full details see&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/sqlproc/p12ohgh32ffm6un13s7l2d5p9c8y.htm#p0upqzb71cryopn10od6xsk1a17t" target="_self"&gt;PRINT | NOPRINT Documentation&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A tabindex="0" href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/sqlproc/p0xlnvl46zgqffn17piej7tewe7p.htm#p1cyzuadeotccqn1hwfdtmwejh2w" target="_self"&gt;Using the PROC SQL Automatic Macro Variables&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xisDoc-argumentDescription"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Jun 2022 11:07:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/noprint-option-in-proc-sql/m-p/821100#M324158</guid>
      <dc:creator>AMSAS</dc:creator>
      <dc:date>2022-06-30T11:07:14Z</dc:date>
    </item>
  </channel>
</rss>

