<?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: Export data to Excel from WRDS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789451#M32403</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is WRDS?&amp;nbsp;Wharton Research Data Services?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To start with, I think your&lt;/P&gt;
&lt;PRE&gt;outfile='/home/qmul/beir/sasuser.v94/Book1'&lt;/PRE&gt;
&lt;P&gt;should be&lt;/P&gt;
&lt;PRE&gt;outfile='/home/qmul/beir/sasuser.v94/Book1.xlsx'&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 13:04:42 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-01-11T13:04:42Z</dc:date>
    <item>
      <title>Export data to Excel from WRDS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789446#M32401</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I am new to SAS. I am trying to export some data from WRDS to excel.&lt;BR /&gt;&lt;BR /&gt;I am using the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE TABLE WORK.query AS&lt;BR /&gt;SELECT 'Name'n FROM CISDM.ACTIVE_FUND_INFO;&lt;BR /&gt;RUN;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;PROC DATASETS NOLIST NODETAILS;&lt;BR /&gt;CONTENTS DATA=WORK.query OUT=WORK.details;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC PRINT DATA=WORK.details;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC EXPORT DATA=WORK.query;&lt;BR /&gt;outfile='/home/qmul/beir/sasuser.v94/Book1'&lt;BR /&gt;dbms=xlsx &lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;I have uploaded an empty Excel file to SAS. The error I get is: &lt;BR /&gt;ERROR: FILE=OR TABLE= is required and must be satisfied.&lt;BR /&gt;&lt;BR /&gt;Could you please help me with this?&lt;BR /&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 16:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789446#M32401</guid>
      <dc:creator>beir</dc:creator>
      <dc:date>2022-01-11T16:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to Excel from WRDS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789450#M32402</link>
      <description>&lt;P&gt;A semicolon is missing after "dbms=xlsx".&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 13:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789450#M32402</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-01-11T13:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to Excel from WRDS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789451#M32403</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is WRDS?&amp;nbsp;Wharton Research Data Services?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To start with, I think your&lt;/P&gt;
&lt;PRE&gt;outfile='/home/qmul/beir/sasuser.v94/Book1'&lt;/PRE&gt;
&lt;P&gt;should be&lt;/P&gt;
&lt;PRE&gt;outfile='/home/qmul/beir/sasuser.v94/Book1.xlsx'&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 13:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789451#M32403</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-01-11T13:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to Excel from WRDS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789508#M32408</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
PROC SQL;
CREATE TABLE WORK.query AS
SELECT 'Name'n FROM CISDM.ACTIVE_FUND_INFO;
RUN;
QUIT;

PROC DATASETS NOLIST NODETAILS;
CONTENTS DATA=WORK.query OUT=WORK.details;
RUN;

PROC PRINT DATA=WORK.details;
RUN;

PROC EXPORT DATA=WORK.query
outfile='/home/qmul/beir/sasuser.v94/Book1.xlsx'
dbms=xlsx replace;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL&gt;
&lt;LI&gt;Remove semicolon after DATA= (too early)&lt;/LI&gt;
&lt;LI&gt;Add extension to file name, Book1.xlsx&lt;/LI&gt;
&lt;LI&gt;Add Replace to specify that it should write over any other Book1&lt;/LI&gt;
&lt;LI&gt;Add Semicolon after Replace&lt;/LI&gt;
&lt;/OL&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/412280"&gt;@beir&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I am new to SAS. I am trying to export some data from WRDS to excel.&lt;BR /&gt;&lt;BR /&gt;I am using the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE TABLE WORK.query AS&lt;BR /&gt;SELECT 'Name'n FROM CISDM.ACTIVE_FUND_INFO;&lt;BR /&gt;RUN;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;PROC DATASETS NOLIST NODETAILS;&lt;BR /&gt;CONTENTS DATA=WORK.query OUT=WORK.details;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC PRINT DATA=WORK.details;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC EXPORT DATA=WORK.query;&lt;BR /&gt;outfile='/home/qmul/beir/sasuser.v94/Book1'&lt;BR /&gt;dbms=xlsx &lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;I have uploaded an empty Excel file to SAS. The error I get is: &lt;BR /&gt;ERROR: FILE=OR TABLE= is required and must be satisfied.&lt;BR /&gt;&lt;BR /&gt;Could you please help me with this?&lt;BR /&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 16:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789508#M32408</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-11T16:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to Excel from WRDS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789515#M32409</link>
      <description>Exporting to the sasuser folder is a weird location to export files.</description>
      <pubDate>Tue, 11 Jan 2022 16:22:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Export-data-to-Excel-from-WRDS/m-p/789515#M32409</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-11T16:22:47Z</dc:date>
    </item>
  </channel>
</rss>

