<?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: Removing unwanted graphics in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530325#M145000</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where a.code=b.code and a.code=c.code and a.year1=b.year1 and a.year1=c.year1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as your where condition. A condition such as a.code=b.code=c.code is interpreted as (a.code=b.code)=c.code, which becomes 1 = c.code or 0 = c.code... not what you want.&lt;/P&gt;</description>
    <pubDate>Sat, 26 Jan 2019 16:27:34 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2019-01-26T16:27:34Z</dc:date>
    <item>
      <title>Removing unwanted graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/528620#M144306</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have an issue in my sas program which is when i run reg or mean statements immediately it out the results and graphics whereas i do not wanna the graphics because it takes looooooong time for processing.&lt;/P&gt;
&lt;P&gt;for instant : i just run this statement&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=found outest=equation1;
model CASFO_real= TA1 S1 S2/ noint adjsrq; 
by year industrycode;
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but it seems that SAS checks all observations one by one as in the attached picture&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26385iFEEF95EDA628E3CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;so please i need just get the table and then i will check the results in the table.&lt;/P&gt;
&lt;P&gt;how can i do that easy way?&lt;/P&gt;
&lt;P&gt;thank you in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 18:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/528620#M144306</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-20T18:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: A question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/528623#M144307</link>
      <description>&lt;P&gt;In this situation, the first line in your program should be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since we are helping you, please help us out by changing the title of this thread to something more meaningful.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 14:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/528623#M144307</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-01-20T14:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing unwanted graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/528635#M144310</link>
      <description>&lt;P&gt;Add option PLOTS=NONE to the proc reg statement, this will prevent the default graphs from being produced. The same applies to many stats procs. Check the documentation.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 18:51:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/528635#M144310</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-01-20T18:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Removing unwanted graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530310#M144994</link>
      <description>thank you.&lt;BR /&gt;i have another problem when i run sql statement i got this message ( 83 proc sql;&lt;BR /&gt;84 create table vars as select&lt;BR /&gt;84 ! a.code,a.year1,a.Total_assets,a.leverage,a.Recievables,b.soe,c.ROA,c.ROE&lt;BR /&gt;85 from Reda as a, Seo as b, Roa as c&lt;BR /&gt;86 where a.code=b.code=c.code and a.year1=b.year1=c.year1;&lt;BR /&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;BR /&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;BR /&gt;87 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.02 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;BR /&gt;)&lt;BR /&gt;what does that mean?</description>
      <pubDate>Sat, 26 Jan 2019 14:17:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530310#M144994</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-26T14:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Removing unwanted graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530325#M145000</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where a.code=b.code and a.code=c.code and a.year1=b.year1 and a.year1=c.year1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as your where condition. A condition such as a.code=b.code=c.code is interpreted as (a.code=b.code)=c.code, which becomes 1 = c.code or 0 = c.code... not what you want.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 16:27:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530325#M145000</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-01-26T16:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Removing unwanted graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530455#M145072</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i just tried your suggestion but it does not work&amp;nbsp;&lt;/P&gt;&lt;P&gt;i m wondering why when i use same condition with different tables it works as follows&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table erm_var as select a.code,a.year1,a.sales,a.COGS,a.SE,a.M_cost,b.CSFO,c.INVentory,d.Total_assets,e.RDSpendSum,
f.indusCode
from alkebsee as a, radwan as b, zahra as c, reda as d, hassan as e, indus as f
where a.code=b.code=c.code=d.code=e.code=f.code and a.year1=b.year1=c.year1=d.year1=e.year1;
quit; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;96 proc sql;&lt;BR /&gt;97 create table erm_var as select&lt;BR /&gt;97 ! a.code,a.year1,a.sales,a.COGS,a.SE,a.M_cost,b.CSFO,c.INVentory,d.Total_assets,e.RDSpendSum,&lt;BR /&gt;98 f.indusCode&lt;BR /&gt;99 from alkebsee as a, radwan as b, zahra as c, reda as d, hassan as e, indus as f&lt;BR /&gt;100 where a.code=b.code=c.code=d.code=e.code=f.code and a.year1=b.year1=c.year1=d.year1=e.year1;&lt;BR /&gt;NOTE: Table WORK.ERM_VAR created, with 15196 rows and 11 columns.&lt;/P&gt;&lt;P&gt;101 quit;&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.21 seconds&lt;BR /&gt;cpu time 0.18 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i use it with other tables it does not work as follows&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table con_var as 
select a.code,a.year1,a.gender,a.Total_pay,b.ROA,b.ROE,c.soe,d.boardsize,
d.number_of_independent_directors,e.INVentory,f.Total_assets,f.leverage,f.Recievables, g.indusCode
from indp as a, roft as b, soe as c, board as d, zahra as e, reda as f, indus AS g
where a.code=b.code=c.code=d.code=e.code=f.code=g.code
and a.year1=b.year1=c.year1=d.year1=e.year1=f.year1;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;117 proc sql;&lt;BR /&gt;118 create table con_var as&lt;BR /&gt;119 select a.code,a.year1,a.gender,a.Total_pay,b.ROA,b.ROE,c.soe,d.boardsize,&lt;BR /&gt;120 d.number_of_independent_directors,e.INVentory,f.Total_assets,f.leverage,f.Recievables,&lt;BR /&gt;120! g.indusCode&lt;BR /&gt;121 from indp as a, roft as b, soe as c, board as d, zahra as e, reda as f, indus AS g&lt;BR /&gt;122 where a.code=b.code=c.code=d.code=e.code=f.code=g.code&lt;BR /&gt;123 and a.year1=b.year1=c.year1=d.year=e.year1=f.year1;&lt;BR /&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;BR /&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;BR /&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;BR /&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;BR /&gt;124 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please figure out the reason ?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2019 12:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530455#M145072</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-27T12:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Removing unwanted graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530457#M145074</link>
      <description>ohhh i got it&lt;BR /&gt;the reason is i have file as data file (.dta) extension, inside this file the code data is character not numeric. so it is not same type. Here, the rest of file the code data look like (1,2,3, ....) but in that file it look like (000001, 000002,....). now i need the code that converts character type into numeric type .&lt;BR /&gt;please</description>
      <pubDate>Sun, 27 Jan 2019 13:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-unwanted-graphics/m-p/530457#M145074</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-27T13:49:12Z</dc:date>
    </item>
  </channel>
</rss>

