<?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: No output when running in putty in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/No-output-when-running-in-putty/m-p/574012#M162108</link>
    <description>&lt;P&gt;What does the log show?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it isn't sensitive you might want to copy the text from the log and paste it here in a code box opened with the forum's {I} or "running man" icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 21:07:34 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-07-16T21:07:34Z</dc:date>
    <item>
      <title>No output when running in putty</title>
      <link>https://communities.sas.com/t5/SAS-Programming/No-output-when-running-in-putty/m-p/573933#M162094</link>
      <description>&lt;P&gt;My .ksh file is as follows&amp;nbsp;&amp;nbsp; Name of file is r50.ksh&lt;/P&gt;
&lt;P&gt;#!/usr/bin/ksh&lt;/P&gt;
&lt;P&gt;echo 'Arguement passed... ' $1&lt;/P&gt;
&lt;P&gt;USER1=$(whoami)&lt;/P&gt;
&lt;P&gt;. /sas/profile/profile.sas.sh&lt;/P&gt;
&lt;P&gt;#or&lt;/P&gt;
&lt;P&gt;# . /etc/profile.d/profile.sas.sh&lt;/P&gt;
&lt;P&gt;/sas/sasbatch /reporting/dev/output/test1/ML/$1.sas "-altlog&lt;/P&gt;
&lt;P&gt;/reporting/dev/output/test1/ML/$1.log" "&lt;/P&gt;
&lt;P&gt;-print /reporting/dev/output/test1/ML//$1.lst" &amp;amp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My startup looks like this&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name of startup is Test_Report.sas&lt;/P&gt;
&lt;P&gt;%LET rptloc = /reporting/dev/output/test1/ML;&lt;/P&gt;
&lt;P&gt;%LET OutDir = /reporting/dev/output/test1/ML;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%LET pgmdir = /reporting/dev/output/test1/ML;&lt;/P&gt;
&lt;P&gt;%include "&amp;amp;pgmdir/smart_pay1.sas";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both Test.sas and R50 were placed in the /reporting/dev/output/test1/ML; area&lt;/P&gt;
&lt;P&gt;In putty I access the area with cd /reporting/dev/output/test1/ML;&lt;/P&gt;
&lt;P&gt;I checked permission to ensure I can execute. I then do the following;&lt;/P&gt;
&lt;P&gt;R50.ksh Test_Report and clck enter&lt;/P&gt;
&lt;P&gt;---------------------------------&lt;/P&gt;
&lt;P&gt;1 = /reporting/dev/output/test1/ML/Test_Report.sas&lt;/P&gt;
&lt;P&gt;2 = -altlog /reporting/dev/output/test1/ML/Test_Report.log&lt;/P&gt;
&lt;P&gt;3 = -print /reporting/dev/output/test1/ML/Test_Report.lst&lt;/P&gt;
&lt;P&gt;4 =&lt;/P&gt;
&lt;P&gt;5 =&lt;/P&gt;
&lt;P&gt;All is /reporting/dev/output/test1/ML/Test_Report.sas -altlog /reporting/dev/output/test1/ML/Test_Report.log -print /reporting/dev/output/test1/ML/Test_Report.lst&lt;/P&gt;
&lt;P&gt;LSB_SUB_QUEUE = "batch"&lt;/P&gt;
&lt;P&gt;---------------------------------&lt;/P&gt;
&lt;P&gt;I AM TRYING TO DETERMIN WHY I GET NO OUTPUT EVEN THOUGH THE SCRIPT SEEMS TO RUN WITHOUT ISSUE&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 16:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/No-output-when-running-in-putty/m-p/573933#M162094</guid>
      <dc:creator>Q1983</dc:creator>
      <dc:date>2019-07-16T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: No output when running in putty</title>
      <link>https://communities.sas.com/t5/SAS-Programming/No-output-when-running-in-putty/m-p/574012#M162108</link>
      <description>&lt;P&gt;What does the log show?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it isn't sensitive you might want to copy the text from the log and paste it here in a code box opened with the forum's {I} or "running man" icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 21:07:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/No-output-when-running-in-putty/m-p/574012#M162108</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-16T21:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: No output when running in putty</title>
      <link>https://communities.sas.com/t5/SAS-Programming/No-output-when-running-in-putty/m-p/574045#M162128</link>
      <description>&lt;P&gt;Why are you re-directing the ALTLOG but letting SAS decide where to write the real log?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 23:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/No-output-when-running-in-putty/m-p/574045#M162128</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-16T23:36:32Z</dc:date>
    </item>
  </channel>
</rss>

