<?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: Create a report form the SAS log files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-a-report-form-the-SAS-log-files/m-p/539377#M148609</link>
    <description>&lt;P&gt;Do you need to parse any of the text or do you just need to create a new text file by concatenating the 3 log files?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 16:54:25 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2019-02-28T16:54:25Z</dc:date>
    <item>
      <title>Create a report form the SAS log files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-report-form-the-SAS-log-files/m-p/539376#M148608</link>
      <description>&lt;P&gt;I have 4 SAS log files that produce the followings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log 1 produces,&lt;/P&gt;&lt;P&gt;rc = 0 after rm of enrollfee_notif0102.sas7bdat&lt;BR /&gt;rc = 0 after rm of mailing_notif0102.sas7bdat&lt;BR /&gt;rc = 0 after rm of pnt_notif0102.sas7bdat&lt;BR /&gt;Successful run of TMARPT_NOTIF01.sas at Thu Feb 28 02:10:02 EST 2019 RC=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log 2 produces,&lt;/P&gt;&lt;P&gt;rc = 0 after rm of notif02_file&lt;BR /&gt;rc = 0 after rm of enrollfee_notif0102.sas7bdat&lt;BR /&gt;rc = 0 after rm of mailing_notif0102.sas7bdat&lt;BR /&gt;rc = 0 after rm of pnt_notif0102.sas7bdat&lt;BR /&gt;Successful run of TMARPT_NOTIF02.sas at Thu Feb 28 02:15:02 EST 2019 RC=0&lt;/P&gt;&lt;P&gt;log3 produces,&lt;/P&gt;&lt;P&gt;Successful run of TMARPT_NOTIF05.sas at Thu Feb 21 02:40:02 EST 2019 RC=0&lt;BR /&gt;chmod: cannot access `/saswork/output/tma/report_output/NOTIF05-????-20190220.PIP': No such file or directory&lt;BR /&gt;NOTIF05 Report Terminated at Thu Feb 21 02:40:02 EST 2019&lt;BR /&gt;Trying to chmod 775 /saswork/output/tma/report_output/NOTIF05-????-20190220.PIP&lt;BR /&gt;Return Code: 1&lt;/P&gt;&lt;P&gt;log4 produces,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Successful run of TMARPT_NOTIF06.sas at Thu Feb 21 02:45:02 EST 2019 RC=0&lt;BR /&gt;switching directory to /saswork/output/tma/pnt/archive&lt;BR /&gt;making directory p20190220&lt;BR /&gt;chmod 755 p20190220&lt;BR /&gt;moving /saswork/output/tma/pnt/archive/PNT.* to /saswork/output/tma/pnt/archive/p20190220&lt;BR /&gt;mv: cannot stat `/saswork/output/tma/pnt/archive/PNT.*': No such file or directory&lt;BR /&gt;chmod: cannot access `/saswork/output/tma/report_output/NOTIF06-????-20190220.PDF': No such file or directory&lt;BR /&gt;NOTIF06 Report Terminated at Thu Feb 21 02:45:02 EST 2019&lt;BR /&gt;Trying to chmod 775 /saswork/output/tma/report_output/NOTIF06-????-20190220.PDF&lt;BR /&gt;Return Code: 1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need to read these log files into SAS and produce a .txt file from them. How can I accomplish this task.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:50:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-report-form-the-SAS-log-files/m-p/539376#M148608</guid>
      <dc:creator>mauri0623</dc:creator>
      <dc:date>2019-02-28T16:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create a report form the SAS log files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-report-form-the-SAS-log-files/m-p/539377#M148609</link>
      <description>&lt;P&gt;Do you need to parse any of the text or do you just need to create a new text file by concatenating the 3 log files?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-report-form-the-SAS-log-files/m-p/539377#M148609</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-28T16:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create a report form the SAS log files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-report-form-the-SAS-log-files/m-p/539378#M148610</link>
      <description>&lt;P&gt;Textfiles are read with a data-step using infile and input statements. See the documentation of both statements for examples. The infile-statement allows wildcards, so you can read all files with one step. If you want to create a text-file you use file and put statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't give you code, because you forgot to explain how the output should look.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-report-form-the-SAS-log-files/m-p/539378#M148610</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-02-28T16:57:25Z</dc:date>
    </item>
  </channel>
</rss>

