BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Binks_no_Sake
Fluorite | Level 6

Hi, i'm playing with a new bulkload setup after migration of sas jobs from z/Os to Unix.

Managed to get the bulk loader working, but:

NOTE: 11120546 rows were inserted into DW_1.Tdw111.                 

ERROR: Bulk loader error: SQL3006C  An I/O error occurred while opening the messaging file.

Job creates a work. file from DB2 table and inserts the data in a different DB2 table:

 

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;                                                                     

Any idea what causes the error and how to deal with it ?

Thank you so much.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Binks_no_Sake
Fluorite | Level 6

SOLVED!

 

after a while of playing i used bulk load option:

BL_LOG="/random path/BL_TDW107.log"

where i found out, the actual problem, which was:

SQL3088N  The source column specified to be loaded into database column
"END_INTENTSEQ" is not compatible with the database column, but the database
column is not nullable.

So i used another bl option:

 

BL_OPTION='FORCEIN'

 

And then the Bulk load have ran succesfully 🙂

View solution in original post

1 REPLY 1
Binks_no_Sake
Fluorite | Level 6

SOLVED!

 

after a while of playing i used bulk load option:

BL_LOG="/random path/BL_TDW107.log"

where i found out, the actual problem, which was:

SQL3088N  The source column specified to be loaded into database column
"END_INTENTSEQ" is not compatible with the database column, but the database
column is not nullable.

So i used another bl option:

 

BL_OPTION='FORCEIN'

 

And then the Bulk load have ran succesfully 🙂

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2133 views
  • 0 likes
  • 1 in conversation