Is it Achievable with Schema file

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
har
Participant
Posts: 118
Joined: Tue Feb 17, 2004 6:23 pm
Location: cincinnati
Contact:

Is it Achievable with Schema file

Post by har »

All,
Let me start from here:
Scenario 1:
Say my Source field datatype is Date(yyyy-mm--dd)(EX:2007-01-10).
And if i define meta data in schema file like this date[mm-dd-yyyy](Ex : 01-10-2007),does the data will change automatically or not.

Scenario 2:
Say my input datatype for one field is Decimal(Ex : 000123.456).
Is their a way that i can convert this to 123456 by defining some thing in schema file.

Is it possible to do any type conversion with schema file.

Thanks,
Har
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Nothing is automatic. Data types will be converted implicitly if this is feasible, but will generate warnings/errors if not.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
har
Participant
Posts: 118
Joined: Tue Feb 17, 2004 6:23 pm
Location: cincinnati
Contact:

Post by har »

Ray,
U mean,Job will run successfull with out any fatal errors.
Usually Transformer stage do all type conversions..
I mean does implict conversion will happen with Schema File with out any fata errors.
Thanks,
Har
Har
Post Reply