<?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: Saved Lst and Log files output not showing the full content in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790211#M252965</link>
    <description>&lt;P&gt;And just in case, you know you can capture that output directly to SAS tables instead of text files so that you can process it and report it back out nicely in whatever format you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, here's some instructions and explanations on how to capture output that is shown into a SAS dataset. &lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods-output-statement/" target="_blank"&gt;https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods-output-statement/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 19:00:19 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-01-14T19:00:19Z</dc:date>
    <item>
      <title>Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790184#M252954</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am saving the log and lst files of my program but when&amp;nbsp; I open the saved files the content is cut. In SAS windows when running the program the full content.&lt;/P&gt;
&lt;P&gt;Any idea on how to solve this?&lt;/P&gt;
&lt;P&gt;Interactive mode&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kc2_0-1642179231462.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67409iA84D8AE3C541F6FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kc2_0-1642179231462.png" alt="Kc2_0-1642179231462.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Saved file&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kc2_1-1642179282064.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67410iDB51199FE017A841/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kc2_1-1642179282064.png" alt="Kc2_1-1642179282064.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 16:54:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790184#M252954</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2022-01-14T16:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790193#M252958</link>
      <description>&lt;P&gt;How did you save the files? SAS Menu or commands, SAS Code, copy paste into some other application or something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What application are you viewing the saved LST and LOG files with?&lt;/P&gt;
&lt;P&gt;Your application may only be showing some fixed number of columns.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 17:34:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790193#M252958</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-01-14T17:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790194#M252959</link>
      <description>&lt;P&gt;I Use the code;&lt;/P&gt;
&lt;P&gt;dm output "print file='Study\..\lst\dm.lst' replace";&lt;BR /&gt;proc printto; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and I open the saved file with Notepad.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 17:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790194#M252959</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2022-01-14T17:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790201#M252961</link>
      <description>LINESIZE option. I think the default is 80 characters and I'm too lazy to count your output but that seems roughly right. &lt;BR /&gt;&lt;BR /&gt;Try setting:&lt;BR /&gt;&lt;BR /&gt;option linesize = max; &lt;BR /&gt;&lt;BR /&gt;And re-running to see what happens.</description>
      <pubDate>Fri, 14 Jan 2022 18:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790201#M252961</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-14T18:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790211#M252965</link>
      <description>&lt;P&gt;And just in case, you know you can capture that output directly to SAS tables instead of text files so that you can process it and report it back out nicely in whatever format you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, here's some instructions and explanations on how to capture output that is shown into a SAS dataset. &lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods-output-statement/" target="_blank"&gt;https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods-output-statement/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 19:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790211#M252965</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-14T19:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790215#M252967</link>
      <description>&lt;P&gt;The linesize option is already at max.&lt;/P&gt;
&lt;P&gt;The issue seems to be the LST in the SAS interactive window is not left aligned&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kc2_0-1642187978637.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67414i1706A1F2B57A539A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kc2_0-1642187978637.png" alt="Kc2_0-1642187978637.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 19:19:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790215#M252967</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2022-01-14T19:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790234#M252970</link>
      <description>Your code isn't what I would expect to see. &lt;BR /&gt;&lt;BR /&gt;dm output "print file='Study\..\lst\dm.lst' replace";&lt;BR /&gt;proc printto; run;&lt;BR /&gt;&lt;BR /&gt;I would expect to see:&lt;BR /&gt;&lt;BR /&gt;proc printto log='path to log file.log' print='path to lst file.lst'; run;&lt;BR /&gt;&lt;BR /&gt;What happens if you use that instead of the DM command.</description>
      <pubDate>Fri, 14 Jan 2022 19:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790234#M252970</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-14T19:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790245#M252973</link>
      <description>I get the same outputs. Still getting cut.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2022 20:35:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790245#M252973</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2022-01-14T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790248#M252975</link>
      <description>&lt;P&gt;Ran this using SAS 9.4M6. Output is attached with no truncation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options linesize=max;

proc printto log='/home/fkhurshed/Demo1/demo_log.log' print='/home/fkhurshed/Demo1/demo_listing_output.lst'; run;

data class;
set sashelp.class;
if age in (12, 13) then sex = 'F';
run;

proc compare data=class compare=sashelp.class;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Can you please run the following in your system and attach the exact output that is generated? You will need to modify the paths to be correct for your system.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3443"&gt;@Kc2&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I get the same outputs. Still getting cut.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 20:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790248#M252975</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-14T20:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790249#M252976</link>
      <description>You could also switch to using an ODS LISTING statement instead but this should work AFAIK. &lt;BR /&gt;&lt;BR /&gt;ods listing file = 'path to lst file';&lt;BR /&gt;&lt;BR /&gt;sas code;&lt;BR /&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;&lt;BR /&gt;And then the file specified above should have your output with no issues.</description>
      <pubDate>Fri, 14 Jan 2022 20:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790249#M252976</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-14T20:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790251#M252977</link>
      <description>This si the log;&lt;BR /&gt;[cid:161e34a5-b247-4db8-8928-adc459ec3dfe]&lt;BR /&gt;&lt;BR /&gt;the lst file still shows the results right aligned instead of left&lt;BR /&gt;[cid:6e81b1ab-c6c0-4070-8851-170396f1b530]&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2022 21:00:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790251#M252977</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2022-01-14T21:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790266#M252984</link>
      <description>No attachments - attachments via email are not supported you need to add them in the forum.</description>
      <pubDate>Fri, 14 Jan 2022 21:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790266#M252984</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-14T21:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790303#M253005</link>
      <description>I am not able to log into the community forum. It seems the site is down.&lt;BR /&gt;</description>
      <pubDate>Sat, 15 Jan 2022 00:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790303#M253005</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2022-01-15T00:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790306#M253006</link>
      <description>&lt;P&gt;These are the outputs;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;log;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kc2_0-1642205904390.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67426iB4EADDF01D293F76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kc2_0-1642205904390.png" alt="Kc2_0-1642205904390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Lst:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kc2_1-1642205932248.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67427iDDC297FDA4170DF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kc2_1-1642205932248.png" alt="Kc2_1-1642205932248.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 00:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790306#M253006</guid>
      <dc:creator>Kc2</dc:creator>
      <dc:date>2022-01-15T00:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790308#M253007</link>
      <description>&lt;P&gt;If you don't want the output centered the use the NOCENTER system option.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 00:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790308#M253007</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-01-15T00:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Lst and Log files output not showing the full content</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790309#M253008</link>
      <description>&lt;P&gt;So the truncation issue is fixed?&lt;/P&gt;
&lt;P&gt;And now your concern is the alignment of the text?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;mentioned, you can use the NOCENTER option to align to the left.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;option nocenter;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3443"&gt;@Kc2&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;These are the outputs;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;log;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kc2_0-1642205904390.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67426iB4EADDF01D293F76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kc2_0-1642205904390.png" alt="Kc2_0-1642205904390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Lst:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kc2_1-1642205932248.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67427iDDC297FDA4170DF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kc2_1-1642205932248.png" alt="Kc2_1-1642205932248.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 00:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saved-Lst-and-Log-files-output-not-showing-the-full-content/m-p/790309#M253008</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-15T00:36:26Z</dc:date>
    </item>
  </channel>
</rss>

