Need a quik sugesstion,
I have shell script which accepts current date 12/08/2011 as a parameter, til now operations were running this job by manually , script.sh 12/08/2011. and when i tried to this from control-M , as command type job,
path/script %%PARAM1 : %%PARAM1=%%DD.%%MM.%%YYYY
it is resolving the date paramter and i can very well see in the sysout as well,
path/script 12/08/2011, however down the sysout i can see as
Please input date dd/mm/yyyy. not sure why this is happening and scrpt is executing as it should be.
we are able to run this script with parameter manually.
ANy idea guys, please reply ASAP..
Thanks in Advance
Not able to pass the PASS PARAMETER to the script
adding more to this
all these days ops people used to run by manually, like as followings
./scriptname then it will prompt for a date to be passed, now when i run on like ./scriptname DD/MM/YYYY it is not working,
Any idea on this?
./scriptname then it will prompt for a date to be passed, now when i run on like ./scriptname DD/MM/YYYY it is not working,
Any idea on this?