<?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: Invalid or inconsistent mode flags for work when trying to run proc assign in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Invalid-or-inconsistent-mode-flags-for-work-when-trying-to-run/m-p/201008#M37572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you run this with options mprint and or symbolgen to see what the generated code might actually be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't believe the error is say that it doesn't recognize the Work library but that something your code is attempting to set doesn't make the program happy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You program is also incomplete limiting help available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 14:56:12 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-06-09T14:56:12Z</dc:date>
    <item>
      <title>Invalid or inconsistent mode flags for work when trying to run proc assign</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-or-inconsistent-mode-flags-for-work-when-trying-to-run/m-p/201007#M37571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I am running a macro that contains proc assign. I know that this procedure is no longer supported by SAS, but I have had no problems running it recently. A colleague of mine ran this same code with different data and it ran fine. However, when I run it I get the error below. I cannot figure out why it is not recognizing the work library. Does anyone have any ideas on why this might be happening and how I could fix it?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;proc assign data=dist2 out=__outt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;cost &amp;amp;firstco--&amp;amp;lastco&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;%if &amp;amp;kmv gt 0 %then %do; __s1-__s&amp;amp;kmv %end;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;id &amp;amp;idca;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ERROR: Invalid or inconsistent mode flags for WORK. The data set WORK.__OUTT may be incomplete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-or-inconsistent-mode-flags-for-work-when-trying-to-run/m-p/201007#M37571</guid>
      <dc:creator>ashleyfc</dc:creator>
      <dc:date>2015-06-09T14:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid or inconsistent mode flags for work when trying to run proc assign</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-or-inconsistent-mode-flags-for-work-when-trying-to-run/m-p/201008#M37572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you run this with options mprint and or symbolgen to see what the generated code might actually be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't believe the error is say that it doesn't recognize the Work library but that something your code is attempting to set doesn't make the program happy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You program is also incomplete limiting help available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-or-inconsistent-mode-flags-for-work-when-trying-to-run/m-p/201008#M37572</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-09T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid or inconsistent mode flags for work when trying to run proc assign</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-or-inconsistent-mode-flags-for-work-when-trying-to-run/m-p/201009#M37573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would work backwards from this code and see what the temporary datasets look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 15:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-or-inconsistent-mode-flags-for-work-when-trying-to-run/m-p/201009#M37573</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-06-09T15:01:55Z</dc:date>
    </item>
  </channel>
</rss>

