<?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: proc contents -prevent print in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-contents-prevent-print/m-p/876032#M346130</link>
    <description>&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql;
   create table variables as
   select *
   from dictionary.columns
   when libname='SASHELP' and memname='CARS'
  ;
quit;&lt;/PRE&gt;
&lt;P&gt;The dictionary tables, or the SASHELP views, such as VCOLUMN have the details of all the data sets currently accessible by SAS. The Libname and Memname (name of set) are stored in upper case letters.&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 15:22:45 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-05-16T15:22:45Z</dc:date>
    <item>
      <title>proc contents -prevent print</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-contents-prevent-print/m-p/875973#M346114</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;What is the way to prevent print of proc contents ?&lt;/P&gt;
&lt;P&gt;I just want to create data set with the information .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=sashelp.cars;
ods output variables=variables;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 May 2023 11:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-contents-prevent-print/m-p/875973#M346114</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-05-16T11:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: proc contents -prevent print</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-contents-prevent-print/m-p/875974#M346115</link>
      <description>&lt;P&gt;PROC CONTENTS has an OUTPUT option, which can be used simultaneously with the NOPRINT option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=sashelp.cars out=variables noprint;
run;                           &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you use ODS OUTPUT to write an output dataset, you can't use the NOPRINT option.&amp;nbsp; Instead, you can close the output destinations prior to calling PROC CONTENTS, and open them after, e.g.:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close ;
ods output variables=variables;
proc contents data=sashelp.cars ;
run;
ods output close ;
ods listing ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 11:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-contents-prevent-print/m-p/875974#M346115</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-05-16T11:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc contents -prevent print</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-contents-prevent-print/m-p/876032#M346130</link>
      <description>&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql;
   create table variables as
   select *
   from dictionary.columns
   when libname='SASHELP' and memname='CARS'
  ;
quit;&lt;/PRE&gt;
&lt;P&gt;The dictionary tables, or the SASHELP views, such as VCOLUMN have the details of all the data sets currently accessible by SAS. The Libname and Memname (name of set) are stored in upper case letters.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 15:22:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-contents-prevent-print/m-p/876032#M346130</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-16T15:22:45Z</dc:date>
    </item>
  </channel>
</rss>

