Add / Subtract months from a date in a Sequence
Posted: Thu Feb 28, 2013 10:23 am
Hi i have a similar requirement as noted here to add/subtract months from a given date.
I did use Ray's Addmonth , when i Test the routine independently it works fine but when i include it in a sequence the routine fails with return code = '10893', Am i doing something wrong here
(i have 3 month exp with data stage 7.5.x) ..
In the sequence i have a UVA stage where i use
VAR= IConv(DefineBizDate.BIZ_DATE,"D-YMD[4,2,2]")
and i pass this VAR to the routine, along with month i.e 5...
Also , is this error because transform routine cannot be used in sequence , if yes .. how do i go about it ..
I did use Ray's Addmonth , when i Test the routine independently it works fine but when i include it in a sequence the routine fails with return code = '10893', Am i doing something wrong here
![Sad :(](./images/smilies/icon_sad.gif)
In the sequence i have a UVA stage where i use
VAR= IConv(DefineBizDate.BIZ_DATE,"D-YMD[4,2,2]")
and i pass this VAR to the routine, along with month i.e 5...
Also , is this error because transform routine cannot be used in sequence , if yes .. how do i go about it ..