<?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: Need help for PROC APPEND in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52810#M14528</link>
    <description>Hi.  I've used proc append + force + nowarn and it was only partly successful.  It supressed most of the warnings except for the data type mismatch (i.e. col1 in BASE has different lengths with that of DATA).  Is there a way to suppress this too?  Is it documented somewhere why this type of warning is not being suppressed?</description>
    <pubDate>Thu, 03 Mar 2011 17:22:14 GMT</pubDate>
    <dc:creator>omBoy</dc:creator>
    <dc:date>2011-03-03T17:22:14Z</dc:date>
    <item>
      <title>Need help for PROC APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52805#M14523</link>
      <description>HI all, &lt;BR /&gt;
&lt;BR /&gt;
I have problems with appending a SAS Data set to an oracle table. &lt;BR /&gt;
Connection to the Oracle-database via the LIBNAME-statement works fine, also the table definition in ORACLE fits with the format definition of my SAS-table at first view. But when I execute a PROC CONTENTS statement on the ORACLE table the column definitions are not the same as in the ORACLE definition (e.g. character 40 in SAS instead of character 30 in ORACLE and so on). &lt;BR /&gt;
So I always receive warnings in response to my PROC APPEND statement because of different lengths on BASE and DATA files, though the definitions look OK as I mentioned above. &lt;BR /&gt;
&lt;BR /&gt;
Does anybody know how to solve this problem? &lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
Chris</description>
      <pubDate>Mon, 20 Dec 2010 14:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52805#M14523</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-20T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for PROC APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52806#M14524</link>
      <description>have you tried the force option?</description>
      <pubDate>Thu, 23 Dec 2010 00:30:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52806#M14524</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2010-12-23T00:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for PROC APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52807#M14525</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
From what you describe it's not the format but the length of the character variables which are different. So PROC APPEND is kind of right to issue a truncation warning.&lt;BR /&gt;
&lt;BR /&gt;
The best solution would be to define the lengths in your SAS data set according to the ones in the ORACLE table.&lt;BR /&gt;
&lt;BR /&gt;
If this is not possible and you're sure that the columns lengths in ORACLE are sufficient then you could use PROC APPEND NOWARN; to suppress the warnings. Not pretty - but it should work.&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Thu, 23 Dec 2010 09:45:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52807#M14525</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-12-23T09:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for PROC APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52808#M14526</link>
      <description>Hi.Patrick.&lt;BR /&gt;
Long time no see your posting.&lt;BR /&gt;
Happy Holidays!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 24 Dec 2010 07:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52808#M14526</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2010-12-24T07:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for PROC APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52809#M14527</link>
      <description>Hi Ksharp&lt;BR /&gt;
Yes, real life projects kept me too busy.&lt;BR /&gt;
Merry Chrismas and happy New Year to you.&lt;BR /&gt;
Cheers&lt;BR /&gt;
Patrick</description>
      <pubDate>Fri, 24 Dec 2010 11:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52809#M14527</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-12-24T11:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for PROC APPEND</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52810#M14528</link>
      <description>Hi.  I've used proc append + force + nowarn and it was only partly successful.  It supressed most of the warnings except for the data type mismatch (i.e. col1 in BASE has different lengths with that of DATA).  Is there a way to suppress this too?  Is it documented somewhere why this type of warning is not being suppressed?</description>
      <pubDate>Thu, 03 Mar 2011 17:22:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-for-PROC-APPEND/m-p/52810#M14528</guid>
      <dc:creator>omBoy</dc:creator>
      <dc:date>2011-03-03T17:22:14Z</dc:date>
    </item>
  </channel>
</rss>

