<?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: Read Access Violation error message in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242136#M44931</link>
    <description>Does it always happen? Sometimes it's just a temporary access issue, file being scanned by virus checker or temporary network unavailability. Retry and let us know.</description>
    <pubDate>Wed, 06 Jan 2016 22:36:32 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-01-06T22:36:32Z</dc:date>
    <item>
      <title>Read Access Violation error message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242129#M44930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to construct lagged variables from t-1 to t-5 and had the following error message. The SAS version is 9.3 (TS1M2) and Window 7 with 64 bit OS is installed on my PC. Thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;27 data s3; set s2;&lt;/P&gt;&lt;P&gt;28 lag_txpd = lag(txpd);&lt;/P&gt;&lt;P&gt;29 if gvkey ne lag(gvkey) then lag_txpd = .;&lt;/P&gt;&lt;P&gt;30 lag2_txpd = lag2(txpd);&lt;/P&gt;&lt;P&gt;31 if gvkey ne lag2(gvkey) then lag2_txpd = .;&lt;/P&gt;&lt;P&gt;32 lag3_txpd = lag3(txpd);&lt;/P&gt;&lt;P&gt;33 if gvkey ne lag3(gvkey) then lag3_txpd = .;&lt;/P&gt;&lt;P&gt;34 lag4_txpd = lag4(txpd);&lt;/P&gt;&lt;P&gt;35 if gvkey ne lag4(gvkey) then lag4_txpd = .;&lt;/P&gt;&lt;P&gt;36 lag5_txpd = lag5(txpd);&lt;/P&gt;&lt;P&gt;37 if gvkey ne lag5(gvkey) then lag5_txpd = .; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: An exception has been encountered.&lt;/P&gt;&lt;P&gt;Please contact technical support and provide them with the following traceback information:&lt;/P&gt;&lt;P&gt;The SAS task name is [DATASTEP]&lt;/P&gt;&lt;P&gt;ERROR: Read Access Violation DATASTEP&lt;/P&gt;&lt;P&gt;Exception occurred at (04937817)&lt;/P&gt;&lt;P&gt;Task Traceback&lt;/P&gt;&lt;P&gt;Address Frame (DBGHELP API Version 4.0 rev 5)&lt;/P&gt;&lt;P&gt;0000000004937817 000000000A16A1F0 sasxkern:tkvercn1+0x667D7&lt;/P&gt;&lt;P&gt;000000000493BD28 000000000A16A320 sasxkern:tkvercn1+0x6ACE8&lt;/P&gt;&lt;P&gt;00000000049366B0 000000000A16A3C0 sasxkern:tkvercn1+0x65670&lt;/P&gt;&lt;P&gt;0000000004B1E4F0 000000000A16A3C8 sasyh:tkvercn1+0x2D4B0&lt;/P&gt;&lt;P&gt;0000000004B1D750 000000000A16B040 sasyh:tkvercn1+0x2C710&lt;/P&gt;&lt;P&gt;0000000004B1684B 000000000A16B210 sasyh:tkvercn1+0x2580B&lt;/P&gt;&lt;P&gt;0000000004AF2EBD 000000000A16B9A0 sasyh:tkvercn1+0x1E7D&lt;/P&gt;&lt;P&gt;000000000697D6B5 000000000A16B9A8 sasyoio:tkvercn1+0x1C675&lt;/P&gt;&lt;P&gt;00000000069751A1 000000000A16F8F0 sasyoio:tkvercn1+0x14161&lt;/P&gt;&lt;P&gt;0000000008459CBC 000000000A16F8F8 sasdsx:tkvercn1+0x8C7C&lt;/P&gt;&lt;P&gt;0000000008451215 000000000A16FC20 sasdsx:tkvercn1+0x1D5&lt;/P&gt;&lt;P&gt;00000000068F16A1 000000000A16FC28 sasds:tkvercn1+0x661&lt;/P&gt;&lt;P&gt;00000000068F1495 000000000A16FCB0 sasds:tkvercn1+0x455&lt;/P&gt;&lt;P&gt;0000000003478FD7 000000000A16FCB8 sashost:Main+0xF917&lt;/P&gt;&lt;P&gt;000000000347D5FD 000000000A16FF50 sashost:Main+0x13F3D&lt;/P&gt;&lt;P&gt;0000000077445A4D 000000000A16FF58 kernel32:BaseThreadInitThunk+0xD&lt;/P&gt;&lt;P&gt;000000007767B831 000000000A16FF88 ntdll:RtlUserThreadStart+0x21&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.13 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.07 seconds&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 21:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242129#M44930</guid>
      <dc:creator>kimx0961</dc:creator>
      <dc:date>2016-01-06T21:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation error message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242136#M44931</link>
      <description>Does it always happen? Sometimes it's just a temporary access issue, file being scanned by virus checker or temporary network unavailability. Retry and let us know.</description>
      <pubDate>Wed, 06 Jan 2016 22:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242136#M44931</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-06T22:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation error message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242142#M44934</link>
      <description>Yes. The same error message comes out. 77 data s3; set s2; 78 lag_txpd = lag(txpd); 79 if gvkey ne lag(gvkey) then lag_txpd = .; 80 lag2_txpd = lag2(txpd); 81 if gvkey ne lag2(gvkey) then lag2_txpd = .; 82 lag3_txpd = lag3(txpd); 83 if gvkey ne lag3(gvkey) then lag3_txpd = .; 84 lag4_txpd = lag4(txpd); 85 if gvkey ne lag4(gvkey) then lag4_txpd = .; 86 lag5_txpd = lag5(txpd); 87 if gvkey ne lag5(gvkey) then lag5_txpd = .; run; ERROR: An exception has been encountered. Please contact technical support and provide them with the following traceback information: The SAS task name is [DATASTEP] ERROR: Read Access Violation DATASTEP Exception occurred at (04937817) Task Traceback Address Frame (DBGHELP API Version 4.0 rev 5) 0000000004937817 000000000AB5A1F0 sasxkern:tkvercn1+0x667D7 000000000493BD28 000000000AB5A320 sasxkern:tkvercn1+0x6ACE8 00000000049366B0 000000000AB5A3C0 sasxkern:tkvercn1+0x65670 0000000004B1E4F0 000000000AB5A3C8 sasyh:tkvercn1+0x2D4B0 0000000004B1D750 000000000AB5B040 sasyh:tkvercn1+0x2C710 0000000004B1684B 000000000AB5B210 sasyh:tkvercn1+0x2580B 0000000004AF2EBD 000000000AB5B9A0 sasyh:tkvercn1+0x1E7D 000000000697D6B5 000000000AB5B9A8 sasyoio:tkvercn1+0x1C675 00000000069751A1 000000000AB5F8F0 sasyoio:tkvercn1+0x14161 0000000008459CBC 000000000AB5F8F8 sasdsx:tkvercn1+0x8C7C 0000000008451215 000000000AB5FC20 sasdsx:tkvercn1+0x1D5 00000000068F16A1 000000000AB5FC28 sasds:tkvercn1+0x661 00000000068F1495 000000000AB5FCB0 sasds:tkvercn1+0x455 0000000003478FD7 000000000AB5FCB8 sashost:Main+0xF917 000000000347D5FD 000000000AB5FF50 sashost:Main+0x13F3D 0000000077445A4D 000000000AB5FF58 kernel32:BaseThreadInitThunk+0xD 000000007767B831 000000000AB5FF88 ntdll:RtlUserThreadStart+0x21 NOTE: The SAS System stopped processing this step because of errors. NOTE: DATA statement used (Total process time): real time 0.15 seconds cpu time 0.10 seconds</description>
      <pubDate>Thu, 07 Jan 2016 00:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242142#M44934</guid>
      <dc:creator>kimx0961</dc:creator>
      <dc:date>2016-01-07T00:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation error message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242143#M44935</link>
      <description>&lt;P&gt;Yes. The error message comes out again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;77 data s3; set s2;&lt;/P&gt;&lt;P&gt;78 lag_txpd = lag(txpd);&lt;/P&gt;&lt;P&gt;79 if gvkey ne lag(gvkey) then lag_txpd = .;&lt;/P&gt;&lt;P&gt;80 lag2_txpd = lag2(txpd);&lt;/P&gt;&lt;P&gt;81 if gvkey ne lag2(gvkey) then lag2_txpd = .;&lt;/P&gt;&lt;P&gt;82 lag3_txpd = lag3(txpd);&lt;/P&gt;&lt;P&gt;83 if gvkey ne lag3(gvkey) then lag3_txpd = .;&lt;/P&gt;&lt;P&gt;84 lag4_txpd = lag4(txpd);&lt;/P&gt;&lt;P&gt;85 if gvkey ne lag4(gvkey) then lag4_txpd = .;&lt;/P&gt;&lt;P&gt;86 lag5_txpd = lag5(txpd);&lt;/P&gt;&lt;P&gt;87 if gvkey ne lag5(gvkey) then lag5_txpd = .; run;&lt;/P&gt;&lt;P&gt;ERROR: An exception has been encountered.&lt;/P&gt;&lt;P&gt;Please contact technical support and provide them with the following traceback information:&lt;/P&gt;&lt;P&gt;The SAS task name is [DATASTEP]&lt;/P&gt;&lt;P&gt;ERROR: Read Access Violation DATASTEP&lt;/P&gt;&lt;P&gt;Exception occurred at (04937817)&lt;/P&gt;&lt;P&gt;Task Traceback&lt;/P&gt;&lt;P&gt;Address Frame (DBGHELP API Version 4.0 rev 5)&lt;/P&gt;&lt;P&gt;0000000004937817 000000000AB5A1F0 sasxkern:tkvercn1+0x667D7&lt;/P&gt;&lt;P&gt;000000000493BD28 000000000AB5A320 sasxkern:tkvercn1+0x6ACE8&lt;/P&gt;&lt;P&gt;00000000049366B0 000000000AB5A3C0 sasxkern:tkvercn1+0x65670&lt;/P&gt;&lt;P&gt;0000000004B1E4F0 000000000AB5A3C8 sasyh:tkvercn1+0x2D4B0&lt;/P&gt;&lt;P&gt;0000000004B1D750 000000000AB5B040 sasyh:tkvercn1+0x2C710&lt;/P&gt;&lt;P&gt;0000000004B1684B 000000000AB5B210 sasyh:tkvercn1+0x2580B&lt;/P&gt;&lt;P&gt;0000000004AF2EBD 000000000AB5B9A0 sasyh:tkvercn1+0x1E7D&lt;/P&gt;&lt;P&gt;000000000697D6B5 000000000AB5B9A8 sasyoio:tkvercn1+0x1C675&lt;/P&gt;&lt;P&gt;00000000069751A1 000000000AB5F8F0 sasyoio:tkvercn1+0x14161&lt;/P&gt;&lt;P&gt;0000000008459CBC 000000000AB5F8F8 sasdsx:tkvercn1+0x8C7C&lt;/P&gt;&lt;P&gt;0000000008451215 000000000AB5FC20 sasdsx:tkvercn1+0x1D5&lt;/P&gt;&lt;P&gt;00000000068F16A1 000000000AB5FC28 sasds:tkvercn1+0x661&lt;/P&gt;&lt;P&gt;00000000068F1495 000000000AB5FCB0 sasds:tkvercn1+0x455&lt;/P&gt;&lt;P&gt;0000000003478FD7 000000000AB5FCB8 sashost:Main+0xF917&lt;/P&gt;&lt;P&gt;000000000347D5FD 000000000AB5FF50 sashost:Main+0x13F3D&lt;/P&gt;&lt;P&gt;0000000077445A4D 000000000AB5FF58 kernel32:BaseThreadInitThunk+0xD&lt;/P&gt;&lt;P&gt;000000007767B831 000000000AB5FF88 ntdll:RtlUserThreadStart+0x21&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.15 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.10 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 00:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242143#M44935</guid>
      <dc:creator>kimx0961</dc:creator>
      <dc:date>2016-01-07T00:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation error message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242253#M44952</link>
      <description>&lt;P&gt;Have tried using a subset of S2 such as just 5 or 10 records? Does it generate the same error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does a Proc Contents show for S2?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 18:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Access-Violation-error-message/m-p/242253#M44952</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-01-07T18:34:43Z</dc:date>
    </item>
  </channel>
</rss>

