I have a problem using Script Center. Everytime when we created an OS command, the working directory didn't get recognized. So we have to do 'cd dir' and then the OS command in the body. So why is it causing the 'working directory' not recognized?

Secondly, if we redirect the output to an linux file like './test.sh > ./test.log' in the body. When we executed it, even though the output was written to ./test.log, the Journal will always show 'FAILED' and gave error 'DBA2078E An unexpected error occurred. There is no job output.
'. Very frustrating. Can anybody help? Thanks!

P.S.: we are running DB2 V7.2 on Red Hat Linux 7.