<?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: Write Access Violation SGIOREAD in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418258#M102738</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;Yes,&lt;/P&gt;&lt;P&gt;The server is using windows and the file is on a windows file system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2017 18:36:28 GMT</pubDate>
    <dc:creator>noobster</dc:creator>
    <dc:date>2017-12-04T18:36:28Z</dc:date>
    <item>
      <title>Write Access Violation SGIOREAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418169#M102698</link>
      <description>&lt;P&gt;NOTE: SGIO processing active for file INDATA.DEMOGRAPHIC.DATA.&lt;BR /&gt;&lt;BR /&gt;ERROR:&amp;nbsp; An exception has been encountered.&lt;BR /&gt;&lt;BR /&gt;ERROR: The SAS task name is [SGIOREAD]&lt;BR /&gt;ERROR:&amp;nbsp; Write Access Violation SGIOREAD&lt;BR /&gt;ERROR: Exception occurred at (02DBA231)&lt;BR /&gt;ERROR: Task Traceback&lt;BR /&gt;ERROR: Address&amp;nbsp;&amp;nbsp; Frame&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DBGHELP API Version 4.0 rev 5)&lt;BR /&gt;ERROR: 0000000002DBA231&amp;nbsp; 0000000003E0FBF0&amp;nbsp; sashost:Main+0xA2711&lt;BR /&gt;ERROR: 0000000002D289DB&amp;nbsp; 0000000003E0FF20&amp;nbsp; sashost:Main+0x10EBB&lt;BR /&gt;ERROR: 0000000002D2E61D&amp;nbsp; 0000000003E0FF50&amp;nbsp; sashost:Main+0x16AFD&lt;BR /&gt;ERROR: 00007FF8C74613D2&amp;nbsp; 0000000003E0FF58&amp;nbsp; KERNEL32:BaseThreadInitThunk+0x22&lt;BR /&gt;ERROR: 00007FF8C7D154F4&amp;nbsp; 0000000003E0FF88&amp;nbsp; ntdll:RtlUserThreadStart+0x34&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=========== Code fragment&lt;/P&gt;&lt;P&gt;data _demogs (sgio=no);&lt;/P&gt;&lt;P&gt;&amp;nbsp; set indata.demographic (keep=patid birth_date sex hispanic race source);&lt;/P&gt;&lt;P&gt;&amp;nbsp; where source not in ('X' 'Y' 'Z');&lt;/P&gt;&lt;P&gt;&amp;nbsp; if missing(Patid)=0 and missing(Birth_date)=0 then both=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if missing(Birth_date)=0 then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minagedate=intnx("year",Birth_date,18,"SAMEDAY");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if month(Birth_date) = 2 and day(Birth_date)=29 then minagedate=minagedate+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxagedate=intnx("year",Birth_date,85,"SAMEDAY");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if month(Birth_date) = 2 and day(Birth_date)=29 then maxagedate=maxagedate+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;format minagedate maxagedate date9.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 14:56:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418169#M102698</guid>
      <dc:creator>noobster</dc:creator>
      <dc:date>2017-12-04T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Write Access Violation SGIOREAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418177#M102703</link>
      <description>&lt;P&gt;Take this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;(sgio=no)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Out of the code, then run it.&amp;nbsp; It is masking any real errors.&amp;nbsp; Re-run then post the log of what happens.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418177#M102703</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-12-04T15:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Write Access Violation SGIOREAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418181#M102706</link>
      <description>&lt;P&gt;Removing sgio=no produces the same error&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418181#M102706</guid>
      <dc:creator>noobster</dc:creator>
      <dc:date>2017-12-04T15:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Write Access Violation SGIOREAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418183#M102708</link>
      <description>&lt;P&gt;You must have the option setup then, autoexcec or something like that.&amp;nbsp; What software are you using?&amp;nbsp; Can you see what options are set when you open SAS?&amp;nbsp; Also, if you have write access, that sounds like you don't have access to something, either the area where the file is located, or to your temporary workspace.&amp;nbsp; Do other datasets work (i.e. write a dataset from sashelp to your work).&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418183#M102708</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-12-04T15:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Write Access Violation SGIOREAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418188#M102711</link>
      <description>&lt;P&gt;-SGIO option is set in the global SAS config file (SAS version 9.4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Removing the SGIO option from the global config and restarting SAS fixes the issue, but we wanted to take advantage of the faster data processing using SGIO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418188#M102711</guid>
      <dc:creator>noobster</dc:creator>
      <dc:date>2017-12-04T15:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Write Access Violation SGIOREAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418191#M102712</link>
      <description>&lt;P&gt;To be honest I have never used or even heard of that option.&amp;nbsp; I assume your using Windows and the file is on Windows?&amp;nbsp; That was the only requirement I could find on this topic.&amp;nbsp; Otherwise, contact your SAS support contact, maybe you need something else installed.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:39:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418191#M102712</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-12-04T15:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Write Access Violation SGIOREAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418258#M102738</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;Yes,&lt;/P&gt;&lt;P&gt;The server is using windows and the file is on a windows file system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 18:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Access-Violation-SGIOREAD/m-p/418258#M102738</guid>
      <dc:creator>noobster</dc:creator>
      <dc:date>2017-12-04T18:36:28Z</dc:date>
    </item>
  </channel>
</rss>

