If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Need urgent help in table load

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-10, 02:56
rohan_IBM rohan_IBM is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
Need urgent help in table load

We unloaded data from the Prod server tables and are trying to load to the Pre Prod server in an application running on MVS on Mainframes. We are using Unload and load utilities . However we are getting the following error for DECIMAL and VARCHAR columns while loading data onto the Pre Prod server tables.
1. CONVERSION ERROR FOR GMDMVP1.HELP_TEXT
ERROR CODE '04 - INPUT PACKED DECIMAL IS IN ERROR'

2. RECORD (3) WILL BE DISCARDED DUE TO INVALID 'INVSTGN_OWNER_NM' COLUMN
SPECIFICATION FOR GMDMVP1.WEB_SECURITY

What we have seen is that Prod is having DB2 V8 whereas Pre Prod is having DB2 V9 .Could this version difference be a reason for this issue? Please advise.We are doing a data refresh urgently needed for the client for fron end server migration and appreciate your help on this.
Reply With Quote
  #2 (permalink)  
Old 06-23-10, 08:32
umayer umayer is offline
Registered User
 
Join Date: Dec 2005
Posts: 273
The UNLOAD utility generates a load control statement ( SYSPUNCH DD ... ). Do you use that card or another ? If it's an other compare those cards for any difference.

Are the table definitions identical ( maybe 'INVSTGN_OWNER_NM' is nullable in Prod but is not in PreProd )

Do you use any definitions on the ProdServer which were introduced in Version 9 ( BIGINT e.g. )

Have a look at the discarded record. What is the content of the field 'INVSTGN_OWNER_NM' ?

Last edited by umayer; 06-23-10 at 08:36.
Reply With Quote
  #3 (permalink)  
Old 06-23-10, 10:39
Lenny77 Lenny77 is offline
Registered User
 
Join Date: Jul 2009
Location: NY
Posts: 886
GMDMVP1.HELP_TEXT could not be packed-decimal. It's following from name of the column.

Maybe you use the old "load control statement"

Lenny
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On