<?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 intermittent truncated values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/intermittent-truncated-values/m-p/95189#M257675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if anyone knows of an issue where a value will be truncated intermittently. If not can anyone tell me what I am doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code to create the table. the sample file I pull the data from is attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data AccgOUTmsgs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile "C:\data\logs\20130726\SOMEONE_TEST.out" dlm='01'x MISSOVER;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; timeout 10. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ns_out 9. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'35=' outmsgtype :$1. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'56=' targetcompid :$30. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'11=' clordid :$50.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'39=' orderstatus :$1. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'55=' symbol :$7.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATETIMEOUT = dhms('01jan1970'd,0,0, timeout);&lt;/P&gt;&lt;P&gt;&amp;nbsp; FORMAT DATETIMEOUT DATETIME.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; complete_timeout = cat(of timeout ns_out);&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT shows some of my symbols are being truncated. they should all be USD/JPY but some show as USD/JP. Other examples are U and US. I dont know what is causing this to happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timeout,ns_out,outmsgtype,targetcompid,clordid,orderstatus,symbol,DATETIMEOUT,complete_timeout&lt;/P&gt;&lt;P&gt;1374801420,699420767,8,SOMEONE-CCG-1,(4 2780 2),A,USD/JPY,26JUL13:01:17:00,1374801420699420767&lt;/P&gt;&lt;P&gt;1374801420,699518420,8,SOMEONE-CCG-1,(4 2780 2),0,USD/JPY,26JUL13:01:17:00,1374801420699518420&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,&lt;STRONG&gt;USD/JP&lt;/STRONG&gt;,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,926842284,8,SOMEONE-CCG-1,(4 2780 2),2,,26JUL13:01:17:00,1374801420926842284&lt;/P&gt;&lt;P&gt;1374801420,927011224,9,SOMEONE-CCG-1,(4 2780 2)C,2,,26JUL13:01:17:00,1374801420927011224&lt;/P&gt;&lt;P&gt;1374801425,934460890,0,SOMEONE-CCG-1,,,,26JUL13:01:17:05,1374801425934460890&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&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;Attached Data File is FIX string with '01' delimiter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 20:30:20 GMT</pubDate>
    <dc:creator>ralph_muro</dc:creator>
    <dc:date>2013-07-30T20:30:20Z</dc:date>
    <item>
      <title>intermittent truncated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intermittent-truncated-values/m-p/95189#M257675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if anyone knows of an issue where a value will be truncated intermittently. If not can anyone tell me what I am doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code to create the table. the sample file I pull the data from is attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data AccgOUTmsgs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile "C:\data\logs\20130726\SOMEONE_TEST.out" dlm='01'x MISSOVER;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; timeout 10. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ns_out 9. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'35=' outmsgtype :$1. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'56=' targetcompid :$30. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'11=' clordid :$50.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'39=' orderstatus :$1. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; @'55=' symbol :$7.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATETIMEOUT = dhms('01jan1970'd,0,0, timeout);&lt;/P&gt;&lt;P&gt;&amp;nbsp; FORMAT DATETIMEOUT DATETIME.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; complete_timeout = cat(of timeout ns_out);&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT shows some of my symbols are being truncated. they should all be USD/JPY but some show as USD/JP. Other examples are U and US. I dont know what is causing this to happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timeout,ns_out,outmsgtype,targetcompid,clordid,orderstatus,symbol,DATETIMEOUT,complete_timeout&lt;/P&gt;&lt;P&gt;1374801420,699420767,8,SOMEONE-CCG-1,(4 2780 2),A,USD/JPY,26JUL13:01:17:00,1374801420699420767&lt;/P&gt;&lt;P&gt;1374801420,699518420,8,SOMEONE-CCG-1,(4 2780 2),0,USD/JPY,26JUL13:01:17:00,1374801420699518420&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,&lt;STRONG&gt;USD/JP&lt;/STRONG&gt;,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,926842284,8,SOMEONE-CCG-1,(4 2780 2),2,,26JUL13:01:17:00,1374801420926842284&lt;/P&gt;&lt;P&gt;1374801420,927011224,9,SOMEONE-CCG-1,(4 2780 2)C,2,,26JUL13:01:17:00,1374801420927011224&lt;/P&gt;&lt;P&gt;1374801425,934460890,0,SOMEONE-CCG-1,,,,26JUL13:01:17:05,1374801425934460890&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&lt;/P&gt;&lt;P&gt;1374801420,900818804,8,SOMEONE-CCG-1,(4 2780 2)C,6,USD/JP,26JUL13:01:17:00,1374801420900818804&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;Attached Data File is FIX string with '01' delimiter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 20:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intermittent-truncated-values/m-p/95189#M257675</guid>
      <dc:creator>ralph_muro</dc:creator>
      <dc:date>2013-07-30T20:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent truncated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intermittent-truncated-values/m-p/95190#M257676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default line length that will be read is 256, try adding LRECL=500 (for your example data) to the INFILE statement to read longer lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On several of your records the Y in JPY falls in column 257 so that is why you're getting that particular truncation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 20:44:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intermittent-truncated-values/m-p/95190#M257676</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-07-30T20:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent truncated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intermittent-truncated-values/m-p/95191#M257677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it. thanks for helping with my rookie mistake.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 20:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intermittent-truncated-values/m-p/95191#M257677</guid>
      <dc:creator>ralph_muro</dc:creator>
      <dc:date>2013-07-30T20:55:21Z</dc:date>
    </item>
  </channel>
</rss>

