<?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: SAS data is read in by SAS Studio not by SAS EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908751#M44073</link>
    <description>&lt;P&gt;Is it just the data viewer in EG that won't show the data? Can you see the first observations in EG if you run PROC PRINT with an OBS= option? Is the data being accessed in EG via a libname statement or just directly from file system?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2023 02:27:31 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2023-12-19T02:27:31Z</dc:date>
    <item>
      <title>SAS data is read in by SAS Studio not by SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908738#M44071</link>
      <description>&lt;P&gt;SAS dataset created on Solaris 9.3 SAS exported to Linux SAS 9.4 M8&lt;/P&gt;
&lt;P&gt;simple sas dataset created on sas 9.3 solaris and exported to sas on linux 9.4 m8&lt;/P&gt;
&lt;P&gt;The dataset is read in via sas studio and if run in batch, however in EG it shows obs=0 but correct # of vars&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc content is almost identical encoding wise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 23:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908738#M44071</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2023-12-18T23:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS data is read in by SAS Studio not by SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908739#M44072</link>
      <description>&lt;P&gt;Show us the LOG from SAS at each step.&lt;/P&gt;
&lt;P&gt;We have no way of telling if the first step had any observations much less what ever was done later. The LOG will show how many observations were "created" and likely how many were "exported", depending on method.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 23:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908739#M44072</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-12-18T23:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS data is read in by SAS Studio not by SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908751#M44073</link>
      <description>&lt;P&gt;Is it just the data viewer in EG that won't show the data? Can you see the first observations in EG if you run PROC PRINT with an OBS= option? Is the data being accessed in EG via a libname statement or just directly from file system?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 02:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908751#M44073</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-12-19T02:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS data is read in by SAS Studio not by SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908755#M44074</link>
      <description>&lt;P&gt;I don't understand what you mean by "exported to&amp;nbsp;Linux SAS 9.4 M8".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you mean you copied the .sas7bdat file from old Unix system to the new Unix system?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or did you actually run something to "export" it.&amp;nbsp; If so what type of file did you export it into? And how did you import it back into a sas7bdat file?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 03:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908755#M44074</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-19T03:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS data is read in by SAS Studio not by SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908880#M44078</link>
      <description>&lt;P&gt;Hi Shoin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the SAS dataset is on the EG client machine then from EG's Process Flow window use Tasks &amp;gt; Browse &amp;gt; Data &amp;gt; 'Upload Data Files to&amp;nbsp; Server' task which will copy the data to a SAS library on the SASAPP server (WORK library by default) to see if the data opens with expected&amp;nbsp; rows.&lt;/P&gt;
&lt;P&gt;Or, if the SAS dataset is already on the SASAPP server (on the Linux box) then use a libname statement to point to the directory where the data resides then open the data from that library instead of the directly from the file system.&lt;/P&gt;
&lt;P&gt;Ex.&lt;/P&gt;
&lt;P&gt;libname mydata "in these quotes specify directory where the data resides on the linux box";&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;After running the code then right-click on Libraries folder to refresh so that you see the new library then expand to then view and open the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If still an issue then feel free to open a new Case with SAS Technical Support and I will be glad to follow-up with you.&amp;nbsp; Be sure to include a proc contents of the dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 19:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/908880#M44078</guid>
      <dc:creator>BillSawyer</dc:creator>
      <dc:date>2023-12-19T19:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS data is read in by SAS Studio not by SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/909016#M44087</link>
      <description>&lt;P&gt;When you say "EG &lt;STRONG&gt;shows&lt;/STRONG&gt; obs=0" what do you mean? Sometimes if you run PROC CONTENTS on a table in a database, it will show 0 obs, but that really means "I don't know how many obs there are because I can't find the information in the metadata".&amp;nbsp; But when you use the table in a DATA step, it reads all the data. So it's possible with transcoding or whatever, something like that is happening.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you have a .sas7bdat file it a directory somewhere, lib.have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you run:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=lib.have;
run;

data want;
  set lib.have (obs=10);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In both SAS studio and EG and post the results (log and PROC CONTENTS output)?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Are your SAS studio and EG pointed to the same SAS server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If SAS thinks this file is corrupted, the log should provide helpful errors/warnings.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 13:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-data-is-read-in-by-SAS-Studio-not-by-SAS-EG/m-p/909016#M44087</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-12-20T13:49:19Z</dc:date>
    </item>
  </channel>
</rss>

