Quote:
Originally Posted by
robotronic
Put a "set -x" command at the top of the script and run it. You should now be able to debug the executed code and find where is the problem.
yes that is also possible with this-
ksh -x "filename"
I will make atry,can you please have a look too and suggest me something if you find anything wrong.I will apperciate your help.
The actual output i am getting is--
mt_clean -a mtBackup
Starting moving/removing files from /intasmut2/envsw/logs
Skips ./sage_db_clean_up.result file. It is today's file
Skips ./mt.log.8882.-5 file. It is today's file
Skips ./sage.log.5 file. It is today's file
Skips ./mt.log.8882.-6 file. It is today's file
Skips ./Trace28482main1 file. It is today's file
Skips ./dispatcher.log.8881.-6 file. It is today's file
Skips ./Trace28591main1 file. It is today's file
mt_clean is completed suffessfully
it should not do it instead it should display the the Usage and come out if any location is not specified.
Thanks