<?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 with Proc Convert in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Read-Access-Violation-with-Proc-Convert/m-p/463784#M70490</link>
    <description>&lt;P&gt;Proc convert is expecting to convert a file created by the SPSS EXPORT command. Was your SAV file created as such? If the file is not in the format that the procedure expects then you will get unexpected results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If &lt;SPAN class="token statement"&gt;libname&lt;/SPAN&gt; inlib spss &lt;SPAN class="token string"&gt;'H:\Research\Huebner Paper HIV\dash041818.sav'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Then you might try to see if the LIBRARY inlib shows any members and copy them to bhe HUEBHIV directly. If the library association was accepted then you should be able to read the files.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;With external files assigned as libraries it may be a good idea to clear the reference before attempting to reuse them as well such as:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;libname inlib;

libname inlib spss 'H:\Research\Huebner Paper HIV\Oakland data_ONLY GOOD CASES.sav';
&lt;/PRE&gt;</description>
    <pubDate>Mon, 21 May 2018 14:29:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-05-21T14:29:25Z</dc:date>
    <item>
      <title>Read Access Violation with Proc Convert</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Read-Access-Violation-with-Proc-Convert/m-p/463655#M70483</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to import two SPSS data files into SAS, and I am getting a Read Access Violation and Write Access Violation when I do. I'm running SAS for Windows v9.4. Here is the code I am using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname huebhiv 'H:\Research\Huebner Paper HIV\';
run;
libname inlib spss 'H:\Research\Huebner Paper HIV\dash041818.sav';
proc convert spss=inlib out=huebhiv.dash050118;
run;
libname inlib spss 'H:\Research\Huebner Paper HIV\Oakland data_ONLY GOOD CASES.sav';
proc convert spss=inlib out=huebhiv.oakland050118;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;And when I run it, I get this error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; proc convert spss=inlib out=huebhiv.dash050118;&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Using the libref INLIB, which has already been assigned to the file H:\Research\Huebner Paper&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIV\dash041818.sav.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR:&amp;nbsp; 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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SAS task name is [CONVERT]&lt;/P&gt;&lt;P&gt;ERROR:&amp;nbsp; Read Access Violation CONVERT&lt;/P&gt;&lt;P&gt;Exception occurred at (045A0276)&lt;/P&gt;&lt;P&gt;Task Traceback&lt;/P&gt;&lt;P&gt;Address&amp;nbsp;&amp;nbsp; Frame&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DBGHELP API Version 4.0 rev 5)&lt;/P&gt;&lt;P&gt;00000000045A0276&amp;nbsp; 00000000277CC710&amp;nbsp; sasxkern:tkvercn1+0xBF236&lt;/P&gt;&lt;P&gt;000000000456DF2D&amp;nbsp; 00000000277CC780&amp;nbsp; sasxkern:tkvercn1+0x8CEED&lt;/P&gt;&lt;P&gt;00000000090E3E76&amp;nbsp; 00000000277CC788&amp;nbsp; sasspss:tkvercn1+0x2E36&lt;/P&gt;&lt;P&gt;00000000090E2D76&amp;nbsp; 00000000277CD190&amp;nbsp; sasspss:tkvercn1+0x1D36&lt;/P&gt;&lt;P&gt;00000000090E17F1&amp;nbsp; 00000000277CD200&amp;nbsp; sasspss:tkvercn1+0x7B1&lt;/P&gt;&lt;P&gt;00000000249285EB&amp;nbsp; 00000000277CD208&amp;nbsp; sasyoio:tkvercn1+0x175AB&lt;/P&gt;&lt;P&gt;00000000249254F5&amp;nbsp; 00000000277CF5A0&amp;nbsp; sasyoio:tkvercn1+0x144B5&lt;/P&gt;&lt;P&gt;00000000248F1805&amp;nbsp; 00000000277CF5A8&amp;nbsp; sasconve:tkvercn1+0x7C5&lt;/P&gt;&lt;P&gt;0000000003348A2B&amp;nbsp; 00000000277CFBF8&amp;nbsp; sashost:Main+0x10F0B&lt;/P&gt;&lt;P&gt;000000000334E66D&amp;nbsp; 00000000277CFF50&amp;nbsp; sashost:Main+0x16B4D&lt;/P&gt;&lt;P&gt;00007FFD718F8364&amp;nbsp; 00000000277CFF58&amp;nbsp; KERNEL32:BaseThreadInitThunk+0x14&lt;/P&gt;&lt;P&gt;00007FFD727370B1&amp;nbsp; 00000000277CFF88&amp;nbsp; ntdll:RtlUserThreadStart+0x21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR:&amp;nbsp; 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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SAS task name is [CONVERT]&lt;/P&gt;&lt;P&gt;ERROR:&amp;nbsp; Write Access Violation CONVERT&lt;/P&gt;&lt;P&gt;Exception occurred at (02A39C0B)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SPSS file is not password-protected or anything like that, and when my mentor runs this code on his computer, it works fine for him. Could it be a version problem? Any thoughts or suggestions would be greatly appreciated. Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Sun, 20 May 2018 20:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Read-Access-Violation-with-Proc-Convert/m-p/463655#M70483</guid>
      <dc:creator>abarnett313</dc:creator>
      <dc:date>2018-05-20T20:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation with Proc Convert</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Read-Access-Violation-with-Proc-Convert/m-p/463784#M70490</link>
      <description>&lt;P&gt;Proc convert is expecting to convert a file created by the SPSS EXPORT command. Was your SAV file created as such? If the file is not in the format that the procedure expects then you will get unexpected results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If &lt;SPAN class="token statement"&gt;libname&lt;/SPAN&gt; inlib spss &lt;SPAN class="token string"&gt;'H:\Research\Huebner Paper HIV\dash041818.sav'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Then you might try to see if the LIBRARY inlib shows any members and copy them to bhe HUEBHIV directly. If the library association was accepted then you should be able to read the files.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;With external files assigned as libraries it may be a good idea to clear the reference before attempting to reuse them as well such as:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;libname inlib;

libname inlib spss 'H:\Research\Huebner Paper HIV\Oakland data_ONLY GOOD CASES.sav';
&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 May 2018 14:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Read-Access-Violation-with-Proc-Convert/m-p/463784#M70490</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-05-21T14:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation with Proc Convert</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Read-Access-Violation-with-Proc-Convert/m-p/464508#M70513</link>
      <description>&lt;P&gt;Thanks for your response. I tried to run the code again with files that were created with the EXPORT command in SPSS, but I receive the same error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;NOTE: Libref INLIB was successfully assigned as follows:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Engine:&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;SPSS&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Physical Name: H:\Research\Huebner Paper HIV\FINAL DASH_DATA ONLY GOOD CASES.por&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;ERROR:&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;An exception has been encountered.&lt;/P&gt;&lt;P class="p1"&gt;Please contact technical support and provide them with the following traceback information:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;The SAS task name is [CONVERT]&lt;/P&gt;&lt;P class="p1"&gt;ERROR:&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Read Access Violation CONVERT&lt;/P&gt;&lt;P class="p1"&gt;Exception occurred at (0459CBC9)&lt;/P&gt;&lt;P class="p1"&gt;Task Traceback&lt;/P&gt;&lt;P class="p1"&gt;Address &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Frame &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;(DBGHELP API Version 4.0 rev 5)&lt;/P&gt;&lt;P class="p1"&gt;000000000459CBC9&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DABA0&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxkern:tkvercn1+0xBBB89&lt;/P&gt;&lt;P class="p1"&gt;00000000045306B4&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DAC20&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxkern:tkvercn1+0x4F674&lt;/P&gt;&lt;P class="p1"&gt;0000000004542E4C&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DADD0&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxkern:tkvercn1+0x61E0C&lt;/P&gt;&lt;P class="p1"&gt;00000000045420E1&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DAEC0&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxkern:tkvercn1+0x610A1&lt;/P&gt;&lt;P class="p1"&gt;000000000453D521&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DAF90&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxkern:tkvercn1+0x5C4E1&lt;/P&gt;&lt;P class="p1"&gt;0000000004750485&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DAF98&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasyh:tkvercn1+0x2F445&lt;/P&gt;&lt;P class="p1"&gt;000000000474F644&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DBC00&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasyh:tkvercn1+0x2E604&lt;/P&gt;&lt;P class="p1"&gt;000000000474BC3B&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DBDD0&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasyh:tkvercn1+0x2ABFB&lt;/P&gt;&lt;P class="p1"&gt;0000000004723278&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DC570&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasyh:tkvercn1+0x2238&lt;/P&gt;&lt;P class="p1"&gt;0000000024A6D65C&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DC578&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasyoio:tkvercn1+0x1C61C&lt;/P&gt;&lt;P class="p1"&gt;0000000024A654F5&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DE910&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasyoio:tkvercn1+0x144B5&lt;/P&gt;&lt;P class="p1"&gt;00000000049374B6&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DE918&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxshel:tkvercn1+0x46476&lt;/P&gt;&lt;P class="p1"&gt;00000000049341A6&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DEB20&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxshel:tkvercn1+0x43166&lt;/P&gt;&lt;P class="p1"&gt;000000000493AD93&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DF480&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxshel:tkvercn1+0x49D53&lt;/P&gt;&lt;P class="p1"&gt;000000000493C31F&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DF540&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasxshel:tkvercn1+0x4B2DF&lt;/P&gt;&lt;P class="p1"&gt;0000000024A32362&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DF548&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasconve:tkvercn1+0x1322&lt;/P&gt;&lt;P class="p1"&gt;0000000024A310F4&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DFBF0&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sasconve:tkvercn1+0xB4&lt;/P&gt;&lt;P class="p1"&gt;0000000003368A2B&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DFBF8&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sashost:Main+0x10F0B&lt;/P&gt;&lt;P class="p1"&gt;000000000336E66D&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DFF50&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;sashost:Main+0x16B4D&lt;/P&gt;&lt;P class="p1"&gt;00007FF9F31E8364&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DFF58&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;KERNEL32:BaseThreadInitThunk+0x14&lt;/P&gt;&lt;P class="p1"&gt;00007FF9F3AF70B1&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;00000000300DFF88&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;ntdll:RtlUserThreadStart+0x21&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;NOTE: PROCEDURE CONVERT used (Total process time):&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;real time &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;0.03 seconds&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;cpu time&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part of what is confusing is that the code seems to work on my mentor's version of SAS with the same data files, but not on mine. I also tried using different names for the two library files, but no help. Any other ideas for what to try would be greatly appreciated. Thanks again! Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 18:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Read-Access-Violation-with-Proc-Convert/m-p/464508#M70513</guid>
      <dc:creator>abarnett313</dc:creator>
      <dc:date>2018-05-23T18:33:52Z</dc:date>
    </item>
  </channel>
</rss>

