<?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: info. from log in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172795#M13222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understanding the question is actually more complex than it sounds.&amp;nbsp; Here are some considerations ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a data set gets created and later deleted by the same program, should it be listed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a permanent data set gets deleted and later created by the same program, should it be listed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a permanent data set gets replaced by the program, should it be listed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a permanent data set gets modified by the program, should it be listed?&amp;nbsp; Several variations exist on what "modified" means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a view gets created instead of a data set, should that be listed?&amp;nbsp; Would the answer change if the view actually gets used to feed data to a procedure? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a data set gets created and replaced 5 times during the course of the program, do you want a count of how many times it has been "created"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not suggesting answers here ... just wanted to point out that the question becomes complex when you dig into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 18:18:59 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2014-02-19T18:18:59Z</dc:date>
    <item>
      <title>info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172782#M13209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends - i am totally new @ SAS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am taking training from one local institute online and one question raise from one student that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we have very &lt;EM&gt;&lt;STRONG&gt;big SAS log file&lt;/STRONG&gt;&lt;/EM&gt; and there are around &lt;EM&gt;&lt;STRONG&gt;10 SAS library&lt;/STRONG&gt;&lt;/EM&gt; have been assigned and if we wants to figure out &lt;EM&gt;&lt;STRONG&gt;how many data sets&lt;/STRONG&gt;&lt;/EM&gt; has been created from code in log, what is the best and quick way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some time and direction...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 23:39:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172782#M13209</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-12T23:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172783#M13210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting question. But what is the issue/requirement, what's the purpose?&lt;/P&gt;&lt;P&gt;Do you want to do this programmatically?&lt;/P&gt;&lt;P&gt;I think a better idea is to go to the source code, and understand the logic there. There are a tool called SCAPROC, I don't know if that can give you what you are looking for...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 07:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172783#M13210</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-02-13T07:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172784#M13211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Linus - i want to see if we can do this programmatically...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am at very beginning stage of SAS but I have an imagination and i am thinking if we can pull out every string from log and create one variable where we find below NOTE, which would related to a very specific line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*so may be this variable would have observations like this*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Datasets &lt;/P&gt;&lt;P&gt;NOTE: The data set work.test has 50 observations and 10 variables.&lt;/P&gt;&lt;P&gt;NOTE: The data set jim.batchout has 100000 observation and 50 variables. &lt;/P&gt;&lt;P&gt;NOTE: The data set work.test5 has 6000 observations and 5 variables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your interest...!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 17:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172784#M13211</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-13T17:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172785#M13212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about trying something like the following before you finish your SAS session.&lt;/P&gt;&lt;P&gt;It should create a SAS data set (new_ds) showing the SAS data sets created in the current session on the day you run it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc sql noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; create table new_ds as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; select *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; from dictionary.tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; where datepart(crdate) eq today()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 17:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172785#M13212</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2014-02-13T17:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172786#M13213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amir - i cannot change existing coding in our prod envi. - i don't have permission to do that as well as they will not allow me to do that &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must write code separately/ unscratched...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 18:50:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172786#M13213</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-13T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172787#M13214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case I think it would also help if you explain how you want your final output, e.g. flat file of data, and supply an example of what it should look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 18:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172787#M13214</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2014-02-13T18:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172788#M13215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have explain it in my previous post - see above///&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically i am expecting one variable and all string from log showing below. But again this is my thinking but you guys have more than one way to do it. I am just trying to figure easiest way to do it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*here data set would look like, one variable and no. of observation with all string starting from "NOTE: the data set .....has....obs and ....vars." */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Datasets&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;NOTE: The data set work.test has 50 observations and 10 variables.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;NOTE: The data set jim.batchout has 100000 observation and 50 variables.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;NOTE: The data set work.test5 has 6000 observations and 5 variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 19:15:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172788#M13215</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-13T19:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172789#M13216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can always use PROC PRINTTO to write the LOG to a .TXT file and then write a DATA step program to read the .TXT file and extract only the strings pertinent to dataset creation. There have been quite a few usergroup papers about that approach. Generally, though, you'd have to run your "new" program after every step that created datasets -- so that is saving a lot of LOG files and running your program to parse the LOG files. It is do-able. But, personally, I think the SQL example is more elegant and less work. You don't have to do a "Create table" in the SQL, you could just do a report by starting with the SELECT instead of the CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 13:47:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172789#M13216</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-02-14T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172790#M13217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you plan on reading the log then there might be more than one way the log informs you of when a new data set is created, e.g. if a SAS data set was created via &lt;SPAN style="font-family: 'courier new', courier;"&gt;proc sql&lt;/SPAN&gt; then you might see a slightly different note in the log, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Table WORK.TEST created, with 10 rows and 3 columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, you'll need to consider things such as &lt;SPAN style="font-family: 'courier new', courier;"&gt;proc append&lt;/SPAN&gt; which will also put out a note like you've shown but would you want to consider it as a new data set to add to your count. The same question applies if a data set is created and overwrites an existing same-named data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 18:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172790#M13217</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2014-02-14T18:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172791#M13218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So friends - I am thinking to pull out two different kind of string from log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*This is my imagination - please forgive me if i am wrong*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%if string strating from ="NOTE: The data set"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%if string starting from="NOTE: Table"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; font-size: 10pt;"&gt;/*then keep all these string into new data set "a" under variables "dataset"*/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dataset (variable)&lt;/P&gt;&lt;P&gt;NOTE: The data set work.test1 has 5 observations and 10 variables &lt;/P&gt;&lt;P&gt;NOTE: The data set market.test2 has 100 observation and 10 variables &lt;/P&gt;&lt;P&gt;NOTE: The data set work. test5 has 1000000 observation and 500 variables&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;NOTE: Table WORK.TEST created, with 10 rows and 3 columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;- Can someone please write code? Really appreciate it...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 00:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172791#M13218</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-19T00:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172792#M13219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Google: SAS Log Analyzer Site: Lexjansen.com&lt;/P&gt;&lt;P&gt;For several examples of programs that do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, worth looking into proc scaproc with the attr option on the record statement, though I don't think it gives you what you want. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 01:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172792#M13219</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-19T01:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172793#M13220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Reeza - I have found below parent child relationship code but don't know how to interpret with my scenario...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*if we have below scenario*/&lt;/P&gt;&lt;P&gt;/*there are 2 basic statements which contain the word observation: the "FROM" statement and "HAS" statement*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: There were 3 observations read from the data set WORK.RANDDATE.&lt;/P&gt;&lt;P&gt;NOTE: There were 16 observations read from the data set WORK.CONMED1.&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.CONMED2 has 16 observations and 22 variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*then we can apply this&lt;STRONG&gt; code&lt;/STRONG&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; create table parent7 as select parent6.child, parent6.parent1, parent6.parent2, parent6.parent3, parent6.parent4, parent6.parent5, dsets.parent as parent6&lt;/P&gt;&lt;P&gt;&amp;nbsp; from dsets right join parent6 on dsets.child=parent.parent5;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;where;&lt;/P&gt;&lt;P&gt;- collect information about parent dataset which we store in variable "parent"&lt;/P&gt;&lt;P&gt;- keep track of the obs count from the parent data sets - "parcount"&lt;/P&gt;&lt;P&gt;- from has statement, collect name of the child dataset - "child"&lt;/P&gt;&lt;P&gt;- final obs count - "chdcount"&lt;/P&gt;&lt;P&gt;- line at which this occurred in sas log - "lineid"&lt;/P&gt;&lt;P&gt;- this info. contain in data set "dset"&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;STRONG&gt;Output&lt;/STRONG&gt; would be like this*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CHILD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent3&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dataset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;conmed2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; conmed1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; conmed&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raw.med&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; randdate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 17:24:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172793#M13220</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-19T17:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172794#M13221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say, if SAS itself implement output which include below information from new upcoming version - then it would be awesome feature!!! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - How many data sets and tables has been created at end of the each log file &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - data set observation and variables /*we have this info. available but along with new feature &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;*/&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will keep searching on this...until i found something...!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172794#M13221</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-19T18:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172795#M13222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understanding the question is actually more complex than it sounds.&amp;nbsp; Here are some considerations ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a data set gets created and later deleted by the same program, should it be listed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a permanent data set gets deleted and later created by the same program, should it be listed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a permanent data set gets replaced by the program, should it be listed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a permanent data set gets modified by the program, should it be listed?&amp;nbsp; Several variations exist on what "modified" means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a view gets created instead of a data set, should that be listed?&amp;nbsp; Would the answer change if the view actually gets used to feed data to a procedure? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a data set gets created and replaced 5 times during the course of the program, do you want a count of how many times it has been "created"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not suggesting answers here ... just wanted to point out that the question becomes complex when you dig into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172795#M13222</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-02-19T18:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172796#M13223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Main goal is : &lt;SPAN style="text-decoration: underline;"&gt;list out how many data sets stored in permanent libraries at end of the log file&lt;/SPAN&gt;. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;After careful reviewing your questions - my answers would be&lt;SPAN style="text-decoration: underline;"&gt; BUT still i would stay with my main goal&lt;/SPAN&gt; - &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If a data set gets created and later deleted by the same program, should it be listed? &lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NO - &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If a permanent data set gets deleted and later created by the same program, should it be listed? - &lt;STRONG&gt;YES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If a permanent data set gets replaced by the program, should it be listed? &lt;STRONG&gt;YES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If a permanent data set gets modified by the program, should it be listed? - &lt;STRONG&gt;YES.&lt;/STRONG&gt;&amp;nbsp; Several variations exist on what "modified" means. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If a view gets created instead of a data set, should that be listed? &lt;STRONG&gt;YES&lt;/STRONG&gt;. Would the answer change if the view actually gets used to feed data to a procedure? &lt;STRONG&gt;NO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If a data set gets created and replaced 5 times during the course of the program, do you want a count of how many times it has been "created"? &lt;STRONG&gt;NO &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172796#M13223</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-19T18:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172797#M13224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;/*If i have to pull out strings like below from a complete log file - do we have any method to do it?&lt;/P&gt;&lt;P&gt;NOTE: The data set work.test has 100 observations and 10 variables. &lt;/P&gt;&lt;P&gt;NOTE: The data set market.test2 has 500 observation and 50 variables. &lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/*just a thought*/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename logfile 'c:\test.log';&lt;/P&gt;&lt;P&gt;%let a=work | market;&lt;/P&gt;&lt;P&gt;%let b=any character;&lt;/P&gt;&lt;P&gt;%let c=any number;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro check;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if string in : ("NOTE: The data set &amp;amp;a.&amp;amp;b &amp;amp;c &amp;amp;b &amp;amp;c &amp;amp;b") then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length string $100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile logfile;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string="NOTE: The data set &amp;amp;a.&amp;amp;b &amp;amp;c &amp;amp;b &amp;amp;c &amp;amp;b";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select loginfo into :string separated by ' ' from test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%check;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*thanks*/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 19:25:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172797#M13224</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-20T19:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172798#M13225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm not sure you have the macro code correct. Your macro variables are not doing what you think they are going to do. Try this test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%let a=work | market;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%let b=any character;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%let c=any number;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%macro check;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; %put NOTE: The data set &amp;amp;a.&amp;amp;b &amp;amp;c &amp;amp;b &amp;amp;c &amp;amp;b;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%mend;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%check;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then look in the SAS log (see screen shot). Have you tried to actually RUN your code???? Your IF statement is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11468iE215AF7028733545/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="what_are_macro_vars_going_to_produce.png" title="what_are_macro_vars_going_to_produce.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 19:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172798#M13225</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-02-20T19:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172799#M13226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia - i mentioned in my comment that this is just thought - I am not expert at all on macro, i am at very beginning stage in macro as well as SAS. I just wanted to know if somehow we can pull those particular strings&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;NOTE: The data set work.test has 100 observations and 10 variables.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;NOTE: The data set market.test2 has 500 observation and 50 variables.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;)&lt;/P&gt;&lt;P&gt;from log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Thanks for your time!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 20:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172799#M13226</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-20T20:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172800#M13227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the goal is to create a summary of "net data sets created/modified" by the current program, then perhaps you could instrument your program for this.&amp;nbsp; Here's an approach that uses the data table datetime stamp to detect which tables were modified after a given point in time (captured at the program start):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Consolas; font-size: 11pt;"&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; perm &lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;"c:\temp"&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;/* start the timer ... NOW! */&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; cutoff = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(datetime());&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;/* create some tables in various libraries */&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; perm.a perm.b perm.c work.ignore;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; sashelp.class;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;/* create a table with entries for */&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;/* each table created since the program started */&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;sql&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; net_tables &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; sashelp.vtable t1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; t1.modate &amp;gt; &amp;amp;cutoff&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; libname &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;not&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'WORK'&lt;/SPAN&gt; &lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'SASHELP'&lt;/SPAN&gt; &lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'MAPS'&lt;/SPAN&gt; &lt;SPAN style="color: #008000; background-color: #ffffff;"&gt;/* additional libraries to "ignore" */&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 20:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172800#M13227</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2014-02-20T20:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: info. from log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172801#M13228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW Chris &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;... &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;... &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; this is awesome...This will definitely help. I didn't think someone would come up with just 2 steps to fulfill this requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot...!!! i really appreciate your &lt;EM&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/EM&gt;...!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will drop unwanted variables from "net_tables"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Thanks Again &lt;STRONG&gt;Chris&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Thanks &lt;STRONG&gt;ALL&lt;/STRONG&gt; for your time and comments. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 21:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/info-from-log/m-p/172801#M13228</guid>
      <dc:creator>jimksas</dc:creator>
      <dc:date>2014-02-20T21:09:34Z</dc:date>
    </item>
  </channel>
</rss>

