Dynamic value for parameter in parameter set
Posted: Fri Jul 24, 2009 8:36 am
I have a parameter set called param_set .I have created value file file1 .In this parameter set i have 20 parameters .One of the parameter is START_TIME .In parameter set and value file its value is 2006/01/01 .I want this paramter START_TIME should be equal to the time on which batch runs .
I am referring this parameter START_TIME in a job as param_set.START_TIME .In order to populate batch start time i am calling the job like this :
dsjob - run -param param_set=file1 -param param_set.START_TIME=`date +'%Y/%m/%d'` project_name job_name .
I am able to run the job and its population START_TIME with current batch time.
But when i put this job in a sequence its populating old value ( 2006/01/01 ) only .I am not able to get current batch time in it .
i am using below command :
dsjob - run -param param_set=file1 -param param_set.START_TIME=`date +'%Y/%m/%d'` project_name seq_name .
Can anyone suggest where i am going wrong ?
Thank you all
Nagarjuna
I am referring this parameter START_TIME in a job as param_set.START_TIME .In order to populate batch start time i am calling the job like this :
dsjob - run -param param_set=file1 -param param_set.START_TIME=`date +'%Y/%m/%d'` project_name job_name .
I am able to run the job and its population START_TIME with current batch time.
But when i put this job in a sequence its populating old value ( 2006/01/01 ) only .I am not able to get current batch time in it .
i am using below command :
dsjob - run -param param_set=file1 -param param_set.START_TIME=`date +'%Y/%m/%d'` project_name seq_name .
Can anyone suggest where i am going wrong ?
Thank you all
Nagarjuna