<?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 Identify the SAS program name from SAS dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37705#M9628</link>
    <description>Hi to all,&lt;BR /&gt;
&lt;BR /&gt;
Is there some SAS proc able to Identify the SAS program NAME(or path of the SAS Programm) from SAS dataset?&lt;BR /&gt;
&lt;BR /&gt;
thanks!</description>
    <pubDate>Thu, 24 Mar 2011 11:03:18 GMT</pubDate>
    <dc:creator>reone</dc:creator>
    <dc:date>2011-03-24T11:03:18Z</dc:date>
    <item>
      <title>Identify the SAS program name from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37705#M9628</link>
      <description>Hi to all,&lt;BR /&gt;
&lt;BR /&gt;
Is there some SAS proc able to Identify the SAS program NAME(or path of the SAS Programm) from SAS dataset?&lt;BR /&gt;
&lt;BR /&gt;
thanks!</description>
      <pubDate>Thu, 24 Mar 2011 11:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37705#M9628</guid>
      <dc:creator>reone</dc:creator>
      <dc:date>2011-03-24T11:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the SAS program name from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37706#M9629</link>
      <description>Hello Reone,&lt;BR /&gt;
&lt;BR /&gt;
It is not clear from your post what do you mean. Is it possible to keep program names (and paths) in SAS dataset? The answer is yes, but is it what you need? &lt;BR /&gt;
&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Thu, 24 Mar 2011 13:23:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37706#M9629</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-03-24T13:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the SAS program name from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37707#M9630</link>
      <description>Reone,&lt;BR /&gt;
the answer to your question is NO&lt;BR /&gt;
It would be possible, if the programmer of the process creating the data set, took the trouble to add that information to (the label of) the data sets created, but that seldom happens in my experience. &lt;BR /&gt;
 &lt;BR /&gt;
good luck &lt;BR /&gt;
peterC</description>
      <pubDate>Thu, 24 Mar 2011 14:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37707#M9630</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-03-24T14:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the SAS program name from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37708#M9631</link>
      <description>Do you remember when SAS data sets had "HISTORY"? &lt;BR /&gt;
&lt;BR /&gt;
It included the source data that created the data set. Which could be a data step but was usually PROC SORT. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 24 Mar 2011 15:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37708#M9631</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2011-03-24T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the SAS program name from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37709#M9632</link>
      <description>While you are running SAS programs in "batch" from a "SYSIN" source (depends on your SAS session/environment though), consider that there is current-environment information available, if you wanted to do something with that.  Your interest/purpose is unclear, based on your post -- so what would you with the info and when would you want to know about the "event"??&lt;BR /&gt;
&lt;BR /&gt;
Mostly you will find info about the SYSIN option in the particular SAS companion guide for your Operating System.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
batch program source sysin option site:sas.com</description>
      <pubDate>Thu, 24 Mar 2011 16:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37709#M9632</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-03-24T16:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the SAS program name from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37710#M9633</link>
      <description>Ah, yes, aaaaah remember it well!&lt;BR /&gt;
(almost a song)&lt;BR /&gt;
And as you say, the final step in the history would be a sort &lt;BR /&gt;
- but in an early release the last "n" steps were kept where that "n" was a history option which we set option history= 7 so the seven latest steps writing the table were available. &lt;BR /&gt;
I guess it might need a very large header to keep enough versions for everyone!</description>
      <pubDate>Thu, 24 Mar 2011 16:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Identify-the-SAS-program-name-from-SAS-dataset/m-p/37710#M9633</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-03-24T16:43:39Z</dc:date>
    </item>
  </channel>
</rss>

