<?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: NOTE: Missing values were generated as a result of performing an operation on missing values. in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609465#M18506</link>
    <description>&lt;P&gt;Turn on MPRINT and SAS will show you what STEP is causing the mistake.&amp;nbsp; But you will need to figure out on your own which statement.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;62   %macro xx;
63   data x;
64     y=x/3;
65   run;
66   %mend xx;
67   options mprint;
68   %xx;
MPRINT(XX):   data x;
MPRINT(XX):   y=x/3;
MPRINT(XX):   run;

NOTE: Variable x is uninitialized.
NOTE: Missing values were generated as a result of performing an operation on missing values.
      Each place is given by: (Number of times) at (Line):(Column).
      1 at 68:15
NOTE: The data set WORK.X has 1 observations and 2 variables.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 18:00:55 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-12-04T18:00:55Z</dc:date>
    <item>
      <title>NOTE: Missing values were generated as a result of performing an operation on missing values.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609343#M18487</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;Iam struggling to find out why below notes in log got generated.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I can see below notes available in both LIVE &amp;amp; DEV log.but i can see the above note only in DEv not in LIVE.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Invalid (or missing) arguments to the INTCK function have caused the function to return a missing value&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And i understood the reason behind missing value for INTCK function.&lt;/P&gt;&lt;P&gt;would you please suggest why the below log is comimg in DEV but not in LIVE please.sorry to ask like this but any help please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Dec 2019 12:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609343#M18487</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-12-04T12:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Missing values were generated as a result of performing an operation on missing values.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609352#M18488</link>
      <description>&lt;P&gt;Could you please share your code to get better response.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 12:42:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609352#M18488</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-12-04T12:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Missing values were generated as a result of performing an operation on missing values.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609371#M18490</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Iam getting below notes generated in log,if i see at 3661 line then big macro is getting called like %test.so that's actually really huge code.any help please&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Missing values were generated as a result of performing an operation on missing values.
      Each place is given by: (Number of times) at (Line):(Column).
      130 at 3661:217   130 at 3661:200&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Dec 2019 13:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609371#M18490</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-12-04T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Missing values were generated as a result of performing an operation on missing values.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609375#M18491</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256123"&gt;@JJP1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You get missing values for exactly the reason the log is telling you.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;as a result of performing an operation on missing values&lt;/PRE&gt;
&lt;P&gt;But without knowing the code and the data no one will be in a position to tell you what operation that exactly is.&lt;/P&gt;
&lt;P&gt;You can get such a message by something as simple as below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  varA=5; varB=.;
  result= varA + varB;
  stop;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The log also tells you where the operation happens in the code.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;      Each place is given by: (Number of times) at (Line):(Column).
      130 at 3661:217   130 at 3661:200&lt;/PRE&gt;
&lt;P&gt;So go to line 130 and inspect what's happening there. Turn on MPRINT and eventually SYMBOLGEN to get sufficient info into the SAS log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 13:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609375#M18491</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-12-04T13:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Missing values were generated as a result of performing an operation on missing values.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609377#M18492</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;i went to 3661 line and found that one macro is getting called.&lt;/P&gt;&lt;P&gt;This macro is using some date columns which has missing values both in DEV &amp;amp; LIVE.&lt;/P&gt;&lt;P&gt;But this log only&amp;nbsp; generates in DEV but not in LIVE ,all same code in both DEV &amp;amp; LIVE please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 13:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609377#M18492</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-12-04T13:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Missing values were generated as a result of performing an operation on missing values.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609465#M18506</link>
      <description>&lt;P&gt;Turn on MPRINT and SAS will show you what STEP is causing the mistake.&amp;nbsp; But you will need to figure out on your own which statement.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;62   %macro xx;
63   data x;
64     y=x/3;
65   run;
66   %mend xx;
67   options mprint;
68   %xx;
MPRINT(XX):   data x;
MPRINT(XX):   y=x/3;
MPRINT(XX):   run;

NOTE: Variable x is uninitialized.
NOTE: Missing values were generated as a result of performing an operation on missing values.
      Each place is given by: (Number of times) at (Line):(Column).
      1 at 68:15
NOTE: The data set WORK.X has 1 observations and 2 variables.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 18:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/NOTE-Missing-values-were-generated-as-a-result-of-performing-an/m-p/609465#M18506</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-04T18:00:55Z</dc:date>
    </item>
  </channel>
</rss>

