Page 1 of 1

Array size must be set to 1 while reading LOB's

Posted: Mon Oct 06, 2014 5:37 am
by aneesh5142
I am getting the error message : Array size must be set to 1 while reading LOB's.

My job is a generic job which runs on different metadata using schema file.

Job structure is oracle table - transformer - sequential file .

Currently array size is 2000 I changed to 1 and executed, it ran successfully.

Since it is an generic job if we make change it may affect other jobs.

How to handle this situation.

Please give your valuable suggestions.

Posted: Mon Oct 06, 2014 6:48 am
by qt_ky
Keep the generic job as is. Create a separate job for the table with the LOB column(s).

Posted: Mon Oct 06, 2014 11:43 pm
by aneesh5142
Thank you.

Let me try that possibility

Posted: Tue Oct 07, 2014 8:11 am
by Mike
I would change the generic job so that array size is a job parameter. Use a parameter set with a value set for each table so that array size can be set on a per table basis.

Mike

Posted: Tue Oct 07, 2014 3:21 pm
by qt_ky
That may work. Just keep in mind the LOB settings in Connector stages. Sometimes you have to name or choose which columns are the LOB columns. It means having separate jobs unless you can parameterize that setting too (haven't tried it).

Posted: Wed Oct 08, 2014 1:30 am
by aneesh5142
qt_ky wrote:That may work. Just keep in mind the LOB settings in Connector stages. Sometimes you have to name or choose which columns are the LOB columns. It means having separate jobs unless you can parameterize that setting too (haven't tried it).
It worked ..Thanks a lot.

Posted: Wed Oct 08, 2014 1:33 am
by aneesh5142
Thanks mike for this idea ... it worked :)