<?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: How to prevent code going to next line in SAS EG export in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217234#M16343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bug in EG 4.3 that was fixed in EG 5.1 (and later).&amp;nbsp; I am easily able to reproduce this issue in EG 4.3 (by pasting the "For example" code in the original post into a code node, then selecting Export-&amp;gt;Export Program... to export).&amp;nbsp; I also confirmed the issue does not occur in 5.1, 6.1, 7.1, or 7.11.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 03:21:20 GMT</pubDate>
    <dc:creator>CaseySmith</dc:creator>
    <dc:date>2015-08-07T03:21:20Z</dc:date>
    <item>
      <title>How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217226#M16335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SAS EG 4.3 with sas 9.2 in linux . Whenever I export codes from SAS Enterprise guide to some external files(notepad or putty in linux) I see some lines of code goes to next line.&lt;/P&gt;&lt;P&gt;may be after certain width. Is there any way to change settings somewhere so that I get my code exactly coded in SAS EG i.e without going to next line?&lt;/P&gt;&lt;P&gt;From execution point of view it is not a problem but I loose readability in exported file.&lt;/P&gt;&lt;P&gt;Also after export I transfer file to linux and use putty with VI editor to open it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************************;&lt;/P&gt;&lt;P&gt;* CLEARS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exlinee*;&lt;/P&gt;&lt;P&gt;*******************************************************************************************;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;becomes as below in exported files&lt;/P&gt;&lt;P&gt;*******************************************************************************************;&lt;/P&gt;&lt;P&gt;* &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;CLEARS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*;&lt;/P&gt;&lt;P&gt;*******************************************************************************************;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 10:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217226#M16335</guid>
      <dc:creator>ucvikas</dc:creator>
      <dc:date>2015-08-05T10:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217227#M16336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me like you are tabbing things across the screen.&amp;nbsp; The tab character is interpreted in different editors to mean different spacing.&amp;nbsp; The way to fix this is to not use the tab character, but to put spaces in.&amp;nbsp; SAS Enhanced Editor (not sure about EG) has the ability to replace tabs with spaces so you can still press the tab key.&amp;nbsp; This is under, Tools-&amp;gt;Options-&amp;gt;Enhanced Editor.&amp;nbsp; You can select replace tabs with blanks, and how many blanks.&amp;nbsp; I tend to put 2 for a tab.&amp;nbsp; Try just using spaces, it should fix your problem, although why is exlinee in the first an not the second?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 10:52:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217227#M16336</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-05T10:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217228#M16337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EG has the same options: set tab width, replace tabs with spaces on loading, insert spaces when tab is used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 11:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217228#M16337</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-08-05T11:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217229#M16338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set option "insert spaces to tabs" in SAS EG - options-sas programs-editor options. But of no help. I have always used spaces instead of tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to do testing if it helps , I wrote only few lines and notice that if statement is going beyond column 80 then in exported code sas statement goes to next line where it finds first space before column 80 . &lt;/P&gt;&lt;P&gt;If I have only ******************************************************************************************************************************************************;&lt;/P&gt;&lt;P&gt;going beyond 80 columns then apparently SAS considers it one string and in exported code it remains on same line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it true? can we change it somewhere ? Or at least does SAS has any documentation on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; "exlinee" . I do not know how did it arrive there but it was not in my editor when I pasted.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 10:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217229#M16338</guid>
      <dc:creator>ucvikas</dc:creator>
      <dc:date>2015-08-06T10:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217230#M16339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you exporting it? I only have EG 6.1, but the following two methods don't introduce the problem you're describing:&lt;/P&gt;&lt;P&gt;- Copy and paste into a Notepad session;&lt;/P&gt;&lt;P&gt;- Highlight the program in the process flow, and click Export | Export Program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 14:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217230#M16339</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2015-08-06T14:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217231#M16340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In NOTEPAD ensure that the FORMAT menu item Word Wrap is not checked. If it is then Notepad wraps the text to fit the displayed window size. It has nothing to do with the actual length of the line you export but the size of the window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would look for something similar related to Putty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 14:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217231#M16340</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-06T14:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217232#M16341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to uncheck 'word wrap' and it did not help.&lt;/P&gt;&lt;P&gt;I tried to upload some images which could have helped in much better way to understand this issue. But looks like that SAS community page is not allowing to upload the images .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 15:31:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217232#M16341</guid>
      <dc:creator>ucvikas</dc:creator>
      <dc:date>2015-08-06T15:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217233#M16342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I paste in notepad file it is not a problem. it arises only when I do export program. I wanted to share some screenshot but SAS page is not doing that for the moment. so I can't upload images.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 15:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217233#M16342</guid>
      <dc:creator>ucvikas</dc:creator>
      <dc:date>2015-08-06T15:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217234#M16343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bug in EG 4.3 that was fixed in EG 5.1 (and later).&amp;nbsp; I am easily able to reproduce this issue in EG 4.3 (by pasting the "For example" code in the original post into a code node, then selecting Export-&amp;gt;Export Program... to export).&amp;nbsp; I also confirmed the issue does not occur in 5.1, 6.1, 7.1, or 7.11.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 03:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217234#M16343</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2015-08-07T03:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217235#M16344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks CaseyS@SAS. Do you have any SAS note or paper where this is mentioned . I ask just to refer in detail if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 08:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217235#M16344</guid>
      <dc:creator>ucvikas</dc:creator>
      <dc:date>2015-08-07T08:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent code going to next line in SAS EG export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217236#M16345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the entry in our internal tracking system related to this issue, but I did not find an associated SAS Note, and I doubt it is covered in any paper.&amp;nbsp; I confirmed it was a bug in 4.3 and has been fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little more detail:&lt;/P&gt;&lt;P&gt;The cause of the bug is the fact that EG 4.3 attempted to auto-wrap code lines when exporting, so that the line lengths would not be too long (thus more likely to run on other servers with potentially different line length limits).&amp;nbsp; EG 5.1 and later do not attempt to auto-wrap code lines when exporting, both since we weren't able to do it reliably in all scenarios and since the more reasonable expectation is that exported code will be *exactly* the same (line lengths and all) as what was in the editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 13:43:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-code-going-to-next-line-in-SAS-EG-export/m-p/217236#M16345</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2015-08-07T13:43:21Z</dc:date>
    </item>
  </channel>
</rss>

