Page 1 of 1

Posted: Tue Feb 19, 2008 1:47 am
by ray.wurlod
Do some investigation. Create a throw-away job to read the source data and report the actual length of this field (using the Len() function). Just out of curiosity, also report the number of bytes (using the ByteLen() function). Send the result into a delimited text file.
Process a few rows, in particular some of the ones that threw the error, and let us know what you see.
Then enhance the throw-away job with part of the expression (say the Trim() function initially) and report that and its length. Then the substring.

Posted: Tue Feb 19, 2008 2:36 am
by laxman.ds
I checked the problem feild length it is 16
But Iam not able to use bytelen function it is not available
Iam using Servere jobs.
Please advice

Posted: Tue Feb 19, 2008 2:39 am
by ray.wurlod
ByteLen() is available. It may stay red (because it is not in DSParams file) but it will compile and it will run.

Posted: Tue Feb 19, 2008 3:49 am
by laxman.ds
Thanks for your support ..
I rectified the problem ..
The issue was regarding NLS mapping at oracle...That was Arabic data ..was not able to insert ...I corrected the NLS setting ..
Now it is runnign fine

Posted: Tue Feb 19, 2008 4:36 am
by asitagrawal
Time to mark the topic as Resolved please :)