<?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 Bulk loader error: SQL3006C  An I/O error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Bulk-loader-error-SQL3006C-An-I-O-error/m-p/496827#M131509</link>
    <description>&lt;P&gt;Hi, i'm playing with a new bulkload setup after migration of sas jobs from z/Os to Unix.&lt;/P&gt;&lt;P&gt;Managed to get the bulk loader working, but:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;NOTE: 11120546 rows were inserted into DW_1.Tdw111. &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;&lt;BR /&gt;&lt;BR /&gt;ERROR: Bulk loader error: SQL3006C&amp;nbsp; An I/O error occurred while opening the messaging file.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Job creates a work. file from DB2 table and inserts the data in a different DB2 table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;                                                             
insert into DW_1.Tdw111                                    
(                                                                     
BULKLOAD=YES,                                                         
BL_DELETE_DATAFILE=YES,                                               
DBCOMMIT=100000,                                                      
INSERTBUFF=10000,                                                     
BL_DATAFILE=                                                          
"/*random path*/BL_TDW111_VNT_LL.IXF",
BL_OPTIONS='compound=100 norowwarnings'                               
)
select * from WORK.Tdw111;
quit;                                                                     &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any idea what causes the error and how to deal with it ?&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Sep 2018 06:57:25 GMT</pubDate>
    <dc:creator>Binks_no_Sake</dc:creator>
    <dc:date>2018-09-19T06:57:25Z</dc:date>
    <item>
      <title>Bulk loader error: SQL3006C  An I/O error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-loader-error-SQL3006C-An-I-O-error/m-p/496827#M131509</link>
      <description>&lt;P&gt;Hi, i'm playing with a new bulkload setup after migration of sas jobs from z/Os to Unix.&lt;/P&gt;&lt;P&gt;Managed to get the bulk loader working, but:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;NOTE: 11120546 rows were inserted into DW_1.Tdw111. &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;&lt;BR /&gt;&lt;BR /&gt;ERROR: Bulk loader error: SQL3006C&amp;nbsp; An I/O error occurred while opening the messaging file.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Job creates a work. file from DB2 table and inserts the data in a different DB2 table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;                                                             
insert into DW_1.Tdw111                                    
(                                                                     
BULKLOAD=YES,                                                         
BL_DELETE_DATAFILE=YES,                                               
DBCOMMIT=100000,                                                      
INSERTBUFF=10000,                                                     
BL_DATAFILE=                                                          
"/*random path*/BL_TDW111_VNT_LL.IXF",
BL_OPTIONS='compound=100 norowwarnings'                               
)
select * from WORK.Tdw111;
quit;                                                                     &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any idea what causes the error and how to deal with it ?&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 06:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-loader-error-SQL3006C-An-I-O-error/m-p/496827#M131509</guid>
      <dc:creator>Binks_no_Sake</dc:creator>
      <dc:date>2018-09-19T06:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk loader error: SQL3006C  An I/O error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-loader-error-SQL3006C-An-I-O-error/m-p/496899#M131540</link>
      <description>&lt;P&gt;SOLVED!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after a while of playing i used bulk load option:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;BL_LOG="/random path/BL_TDW107.log"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;where i found out, the actual problem, which was:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;SQL3088N&amp;nbsp; The source column specified to be loaded into database column &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"END_INTENTSEQ" is not compatible with the database column, but the database &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;column is not nullable.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So i used another bl option:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;BL_OPTION='FORCEIN'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then the Bulk load have ran succesfully &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 11:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-loader-error-SQL3006C-An-I-O-error/m-p/496899#M131540</guid>
      <dc:creator>Binks_no_Sake</dc:creator>
      <dc:date>2018-09-19T11:27:18Z</dc:date>
    </item>
  </channel>
</rss>

