Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Loading Data to DB2 table using delimited data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Loading Data to DB2 table using delimited data
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

Active Member


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

PostPosted: Tue Nov 06, 2007 6:39 am    Post subject:
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    Post subject: Reply to: Loading Data to DB2 table using delimited data
Reply with quote

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

Active Member


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

PostPosted: Tue Nov 06, 2007 6:51 pm    Post subject:
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    Post subject: Reply to: Loading Data to DB2 table using delimited data
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us