• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.


    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Issue backing up DB2 DB's


Hi all

having a bit of an issue trying to get a TSM scheduled backup of DB2 databases to run properly.

I have a schedule set up in TSM tied to the DB2 nodename the schedule action is CMD and the schedule runs the following script

"su - db2inst1 -c /home/db2inst1/tsm/db2_full_backup.ksh"

I am able to manually run the script from the host using both root, and if i su into the db2inst1, i can run it (minus the su -db2inst1)

however, when I try to get it to run on a schedule, i keep getting the message that the schedule failed (return node 127)

I am not sure why it is not running .

The only major thing that changed, was the db2 client was pointed to a new TSM server, i have modifed the opt and sys files, stored the password, everything looks ok. the only thing that has not been done, and not sure if i need to is a db2stop and db2start

the environment variables look ok, ie, the dsmi_config, dsmi_log and dsmi_dir are there.

any ideas?


figured it out... when i created the schedule in the OC, it puts double quotes around the command to run

went into the cli and updated the schedule without double quotes and it launched from the scheduler ok..

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.6%
  • Keep using TSM for Spectrum Protect.

    Votes: 59 60.8%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.4%
  • Other (please comement)

    Votes: 8 8.2%

Forum statistics

Latest member