<?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 SASEG GIT in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SASEG-GIT/m-p/756395#M39181</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was playing around GIT integration in SASEG, cloned a repository and ran simple data step, committed the code and pushed to the repository. I see the code got updated in the repository but surprisingly I see my data vanished from SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code I submitted&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data sashelp.cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After pushing the above code to the repository, I tried to re run the code in SASEG then I got message in SAS log saying no variables to display in sashelp.cars and sashelp.class. I thought the data might have uploaded in my repository but I don't see any data in my repository.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Karthik.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Jul 2021 08:08:07 GMT</pubDate>
    <dc:creator>karthikraop</dc:creator>
    <dc:date>2021-07-24T08:08:07Z</dc:date>
    <item>
      <title>SASEG GIT</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SASEG-GIT/m-p/756395#M39181</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was playing around GIT integration in SASEG, cloned a repository and ran simple data step, committed the code and pushed to the repository. I see the code got updated in the repository but surprisingly I see my data vanished from SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code I submitted&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data sashelp.cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After pushing the above code to the repository, I tried to re run the code in SASEG then I got message in SAS log saying no variables to display in sashelp.cars and sashelp.class. I thought the data might have uploaded in my repository but I don't see any data in my repository.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Karthik.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jul 2021 08:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SASEG-GIT/m-p/756395#M39181</guid>
      <dc:creator>karthikraop</dc:creator>
      <dc:date>2021-07-24T08:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: SASEG GIT</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SASEG-GIT/m-p/756419#M39182</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243584"&gt;@karthikraop&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data sashelp.cars;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243584"&gt;@karthikraop&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you code "Data" followed by a SAS dataset name, that is your&amp;nbsp;&lt;STRONG&gt;output.&lt;/STRONG&gt;&amp;nbsp; Input comes from a Set statement.&amp;nbsp; When you code a Data step without a Set statement, you're telling SAS to wipe out (delete) whatever data is in the&amp;nbsp;SAS dataset name.&amp;nbsp; The reason you don't have any data is that you deleted it.&amp;nbsp; I'm surprised though that SAS let you write to the SAShelp Library.&amp;nbsp; It should have been set up as Read Only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I were to work with SAShelp.Cars, I would first create a copy in the Work Library.&amp;nbsp; See code below.&amp;nbsp; Notice how there is a Set statement.&amp;nbsp; The Set statement is your&amp;nbsp;&lt;STRONG&gt;input&amp;nbsp;&lt;/STRONG&gt;SAS dataset.&amp;nbsp; The Data statement is your&amp;nbsp;&lt;STRONG&gt;output&amp;nbsp;&lt;/STRONG&gt;SAS dataset.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA	WORK.Cars;
	SET	SASHELP.Cars;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jul 2021 18:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SASEG-GIT/m-p/756419#M39182</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-07-24T18:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: SASEG GIT</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SASEG-GIT/m-p/756432#M39183</link>
      <description>Hello Jim,&lt;BR /&gt;&lt;BR /&gt;Your response is super helpful.&lt;BR /&gt;&lt;BR /&gt;Thank You,&lt;BR /&gt;Karthik.</description>
      <pubDate>Sat, 24 Jul 2021 22:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SASEG-GIT/m-p/756432#M39183</guid>
      <dc:creator>karthikraop</dc:creator>
      <dc:date>2021-07-24T22:42:17Z</dc:date>
    </item>
  </channel>
</rss>

