compilation error

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
dsx_venkat
Participant
Posts: 12
Joined: Thu Sep 01, 2005 10:49 pm

compilation error

Post by dsx_venkat »

Hi all,

I am getting this error,

XFM050: Error when checking operator: When binding input interface field "EFF_DT" to field "EFF_DT": No default type conversion from type "string" to type "date".

But i checked through out the job, EFF_DT is of type DATE.

any idea why i am getting this error.

Thanks
venkat
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

You have mapped a col defined as string (char or varchar) to a col defined as date. Check it in the transformer stage. You may need any conversion function.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check the schema associated with EVERY link. Somewhere there's a string data type. Otherwise you wouldn't have seen that particular error.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
venkat n
Participant
Posts: 29
Joined: Fri Mar 18, 2005 3:28 am

Post by venkat n »

Sainathan Is correct, thats the mistake in transform
You have mapped a col defined as string (char or varchar) to a col defined as date. Check it in the transformer stage.
dsx_venkat
Participant
Posts: 12
Joined: Thu Sep 01, 2005 10:49 pm

Post by dsx_venkat »

Hi all,


I have solved the problem, I just renamed the EFF_DT as EFF_DT_1, it got compiled,

But i have check through out the job, EFF_DT is a Date type, no way it can map to the string datatype, I dont know why it shouted like that.

any have thanks for your reply pals.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you have RCP enabled, and there's a string EFF_DT in a source 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.
Post Reply