<?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: SAS takes hours when ran through tivoli in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/520044#M140965</link>
    <description>Thank you, I'm currently in contact with the team who manage the log location to see about outages &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Mon, 10 Dec 2018 16:46:31 GMT</pubDate>
    <dc:creator>denspark62</dc:creator>
    <dc:date>2018-12-10T16:46:31Z</dc:date>
    <item>
      <title>SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519387#M140668</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been scratching my head over this one for a while and can't find any related topics so am reaching out...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is simple:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;filename crt pipe "cd /my/file/path;mkdir yymon";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;data _null_;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;infile crt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;input;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;/****THIS IS WHERE IT STICKS*****/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;filename logpath "/my/file/path/yymon/log.log";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;proc printto log= logpath;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My log is below...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;443 filename crt pipe "cd /my/file/path;mkdir yymon";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;444 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;445 data _null_;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;446 infile crt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;447 input;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;448 run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;NOTE: The infile CRT is:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;Pipe command="cd /my/file/path;mkdir yymon"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;NOTE: 1 record was read from the infile CRT.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;The minimum record length was 52.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;The maximum record length was 52.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;real time 0.00 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;cpu time 0.00 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;&amp;#12;6 The SAS System 12:29 Wednesday, December 5, 2018&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;/********IT PAUSES HERE FOR OVER FIVE HOURS***********/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;449 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;450 filename logpath "/my/file/path/yymon/log.log";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;451 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;452 proc printto log= logpath;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;453 run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I just run the code manually, it runs immediately, but when we call it through tivoli and is run through sasbatch it takes hours which is causing issues. It does eventually go on to complete without error...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tivoli is my business' chosen&amp;nbsp;way of automation and is the only way that is supported so changing the automation mechanism isn't an option unfortunately - has anyone come across anything similar before?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tanks in advance!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 10:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519387#M140668</guid>
      <dc:creator>denspark62</dc:creator>
      <dc:date>2018-12-07T10:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519388#M140669</link>
      <description>&lt;P&gt;You would need to speak with the guys responsible for this Tivoli product.&amp;nbsp; I note from the wiki page that Tivoli was phased out between 2013 and 2016, so maybe that has something to do with it.&amp;nbsp; Anyways, its likely the interaction between the two systems which can't be dugged here.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 10:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519388#M140669</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-12-07T10:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519425#M140676</link>
      <description>&lt;P&gt;What does the end of the SAS log say?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 14:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519425#M140676</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-07T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519468#M140697</link>
      <description>&lt;P&gt;Thanks for the response &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MPRINT(CEMAIL): ;&lt;BR /&gt;MPRINT(WASITBATCH): ;&lt;/P&gt;&lt;P&gt;NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414&lt;BR /&gt;NOTE: The SAS System used:&lt;BR /&gt;real time 5:29:30.50&lt;BR /&gt;cpu time 1:46:57.21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log shows that an email was sent as notification of completion and then this follows...&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 16:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519468#M140697</guid>
      <dc:creator>denspark62</dc:creator>
      <dc:date>2018-12-07T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519490#M140705</link>
      <description>&lt;P&gt;You have almost 2 hours of CPU time, so the job didn't just sleep for 5 hours. The difference between CPU and real time is ~3:45.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 17:34:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519490#M140705</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-07T17:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519847#M140892</link>
      <description>&lt;P&gt;Thanks again for a response, appreciate its not the whole five hours doing nothing but 3 hours 45 mins could still be avoided when run manually - manually is not an option though unfortunately.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 07:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519847#M140892</guid>
      <dc:creator>denspark62</dc:creator>
      <dc:date>2018-12-10T07:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519861#M140897</link>
      <description>&lt;P&gt;If you have a noticeable stoppage right before this:&lt;/P&gt;
&lt;PRE&gt;449
450 filename logpath "/my/file/path/yymon/log.log";
451
452 proc printto log= logpath;
453 run;&lt;/PRE&gt;
&lt;P&gt;and the code before and after that runs with the usual speed, it might be that your path for the log file points to a network resource that is temporary unavailable, but becomes available before a specified timeout is reached. That could also cause programs to go on "hold".&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 08:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/519861#M140897</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-10T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS takes hours when ran through tivoli</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/520044#M140965</link>
      <description>Thank you, I'm currently in contact with the team who manage the log location to see about outages &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 10 Dec 2018 16:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-takes-hours-when-ran-through-tivoli/m-p/520044#M140965</guid>
      <dc:creator>denspark62</dc:creator>
      <dc:date>2018-12-10T16:46:31Z</dc:date>
    </item>
  </channel>
</rss>

