<?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 formatting issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/formatting-issue/m-p/541446#M149486</link>
    <description>&lt;P&gt;I have the following file that is consists of only 3 records. I made a sas dataset form this file. I list the file and then the code.&lt;/P&gt;&lt;P&gt;1005316134100667496628JAN2019:17:47:49792752&lt;BR /&gt;1005938763100631605508FEB2019:19:51:03785599&lt;BR /&gt;1006029597100602953903MAR2019:15:17:37802690&lt;/P&gt;&lt;P&gt;Now the code.&lt;/P&gt;&lt;P&gt;%let pidin = /saswrk0/scp/inbox/;&lt;BR /&gt;%let filename = PID.00.2019030813093725.00000000;&lt;/P&gt;&lt;P&gt;data pids;&lt;BR /&gt;infile "&amp;amp;pidin.&amp;amp;&amp;amp;filename." lrecl=44;&lt;BR /&gt;input&lt;BR /&gt;prev_ptnt_id $10.&lt;BR /&gt;curr_ptnt_id $10.&lt;BR /&gt;chg_eff_tmstmp $18.&lt;BR /&gt;dw_ld_run_id 6.&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Now I want to insert the pids dataset into an oracle table to update the table with the 3 records. The problem is that chg_eff_tmstmp in the oracle is datetime20. Since the variable between the two are not compatible no insert is taking place.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 16:03:03 GMT</pubDate>
    <dc:creator>mauri0623</dc:creator>
    <dc:date>2019-03-08T16:03:03Z</dc:date>
    <item>
      <title>formatting issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/formatting-issue/m-p/541446#M149486</link>
      <description>&lt;P&gt;I have the following file that is consists of only 3 records. I made a sas dataset form this file. I list the file and then the code.&lt;/P&gt;&lt;P&gt;1005316134100667496628JAN2019:17:47:49792752&lt;BR /&gt;1005938763100631605508FEB2019:19:51:03785599&lt;BR /&gt;1006029597100602953903MAR2019:15:17:37802690&lt;/P&gt;&lt;P&gt;Now the code.&lt;/P&gt;&lt;P&gt;%let pidin = /saswrk0/scp/inbox/;&lt;BR /&gt;%let filename = PID.00.2019030813093725.00000000;&lt;/P&gt;&lt;P&gt;data pids;&lt;BR /&gt;infile "&amp;amp;pidin.&amp;amp;&amp;amp;filename." lrecl=44;&lt;BR /&gt;input&lt;BR /&gt;prev_ptnt_id $10.&lt;BR /&gt;curr_ptnt_id $10.&lt;BR /&gt;chg_eff_tmstmp $18.&lt;BR /&gt;dw_ld_run_id 6.&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Now I want to insert the pids dataset into an oracle table to update the table with the 3 records. The problem is that chg_eff_tmstmp in the oracle is datetime20. Since the variable between the two are not compatible no insert is taking place.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 16:03:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/formatting-issue/m-p/541446#M149486</guid>
      <dc:creator>mauri0623</dc:creator>
      <dc:date>2019-03-08T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: formatting issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/formatting-issue/m-p/541451#M149488</link>
      <description>&lt;P&gt;If you want a datetime value why did you read the timestamp as chg_eff_tmstmp $18.&lt;/P&gt;
&lt;P&gt;use datetime18. for the informat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 16:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/formatting-issue/m-p/541451#M149488</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-08T16:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: formatting issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/formatting-issue/m-p/541456#M149490</link>
      <description>&lt;P&gt;I did and it works. Sometimes someone has to give you a hint. Thank you and have a great weekend.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 16:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/formatting-issue/m-p/541456#M149490</guid>
      <dc:creator>mauri0623</dc:creator>
      <dc:date>2019-03-08T16:29:39Z</dc:date>
    </item>
  </channel>
</rss>

