Skip to Content
author's profile photo Former Member
Former Member

Post Upgrade Activity: db6_update_db script

Hi Experts,

I've already upgraded db2 version from 9.1 to 9.7 but I am stuck in post upgrade activity where I need to run the db6_update_db script.

Question to this procedure: "Copy the file db6_update_db.bat (Windows) from the relevant operating system folder on the database DVD to a temporary directory (<temp_dir>)."

Is the <temp_dir> can be any directory? If not, what specific directory that I need to save the db6_update_db script?

I've tried to create a directory and save the script but when I issue the command I've got this error:

JAVA could not be found on the maschine

Please make sure that the DB2PATH environment variable is set to the installation directory of the DB2 software or set DB6_UPDATE_DB_JAVA to the full qualified path of your java.exe

I've tried this with different access like administrator, db2<dbsid> and <sapsid>adm but I have no luck.

Can anyone help me?

Regards,

Chonalyn

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Mar 06, 2014 at 08:48 AM

    Hi Chonalyn,

    Have a look at this note:

    1304436 - DB6: Documentation for db6_update_db scripts

    Regards,

    Hugo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 03, 2014 at 06:10 PM

    I have the exact situation here and would like to know how this was fixed.

    Please let me know how it was fixed.

    Thanks

    Stephane

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.