Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 962
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: 962
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 Sorting group data rajella DFSORT/ICETOOL 3 Sun Jan 22, 2017 11:32 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us