Oracle Enterprise stage

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
santoshkumar
Charter Member
Charter Member
Posts: 35
Joined: Sun Jan 16, 2005 8:39 am
Location: US

Oracle Enterprise stage

Post by santoshkumar »

Hi,

I am running a job where source is oracle and target is oracle.
My source contain user defined SQL where i perform left outer join and based on a filter condition in tranformer i move data to target oracle table(truncate and load)

job is aborting with below error message.There are total 6 columns 4( 2 are nullable) are character fields and 2 are date fields.

Code: Select all

main_program: Fatal Error: Caught ORCHESTRATE exception in main program: APT_ParseError: Parsing parameters "max=0" for schema type "ustring": Max length must be positive, got: "0"
Could not find type: ustring[max=0]
Any help is appreciated
Santosh
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Somewhere in your Columns definitions, somewhere in the job (not necessarily in the Oracle Enterprise stage) you have a VarChar data type with no (=zero) precision. This is illegal.

string[max=n] is the Orchestrate Framework's way of representing VarChar(n) in a schema.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

check the column name , type and length of the query and the output schema of the oracle stage; it should be same.
Post Reply