moving text data type from one table to another.

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
dstucke
Participant
Posts: 4
Joined: Wed Aug 24, 2005 1:40 pm
Location: Milwaukee, WI - USA
Contact:

moving text data type from one table to another.

Post by dstucke »

I'm trying to convert one table to another table, both containing a column of text data type, which Datastage interprets as longvarchar(2147483647) in the metadata. The data can be rather large, and could contain any variety of characters entered in the data. This should be a straight mapping.

Datastage is having problems reading from the source table for certain rows. Actually, it just kills the job with a less than informative message: Abnormal termination of stage exConvertMessage..stgxMessage detected. That's it.

I'm able to view these problematic rows without any problems in MSSQL Query Analyzer. However, attempting to view them from the ODBC stage in Datastage lock the job up.

I'm assuming that there's a character in the data that Datastage is having problems with. I don't readily see it.

Does anyone have any suggestions on dealing with these large data types?
rwierdsm
Premium Member
Premium Member
Posts: 209
Joined: Fri Jan 09, 2004 1:14 pm
Location: Toronto, Canada
Contact:

Re: moving text data type from one table to another.

Post by rwierdsm »

Just came across this thread yesterday on how to remove non visible characters.

Maybe it will spark some ideas.

viewtopic.php?t=98175

Rob W
Rob Wierdsma
Toronto, Canada
bartonbishop.com
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I doubt there are any problem characters in these fields, it's more about the fact that these kinds of large TEXT fields (or LONGs or CLOBs) aren't really appropriate for processing by an ETL tool. However, that's not to say it can't be done, I've done it for CLOBs in Oracle, for instance.

First thing to check would be to make sure you do not set your array size to anything other than 1. That being said, do you have idea what size ranges you are dealing with in this field - min, max, average?

Also curious, why not just use whatever tools exist in MSSQL 2000 for this? Export/import perhaps?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The ODBC stage is limited in the maximum row size it can work with. This is configurable via MAXBUFFSIZE in the uvodbc.config file (iirc). Search the Forum for uvodbc.config to be sure. It's out there somewhere. (Yes, I'm in an airport lounge, away from DataStage again.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dstucke
Participant
Posts: 4
Joined: Wed Aug 24, 2005 1:40 pm
Location: Milwaukee, WI - USA
Contact:

Thanks to all for your replies

Post by dstucke »

Thank you all for your replies. I know the size of most of these image files are over 1MB. In the meantime, I've gotten things to work using a MSSQL DTS job called from a command stage within DS 7.5.1. However, I'll look into adjusting the MAXBUFFSIZE to 2MB+ and try that. I'll also check for goofy characters in my text.

Thanks, again.
Post Reply