How to pass current date in sequence job
Posted: Wed Apr 02, 2014 3:47 am
Hi all,
I have a requirement where i have preupdate,main loading job and post update.
My requirement is to stored the current date before main job starts loading and pass this as a parameter to post update job in job sequence.
To achieve this,i have used user variable activity stage between preupdate and main job and created one variable as
CURR_DT=Date()
But when i am passing this variable to post update job parameter
CURR_DT(Type=date)=Curr_Dt_Vrb.CURR_DT sequence is failing at post update flow with error:-
JobControl (@Ofin_Submit_Job): Will execute error activity: Exception_Handle
when i change the data type of parameter CURR_DT(Type=String)=Curr_Dt_Vrb.CURR_DT
it passes the interger value CUR_DT=16894,which is not expected.
Can soneone give a look in this.
I have a requirement where i have preupdate,main loading job and post update.
My requirement is to stored the current date before main job starts loading and pass this as a parameter to post update job in job sequence.
To achieve this,i have used user variable activity stage between preupdate and main job and created one variable as
CURR_DT=Date()
But when i am passing this variable to post update job parameter
CURR_DT(Type=date)=Curr_Dt_Vrb.CURR_DT sequence is failing at post update flow with error:-
JobControl (@Ofin_Submit_Job): Will execute error activity: Exception_Handle
when i change the data type of parameter CURR_DT(Type=String)=Curr_Dt_Vrb.CURR_DT
it passes the interger value CUR_DT=16894,which is not expected.
Can soneone give a look in this.