Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
1) use tFileInputProperties component
2) define context variables for all the property values mentioned in the properties file
3) connect it to a tJavaRow component
4) compare the key names(property names) with the names mentioned in the properties file in the tJavaRow.
5) assign the values of keys to the context variables.
Now all your values mentioned in the properties file are set to context variables and you can use the context variavles at the place/or for another component.
Thanks and Regards,
pravu Mishra.
It means you need to pass the location and name of the properties file as a dinamic value/string.
One option for this is passing the properties file name as a command line arguement.
for implementing this
1)you need to define a contect variable which can keep the properties file name passed as command line arguement.
2) select prompt option check box.
3) modify the generated batch file after you export job script. The modification you need to do is like the following. you need to add the --context_param in the batch file command and provide the value.
--context_param COMMAND_LINE_CONFIG_FILE_NAME=D:\UKConfigSamplepProject.properties --context=Default
Hope it helps,
Thanks and Regards,
Pravu Mishra.