on 03-29-2012 3:26 PM
Hello,
The mapping is between source date1 field to target date2 field . If date1 exists then do date transformation and map to date2 else I am passing a constant.
I keep getting error when i test mapping as Unparseable date "".
If there is value in date1 it works fine. When there is no value in source date1 it gives me the above error. Please advice.
Thanks,
Teresa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you pass constant then the receiver tag of date tyoe does not accepts it.
If you are passing a constant then pass a constant date instead of any other value.
Can you confirn if you are performing any date transformation (YYYYMMdd to ddMMYYY or something simillar)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The reason i do not want to change it to string at this point because messages are already in PI and failed due to mapping error. My fear is that if I change to string an go to SXMB_MONI and restart those messages they may error out again as I changed the source data type. Also I need to contact the DBA admin to inform him that I have changed the data type to string for date field and he needs to change it on the DB side.
Hi Teresa,
Use equalsS([empty string]) instead of exists() - they are not really equivalent. Make sure to use equalsS from Text functions.
Hope this helps,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.