<?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: Creating Separate log files for each iteration in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532459#M145895</link>
    <description>&lt;P&gt;&lt;EM&gt;&amp;gt; Now I want from enrollemnt ,3 subjects to be picked each time&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see the 3 subjects&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Feb 2019 22:24:17 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2019-02-03T22:24:17Z</dc:date>
    <item>
      <title>Creating Separate log files for each iteration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532376#M145880</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings for the Day..!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have below set of datasets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enrollment:&lt;/P&gt;&lt;P&gt;111&lt;/P&gt;&lt;P&gt;222&lt;/P&gt;&lt;P&gt;333&lt;/P&gt;&lt;P&gt;444&lt;/P&gt;&lt;P&gt;555&lt;/P&gt;&lt;P&gt;666&lt;/P&gt;&lt;P&gt;777&lt;/P&gt;&lt;P&gt;888&lt;/P&gt;&lt;P&gt;999&lt;/P&gt;&lt;P&gt;000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where Enrollment is a Base for all demog and ipadmin datsets&lt;/P&gt;&lt;P&gt;demog:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;111 ramya&lt;/P&gt;&lt;P&gt;222 prathic&lt;/P&gt;&lt;P&gt;777 pavan&lt;/P&gt;&lt;P&gt;444 stephan&lt;/P&gt;&lt;P&gt;555 ram&lt;/P&gt;&lt;P&gt;666 kavb&lt;/P&gt;&lt;P&gt;888 tiny&lt;/P&gt;&lt;P&gt;999 donn&lt;/P&gt;&lt;P&gt;000 raky&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ipadmin:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;111 ramya&lt;/P&gt;&lt;P&gt;111 ravi&lt;/P&gt;&lt;P&gt;111 Karan&lt;/P&gt;&lt;P&gt;222 nicole&lt;/P&gt;&lt;P&gt;222 sipho&lt;/P&gt;&lt;P&gt;222 cheryl&lt;/P&gt;&lt;P&gt;222 yong&lt;/P&gt;&lt;P&gt;222 asturd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want from enrollemnt ,3 subjects to be picked each time. and&amp;nbsp; the subsequent demog and ipadmin also should run. with a separate log and sleeping time of 1 mints in each iteration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output is :&lt;/P&gt;&lt;P&gt;1st oteration:&lt;/P&gt;&lt;P&gt;demog:&lt;/P&gt;&lt;P&gt;111 ramya&lt;/P&gt;&lt;P&gt;222 prathic&lt;/P&gt;&lt;P&gt;ipadmin:&lt;/P&gt;&lt;P&gt;111 ramya&lt;/P&gt;&lt;P&gt;111 ravi&lt;/P&gt;&lt;P&gt;111 Karan&lt;/P&gt;&lt;P&gt;222 nicole&lt;/P&gt;&lt;P&gt;222 sipho&lt;/P&gt;&lt;P&gt;222 cheryl&lt;/P&gt;&lt;P&gt;222 yong&lt;/P&gt;&lt;P&gt;222 asturd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE LOG AND SLEEP 1 MINUTES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd iteration:&lt;/P&gt;&lt;P&gt;demog:&lt;/P&gt;&lt;P&gt;444 stephan&lt;/P&gt;&lt;P&gt;555 ram&lt;/P&gt;&lt;P&gt;666 kavb&lt;/P&gt;&lt;P&gt;ipadmin:&lt;/P&gt;&lt;P&gt;"No matching subject to print"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE&amp;nbsp; LOG AND SLEEP 1 MINUTES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: this is just an requiremnt draft , Where I need to impliment mmy logic. In my code the subjects and the data are huge. So created an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 12:14:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532376#M145880</guid>
      <dc:creator>Ramya2</dc:creator>
      <dc:date>2019-02-03T12:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Separate log files for each iteration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532377#M145881</link>
      <description>and iteration should continue till it reaches enrollment "000"</description>
      <pubDate>Sun, 03 Feb 2019 12:15:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532377#M145881</guid>
      <dc:creator>Ramya2</dc:creator>
      <dc:date>2019-02-03T12:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Separate log files for each iteration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532459#M145895</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; Now I want from enrollemnt ,3 subjects to be picked each time&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see the 3 subjects&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 22:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532459#M145895</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-02-03T22:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Separate log files for each iteration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532460#M145896</link>
      <description>&lt;P&gt;Did my answer to your question a couple days ago help, with an approach to log splitting?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Splitting-log-and-executing-a-set-of-subjects-together/m-p/531624/highlight/true#M145543" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Splitting-log-and-executing-a-set-of-subjects-together/m-p/531624/highlight/true#M145543&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think this new question is clear enough for me to add much more.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 22:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532460#M145896</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2019-02-03T22:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Separate log files for each iteration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532465#M145898</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/254855"&gt;@Ramya2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks to me&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;&amp;nbsp;provided you already with an approach. ....but why would you do that in first place? In case something goes wrong in one of the iterations then you'd have to find the appropriate log to investigate. That's going to make debugging really hard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have SAS/Connect licensed then an alternative would be to run child processes (rsubmit) per group. This would allow to have separate logs per execution but also have a collective log which gives you sufficient information about the whole process.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 23:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532465#M145898</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-03T23:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Separate log files for each iteration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532470#M145902</link>
      <description>First 3 subjects. that is 111,222,333</description>
      <pubDate>Mon, 04 Feb 2019 01:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Separate-log-files-for-each-iteration/m-p/532470#M145902</guid>
      <dc:creator>Ramya2</dc:creator>
      <dc:date>2019-02-04T01:01:32Z</dc:date>
    </item>
  </channel>
</rss>

