<?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: beginnng/ending chars of a record in sas editor in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218525#M40247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The include is an external file there are many options for that like the infile and some special for source/code behavior .&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67279/HTML/default/viewer.htm#n1e2w0wxgq9vn3n1h1rig464zebu.htm" title="http://support.sas.com/documentation/cdl/en/hostwin/67279/HTML/default/viewer.htm#n1e2w0wxgq9vn3n1h1rig464zebu.htm"&gt;SAS(R) 9.4 Companion for Windows, Third Edition&lt;/A&gt;&amp;nbsp; and linesize log/output windows - 256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0dk0dc3yeff1hn1murknwao75bb.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0dk0dc3yeff1hn1murknwao75bb.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; source2 display included code in log &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#p0z0a5lomx2cl7n1nefjm5mnspwo.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#p0z0a5lomx2cl7n1nefjm5mnspwo.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; s2= limiting input source lines&amp;nbsp; &lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n1li19l98i6929n1981oqr3wq46u.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n1li19l98i6929n1981oqr3wq46u.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; lrecl= the default length for reading external files, zee the note on F than it is 256&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0r48a3yh1ob57n153b8to8kuik0.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0r48a3yh1ob57n153b8to8kuik0.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; cardimage that mainframe history &lt;BR /&gt;These are the documented settings that can cause cutting the length. In previous versions you are more often hit by some old convention as that 255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thos cr/lf are hardly replacable as they are are global conventions being used everywhere.&lt;BR /&gt;When you have a problem with Excel csv having new-lines within cells there is some trick I believe. That is when the hard return is a CR and the new line a CR-LF you can diffentiate between those&lt;/P&gt;&lt;P&gt;Another would be fixing the record convention before processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 May 2015 05:29:59 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2015-05-24T05:29:59Z</dc:date>
    <item>
      <title>beginnng/ending chars of a record in sas editor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218520#M40242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sas editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem Description:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sas editor has&lt;BR /&gt;characters for end of record /beginning of record????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need them to do batch replacing in replacing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 19:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218520#M40242</guid>
      <dc:creator>iren_118</dc:creator>
      <dc:date>2015-05-22T19:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: beginnng/ending chars of a record in sas editor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218521#M40243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;batch replacing of what? Values in a data set? Code files? External files?&lt;/P&gt;&lt;P&gt;And which file format/ operating system. Unix and Windows use different characters to denote end of line/ end of record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need to enter a value in program code? Do you need to identify something that your files are using other than operating system standard characters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 20:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218521#M40243</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-22T20:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: beginnng/ending chars of a record in sas editor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218522#M40244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Windows/Unix environment is using a CR-LF LF CR (one of those) indicating the end of a record. This is very basic inherited from 7-bit ascii telex tty age.&lt;/P&gt;&lt;P&gt;This is how all tools and program editor are working. Often there is limit in the length of processing (no character) as with limited memory and processor-register usage.&lt;BR /&gt;A counter of 1 byte is ending at 255 length. This is a common limit for code with Unix (and SAS editor) with two-bytes and a sign this upper limit is 32K. That size can be set with sas as them maximum length. (default with 9.4 I believe).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception is Mainframes FB VB are not using chars for the end of record but they are system defined. They still often use a 80 max (Hollerith) source line. With a VBS you could use a 32k length. Only with downloading datasets from mainframe to Unix/Windows you have that kind of issues to take care of. SAS is supporting those mainframe approaches on Windows/Unix as it has his origins there. Not all tools are having that.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 17:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218522#M40244</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-05-23T17:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: beginnng/ending chars of a record in sas editor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218523#M40245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My answers from my work email did not show here.&lt;/P&gt;&lt;P&gt;So I copied them here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-bai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Just edit a text file as in general editor. Editor has replace&lt;BR /&gt;feature and I need to specify what to replace what.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;To do this I need to know what char stands for ‘end of&lt;BR /&gt;record’/’beginning of record’ in the replace dialog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; =======&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Code file as a text file. I am under windows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;-bai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 20:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218523#M40245</guid>
      <dc:creator>iren_118</dc:creator>
      <dc:date>2015-05-23T20:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: beginnng/ending chars of a record in sas editor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218524#M40246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr&amp;nbsp; Karman:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I no can get it clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Widows. I knew Unix, VAX/VMS too. Have not heard FB VB yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on SAS online documentation there is one about INFILE OPTIONS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TERMSTR&lt;/P&gt;&lt;P&gt;CRLF for windows formatted file;&lt;/P&gt;&lt;P&gt;LF, NL for Unix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is quite related&amp;nbsp; to my question.&lt;/P&gt;&lt;P&gt;But it is related to reading files to a SAS dataset..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==========================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combine all those I have said:&lt;/P&gt;&lt;P&gt;What keys I should type for beginning/ending in the Replace&amp;nbsp; dialog box under SAS extended editor???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Bai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 20:33:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218524#M40246</guid>
      <dc:creator>iren_118</dc:creator>
      <dc:date>2015-05-23T20:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: beginnng/ending chars of a record in sas editor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218525#M40247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The include is an external file there are many options for that like the infile and some special for source/code behavior .&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67279/HTML/default/viewer.htm#n1e2w0wxgq9vn3n1h1rig464zebu.htm" title="http://support.sas.com/documentation/cdl/en/hostwin/67279/HTML/default/viewer.htm#n1e2w0wxgq9vn3n1h1rig464zebu.htm"&gt;SAS(R) 9.4 Companion for Windows, Third Edition&lt;/A&gt;&amp;nbsp; and linesize log/output windows - 256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0dk0dc3yeff1hn1murknwao75bb.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0dk0dc3yeff1hn1murknwao75bb.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; source2 display included code in log &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#p0z0a5lomx2cl7n1nefjm5mnspwo.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#p0z0a5lomx2cl7n1nefjm5mnspwo.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; s2= limiting input source lines&amp;nbsp; &lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n1li19l98i6929n1981oqr3wq46u.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n1li19l98i6929n1981oqr3wq46u.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; lrecl= the default length for reading external files, zee the note on F than it is 256&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0r48a3yh1ob57n153b8to8kuik0.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/67465/HTML/default/viewer.htm#n0r48a3yh1ob57n153b8to8kuik0.htm"&gt;SAS(R) 9.4 System Options: Reference, Third Edition&lt;/A&gt; cardimage that mainframe history &lt;BR /&gt;These are the documented settings that can cause cutting the length. In previous versions you are more often hit by some old convention as that 255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thos cr/lf are hardly replacable as they are are global conventions being used everywhere.&lt;BR /&gt;When you have a problem with Excel csv having new-lines within cells there is some trick I believe. That is when the hard return is a CR and the new line a CR-LF you can diffentiate between those&lt;/P&gt;&lt;P&gt;Another would be fixing the record convention before processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 05:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218525#M40247</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-05-24T05:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: beginnng/ending chars of a record in sas editor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218526#M40248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to SAS tech help: this is impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-bai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 14:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/beginnng-ending-chars-of-a-record-in-sas-editor/m-p/218526#M40248</guid>
      <dc:creator>iren_118</dc:creator>
      <dc:date>2015-06-11T14:26:06Z</dc:date>
    </item>
  </channel>
</rss>

