<?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: I keep getting an error message that I'm missing values as a result of operating on missing valu in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538108#M148106</link>
    <description>&lt;P&gt;This looks like part of the code where you suspect the issue is, can you also post the whole log, with mprint source and mlogic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The part code you posted is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am asuming you have posted correct path in place of "x" in libname and filenames.&lt;/P&gt;</description>
    <pubDate>Sun, 24 Feb 2019 18:43:19 GMT</pubDate>
    <dc:creator>Satish_Parida</dc:creator>
    <dc:date>2019-02-24T18:43:19Z</dc:date>
    <item>
      <title>I keep getting an error message that I'm missing values as a result of operating on missing values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538103#M148101</link>
      <description>&lt;P&gt;Here is all my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS LISTING;&lt;BR /&gt;libname session1 "x";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT= WORK.one&lt;BR /&gt;DATAFILE="x"&lt;BR /&gt;DBMS=csv REPLACE;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc print data= WORK.one;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc contents;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data WORK.one;&lt;BR /&gt;set WORK.one;&lt;BR /&gt;pce0 = PCE/78.23517;&lt;BR /&gt;rpgas = Price/pce0;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get these error messages in my log after I run my last code and I have no idea why:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Variable pce is uninitialized.&lt;BR /&gt;NOTE: Variable price is uninitialized.&lt;BR /&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;BR /&gt;Each place is given by: (Number of times) at (Line):(Column).&lt;BR /&gt;1 at 136:11 1 at 137:14&lt;BR /&gt;NOTE: The data set WORK.DATA4 has 1 observations and 4 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.07 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;139 pce0 = pce/78.23517;&lt;BR /&gt;----&lt;BR /&gt;180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;140 rpgas = price/pce0;&lt;BR /&gt;-----&lt;BR /&gt;180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;141 run;&lt;/P&gt;&lt;P&gt;142 data WORK.one;&lt;BR /&gt;143 pce0 = pce/78.23517;&lt;BR /&gt;144 rpgas = price/pce0;&lt;BR /&gt;145 run;&lt;/P&gt;&lt;P&gt;NOTE: Variable pce is uninitialized.&lt;BR /&gt;NOTE: Variable price is uninitialized.&lt;BR /&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;BR /&gt;Each place is given by: (Number of times) at (Line):(Column).&lt;BR /&gt;1 at 143:11 1 at 144:14&lt;BR /&gt;NOTE: The data set WORK.ONE has 1 observations and 4 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 1.24 seconds&lt;BR /&gt;cpu time 0.12 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;146 data WORK.one;&lt;BR /&gt;147 set WORK.one;&lt;BR /&gt;148 pce0 = pce/78.23517;&lt;BR /&gt;149 rpgas = price/pce0;&lt;BR /&gt;150 run;&lt;/P&gt;&lt;P&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;BR /&gt;Each place is given by: (Number of times) at (Line):(Column).&lt;BR /&gt;1 at 148:11 1 at 149:14&lt;BR /&gt;NOTE: There were 1 observations read from the data set WORK.ONE.&lt;BR /&gt;NOTE: The data set WORK.ONE has 1 observations and 4 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.12 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;151 data WORK.one;&lt;BR /&gt;152 set WORK.one;&lt;BR /&gt;153 pce0 = PCE/78.23517;&lt;BR /&gt;154 rpgas = Price/pce0;&lt;BR /&gt;155 run;&lt;/P&gt;&lt;P&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;BR /&gt;Each place is given by: (Number of times) at (Line):(Column).&lt;BR /&gt;1 at 153:11 1 at 154:14&lt;BR /&gt;NOTE: There were 1 observations read from the data set WORK.ONE.&lt;BR /&gt;NOTE: The data set WORK.ONE has 1 observations and 4 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.02 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 18:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538103#M148101</guid>
      <dc:creator>khalillx</dc:creator>
      <dc:date>2019-02-24T18:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538105#M148103</link>
      <description>&lt;P&gt;Please help us out by making the log easier to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 1. Click on the {i} icon&lt;/P&gt;
&lt;P&gt;Step 2. Paste the entire log (not just the error messages) into that window.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 18:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538105#M148103</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-24T18:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538106#M148104</link>
      <description>Could you also send the data along. If not possible mask the data.</description>
      <pubDate>Sun, 24 Feb 2019 18:32:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538106#M148104</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2019-02-24T18:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538107#M148105</link>
      <description>Yes just attached my excel file</description>
      <pubDate>Sun, 24 Feb 2019 18:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538107#M148105</guid>
      <dc:creator>khalillx</dc:creator>
      <dc:date>2019-02-24T18:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538108#M148106</link>
      <description>&lt;P&gt;This looks like part of the code where you suspect the issue is, can you also post the whole log, with mprint source and mlogic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The part code you posted is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am asuming you have posted correct path in place of "x" in libname and filenames.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 18:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538108#M148106</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2019-02-24T18:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538109#M148107</link>
      <description>How do I post the whole log?</description>
      <pubDate>Sun, 24 Feb 2019 18:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538109#M148107</guid>
      <dc:creator>khalillx</dc:creator>
      <dc:date>2019-02-24T18:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538110#M148108</link>
      <description>&lt;P&gt;Save the log to a text file if it is large and attach to your question,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;or you can post it using the {i} in the replay editor tool bar, 

Like this and paste the whole log like this&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 Feb 2019 18:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538110#M148108</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2019-02-24T18:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538111#M148109</link>
      <description>Okay I just attached my log as a word file</description>
      <pubDate>Sun, 24 Feb 2019 18:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538111#M148109</guid>
      <dc:creator>khalillx</dc:creator>
      <dc:date>2019-02-24T18:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538115#M148110</link>
      <description>The issue looks like in the import statement.&lt;BR /&gt;1. Can you close the CSV file if opened in EXCEL or any other text editor.&lt;BR /&gt;2. If the issue still not resolved, could you tell if you are writing the ODS output to any source?</description>
      <pubDate>Sun, 24 Feb 2019 19:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538115#M148110</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2019-02-24T19:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538135#M148113</link>
      <description>&lt;P&gt;Where is the code that created WORK.DATA4?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257791"&gt;@khalillx&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: Variable pce is uninitialized.&lt;BR /&gt;NOTE: Variable price is uninitialized.&lt;BR /&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;BR /&gt;Each place is given by: (Number of times) at (Line):(Column).&lt;BR /&gt;1 at 136:11 1 at 137:14&lt;BR /&gt;NOTE: The data set WORK.DATA4 has 1 observations and 4 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.07 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sun, 24 Feb 2019 21:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538135#M148113</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-24T21:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538144#M148119</link>
      <description>&lt;P&gt;While you have posted pieces of different logs here, the answer to your question lies here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why did you run PROC PRINT and PROC CONTENTS and never examine the results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would show you that the variables PCE and PRICE were not imported from the spreadsheet.&amp;nbsp; Start there.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 22:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538144#M148119</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-24T22:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: I keep getting an error message that I'm missing values as a result of operating on missing valu</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538234#M148156</link>
      <description>&lt;P&gt;Looking at your log.docx file, I think the problem is that you have the .csv file open in Microsoft Excel. For some reason Excel monopolizes the files it reads, you are not even allowed to read them. If you close the file in Excel and try Again, it may help.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 10:29:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-keep-getting-an-error-message-that-I-m-missing-values-as-a/m-p/538234#M148156</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2019-02-25T10:29:32Z</dc:date>
    </item>
  </channel>
</rss>

