<?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: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972870#M11463</link>
    <description>&lt;P&gt;How do you run this job flow? Is this just a master program with %include statements or programs connected in SAS EG or something else?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 11:05:43 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2025-08-19T11:05:43Z</dc:date>
    <item>
      <title>SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972753#M11449</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;I encountered an error and would like to save it into a table in my database. Could you please help me with this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GioiAce_0-1755510806081.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/109046iA0259922CA38BDB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GioiAce_0-1755510806081.png" alt="GioiAce_0-1755510806081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 09:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972753#M11449</guid>
      <dc:creator>GioiAce</dc:creator>
      <dc:date>2025-08-18T09:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972755#M11450</link>
      <description>&lt;P&gt;I don't understand the purpose of saving error messages in a database, but maybe i am missing something.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you explain what your want to do in more detail?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 10:53:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972755#M11450</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2025-08-18T10:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972756#M11451</link>
      <description>&lt;P&gt;The requirement is a bit vague.&lt;/P&gt;
&lt;P&gt;Do you want this for all users/applications in your environment?&lt;/P&gt;
&lt;P&gt;What is the use case to capture syntax errors?&lt;/P&gt;
&lt;P&gt;Usually if a SAS job/session ends in error, your environment keeps track on that (e.g. SAS Job scheduling).&lt;/P&gt;
&lt;P&gt;There are probably several ways of doing it, but a basic one would be to make sure the environment saves all the logs, and then have a (SAS? ) scripts that parses it.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 10:55:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972756#M11451</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-08-18T10:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972757#M11452</link>
      <description>&lt;P&gt;Hi&amp;nbsp;andreas_lds,&lt;BR /&gt;I am building a flow that contains multiple jobs. I would like to store the log of each job so that, if I need to rerun the flow, I can skip the jobs that already succeeded and only rerun the ones that failed. The log should also capture where the job failed and what the error was.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 10:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972757#M11452</guid>
      <dc:creator>GioiAce</dc:creator>
      <dc:date>2025-08-18T10:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972758#M11453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;LinusH,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am building a flow that contains multiple jobs. I would like to store the log of each job so that, if I need to rerun the flow, I can skip the jobs that already succeeded and only rerun the ones that failed. The log should also capture where the job failed and what the error was.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 11:01:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972758#M11453</guid>
      <dc:creator>GioiAce</dc:creator>
      <dc:date>2025-08-18T11:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972760#M11454</link>
      <description>Sounds like standard behviour for scheduling software, so it does not make sense to build it yourself.&lt;BR /&gt;Logs are usually stored after running flows, and the log tells you where and why the job failed. Not sure why you want to store this in a database.</description>
      <pubDate>Mon, 18 Aug 2025 11:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972760#M11454</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-08-18T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972761#M11455</link>
      <description>Let the scheduler handle this, no need to reinvent the wheel.</description>
      <pubDate>Mon, 18 Aug 2025 11:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972761#M11455</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-08-18T11:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972762#M11456</link>
      <description>&lt;P&gt;“Is it possible to retrieve that error? In Base SAS, I used&amp;nbsp;PROC PRINTTO to save the log to a text file when the job runs successfully. However, if the job fails, the log is not saved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 11:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972762#M11456</guid>
      <dc:creator>GioiAce</dc:creator>
      <dc:date>2025-08-18T11:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972765#M11457</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;I am building a flow that contains multiple jobs.".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you run the job flow in SAS Job Scheduler (or any other scheduler that you decide to integrate), I'm pretty sure the logs are saved, even if the job fails. Have you verified this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 12:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972765#M11457</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-08-18T12:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972766#M11458</link>
      <description>&lt;P&gt;PROC PRINTTO will write the the log file, as long as the PROC PRINTTO itself executes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible there was an error in your code before the PROC PRINTTO step?&amp;nbsp; That could make SAS enter syntaxcheck mode and may not execute the PROC PRINTTO step.&amp;nbsp; It might be easier to start by avoiding PROC PRINTTO, and focus on the log files created automatically.&amp;nbsp; Most schedulers will basically batch submit the SAS jobs, and there will be a logfile written somewhere that the administrators have set up.&amp;nbsp; If you don't know where your log files are being written, you may want to ask your admins or other colleagues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also note, depending on how you have set the logic in your flow, if Job #1 errors, Job #2 may never start.&amp;nbsp; The scheduler should allow you to determine whether execution of Job #2 is dependent on successful execution of&amp;nbsp; Job #1 or not.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 12:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972766#M11458</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2025-08-18T12:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972770#M11459</link>
      <description>thanks sir</description>
      <pubDate>Mon, 18 Aug 2025 13:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972770#M11459</guid>
      <dc:creator>GioiAce</dc:creator>
      <dc:date>2025-08-18T13:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972861#M11461</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/476858"&gt;@GioiAce&lt;/a&gt;&amp;nbsp;As others already pointed out a lot of this error handling could/should be done via a scheduler/scheduling software inclusive restart points.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May-be explain a bit more in detail what you've got and how you intend to build your process.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 08:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972861#M11461</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-08-19T08:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972862#M11462</link>
      <description>I have around 200 jobs in my jobflows. When executing the entire jobflow, I want the successfully completed jobs to be skipped and only the previously failed jobs to be re-executed. To achieve this, I plan to record the execution status and error logs of each job in a table, so that I can selectively rerun failed jobs.</description>
      <pubDate>Tue, 19 Aug 2025 09:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972862#M11462</guid>
      <dc:creator>GioiAce</dc:creator>
      <dc:date>2025-08-19T09:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE ERROR, WARNING LOG FROM SAS STUDIO TO DATABASE</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972870#M11463</link>
      <description>&lt;P&gt;How do you run this job flow? Is this just a master program with %include statements or programs connected in SAS EG or something else?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 11:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAVE-ERROR-WARNING-LOG-FROM-SAS-STUDIO-TO-DATABASE/m-p/972870#M11463</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-08-19T11:05:43Z</dc:date>
    </item>
  </channel>
</rss>

