<?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: data in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806464#M33565</link>
    <description>&lt;P&gt;Dear Kurt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it is not working. This is the log file:&lt;/P&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         
 70         libname home "/home/u61281042/sasuser.v94;
 71         
 72         proc export
 73           data=home.epcg10
 74           file="~/epcg10.csv"
 75           dbms=csv
 76           replace
 77         ;
 78         run;
 79         
 74           file="~/epcg10.csv"
                    _
                    22
 ERROR 22-7: Invalid option name ~.
 
 80         
 81         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 82         ODS HTML CLOSE;
 83         &amp;amp;GRAPHTERM; ;*';*";
 ERROR: Libref HOME is not assigned.
 ERROR: Error in the LIBNAME statement.
 83       !                    */;RUN;QUIT;
 84         QUIT;RUN;
 85         ODS HTML5 (ID=WEB) CLOSE;
 86         
 87         FILENAME _GSFNAME;
 NOTE: Fileref _GSFNAME has been deassigned.
 88         DATA _NULL_;
 89         RUN;
 
 NOTE: DATA statement ha utilizado (Tiempo de proceso total):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              459.96k
       OS Memory           24488.00k
       Timestamp           07/04/2022 10:35:14 a.m.
       Step Count                        80  Switch Count  0
       Page Faults                       0
       Page Reclaims                     24
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 
 90         OPTIONS NOTES STIMER SOURCE SYNTAXCHECK;
 91         &lt;/PRE&gt;&lt;P&gt;Thank you very much for the help.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2022 10:37:45 GMT</pubDate>
    <dc:creator>sergi213</dc:creator>
    <dc:date>2022-04-07T10:37:45Z</dc:date>
    <item>
      <title>data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806457#M33563</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very new to using SAS and my only reason here is because I would love to convert a ".sas7bdat" file into a ".csv" file. I have the online university version of SAS and I have upload the&amp;nbsp;".sas7bdat" file into the server. How should I write a code that transforms the SAS file into a csv so that it can be open-source format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Sergi&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 10:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data/m-p/806457#M33563</guid>
      <dc:creator>sergi213</dc:creator>
      <dc:date>2022-04-07T10:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806462#M33564</link>
      <description>&lt;P&gt;If you uploaded a file (say, xxx.sas7bdat) to your "Home" folder in SAS Studio, this file resides in your personal home directory on the server.&lt;/P&gt;
&lt;P&gt;Right-click on "Home", select Properties, and copy the path name.&lt;/P&gt;
&lt;P&gt;Then run this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname home "&amp;lt;insert the path name here&amp;gt;";

proc export
  data=home.xxx
  file="~/xxx.csv"
  dbms=csv
  replace
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You should see the newly created file in your Home, from where you can download it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not work, post the complete log by copy/pasting it into a window opened with this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54552i914D97BE1B0F21E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 10:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data/m-p/806462#M33564</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-07T10:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806464#M33565</link>
      <description>&lt;P&gt;Dear Kurt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it is not working. This is the log file:&lt;/P&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         
 70         libname home "/home/u61281042/sasuser.v94;
 71         
 72         proc export
 73           data=home.epcg10
 74           file="~/epcg10.csv"
 75           dbms=csv
 76           replace
 77         ;
 78         run;
 79         
 74           file="~/epcg10.csv"
                    _
                    22
 ERROR 22-7: Invalid option name ~.
 
 80         
 81         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 82         ODS HTML CLOSE;
 83         &amp;amp;GRAPHTERM; ;*';*";
 ERROR: Libref HOME is not assigned.
 ERROR: Error in the LIBNAME statement.
 83       !                    */;RUN;QUIT;
 84         QUIT;RUN;
 85         ODS HTML5 (ID=WEB) CLOSE;
 86         
 87         FILENAME _GSFNAME;
 NOTE: Fileref _GSFNAME has been deassigned.
 88         DATA _NULL_;
 89         RUN;
 
 NOTE: DATA statement ha utilizado (Tiempo de proceso total):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              459.96k
       OS Memory           24488.00k
       Timestamp           07/04/2022 10:35:14 a.m.
       Step Count                        80  Switch Count  0
       Page Faults                       0
       Page Reclaims                     24
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 
 90         OPTIONS NOTES STIMER SOURCE SYNTAXCHECK;
 91         &lt;/PRE&gt;&lt;P&gt;Thank you very much for the help.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 10:37:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data/m-p/806464#M33565</guid>
      <dc:creator>sergi213</dc:creator>
      <dc:date>2022-04-07T10:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806468#M33566</link>
      <description>&lt;P&gt;You seem to have had unbalanced double quotes earlier in your code.&lt;/P&gt;
&lt;P&gt;Start a new session, and run the code there.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 10:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data/m-p/806468#M33566</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-07T10:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806515#M33571</link>
      <description>&lt;LI-CODE lang="sas"&gt;address home "&amp;lt;insert the path name here&amp;gt;";

pro export
  data=home.xxx
  file="~/xxx.csv"
  dbms=csv
  filename-dexter-.***
;
run;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Apr 2022 14:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data/m-p/806515#M33571</guid>
      <dc:creator>dexcort2020</dc:creator>
      <dc:date>2022-04-07T14:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806535#M33573</link>
      <description>&lt;P&gt;This&lt;/P&gt;
&lt;PRE&gt; 70         libname home "/home/u61281042/sasuser.v&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;94;&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#008000"&gt;  &amp;lt;=missing the closing "&lt;/FONT&gt;
 71         
 72         proc export
 73           data=home.epcg10
 74           file="~/epcg10.csv"  &amp;lt;= so on this line the first " ends the path for the LIBNAME abvoe and the ~ is treated as a LIBNAME option
 75           dbms=csv
 76           replace
 77         ;
 78         run;
 79         
 74           file="~/epcg10.csv"&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Apr 2022 14:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data/m-p/806535#M33573</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-07T14:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data/m-p/806542#M33574</link>
      <description>&lt;P&gt;ADDRESS is not a valid SAS statement, neither is PRO. Take care when you post code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/406226"&gt;@dexcort2020&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;LI-CODE lang="sas"&gt;address home "&amp;lt;insert the path name here&amp;gt;";

pro export
  data=home.xxx
  file="~/xxx.csv"
  dbms=csv
  filename-dexter-.***
;
run;&lt;/LI-CODE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 15:25:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data/m-p/806542#M33574</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-07T15:25:05Z</dc:date>
    </item>
  </channel>
</rss>

