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

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
aneesh5142
Premium Member
Premium Member
Posts: 15
Joined: Wed Feb 11, 2009 11:41 am
Location: Chennai

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

Post 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.
IBM-DS
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Keep the generic job as is. Create a separate job for the table with the LOB column(s).
Choose a job you love, and you will never have to work a day in your life. - Confucius
aneesh5142
Premium Member
Premium Member
Posts: 15
Joined: Wed Feb 11, 2009 11:41 am
Location: Chennai

Post by aneesh5142 »

Thank you.

Let me try that possibility
IBM-DS
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post 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
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post 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).
Choose a job you love, and you will never have to work a day in your life. - Confucius
aneesh5142
Premium Member
Premium Member
Posts: 15
Joined: Wed Feb 11, 2009 11:41 am
Location: Chennai

Post 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.
IBM-DS
aneesh5142
Premium Member
Premium Member
Posts: 15
Joined: Wed Feb 11, 2009 11:41 am
Location: Chennai

Post by aneesh5142 »

Thanks mike for this idea ... it worked :)
IBM-DS
Post Reply