I am trying to execute a cron job to backup db2..

my db2 user is db2inst1

i setup the crontab job as db2inst1

when i run it i get an error

Output from command /opt/IBM/db2/V8.1/bin/db2 backup db parks use tsm ..

SQL10007N Message "-1390" could not be retrieved.  Reason code: "1".

If I run the backup job logged in as db2inst1 no problem

if i run the job logged in as root i get the same above error


so what i am asking is how do i setup a cron job to execute as user db2inst1??

thanks

Ralph

Reply via email to