IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Loading Data to DB2 table using delimited data


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mfstudent1
Currently Banned

New User


Joined: 03 Mar 2006
Posts: 18

PostPosted: Tue Nov 06, 2007 4:56 am
Reply with quote

Hello,

I am trying to load data into a DB2 table using DSNUTILB-LOAD utilility. The data is delimited by ';'. There are lot of DECIMAL(COMP-3) fields in the data. I am receiving 'conversion error' on these fields.

Can't I load delimited decimal data using LOAD utility? Is there a work around(except specifying positions)? I have about 100 fields to be loaded into the table.

Thank You.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Nov 06, 2007 6:39 am
Reply with quote

I think comma-delimited LOAD began with version 8. What are you on?
Back to top
View user's profile Send private message
mfstudent1
Currently Banned

New User


Joined: 03 Mar 2006
Posts: 18

PostPosted: Tue Nov 06, 2007 7:12 am
Reply with quote

I am on DB2 Version 8
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Nov 06, 2007 6:51 pm
Reply with quote

I think the default delimiter is comma, but there is a parm that let's you redefine it as, in your case, semi-colon.

Have you done that?
Back to top
View user's profile Send private message
mfstudent1
Currently Banned

New User


Joined: 03 Mar 2006
Posts: 18

PostPosted: Tue Nov 06, 2007 7:58 pm
Reply with quote

Phrzby Phil,
Yes..I have redefined the coldel to ';'
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top