Transformation Logic
Posted: Wed Apr 09, 2008 7:45 am
HI,
I am taking input from flat file. It has three column
These are:-
COL NAME DataType
DATE1 VARCHAR
DATE VARCHAR
DATE1 Contains Input as d/m/yyyy
DATE Contains input as d/m/yyyy
In Transformation i m applying this Logic:-
Stage Variable Name
A=Field(InputLink.BILL_DATE1, "/",1)
B=Field(InputLink.BILL_DATE1, "/",2)
C=Field(InputLink.BILL_DATE1, "/",3)
X=Field(InputLink.BILL_DATE, "/",1)
Y=Field(InputLink.BILL_DATE, "/",2)
Z=Field(InputLink.BILL_DATE, "/",3)
and
R=X-Y
But i m not getting proper output
Please help me .....
Thanks
I am taking input from flat file. It has three column
These are:-
COL NAME DataType
DATE1 VARCHAR
DATE VARCHAR
DATE1 Contains Input as d/m/yyyy
DATE Contains input as d/m/yyyy
In Transformation i m applying this Logic:-
Stage Variable Name
A=Field(InputLink.BILL_DATE1, "/",1)
B=Field(InputLink.BILL_DATE1, "/",2)
C=Field(InputLink.BILL_DATE1, "/",3)
X=Field(InputLink.BILL_DATE, "/",1)
Y=Field(InputLink.BILL_DATE, "/",2)
Z=Field(InputLink.BILL_DATE, "/",3)
and
R=X-Y
But i m not getting proper output
Please help me .....
Thanks