Results 1 to 4 of 4

Thread: db2move utility

  1. #1
    Join Date
    Jul 2002
    Posts
    19

    Question Unanswered: db2move utility

    Hi,
    I want to use db2move utility in my java program. Are there any APIs which does the same job as db2move utility ?


    Regards,
    Ajay
    Thanks,
    Ajay

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: db2move utility

    AFAIk, there is no API for calling the db2move utility ....

    Apart from this, APIs are not available for Java ... You will need to write C/C++ code and call these from your Java progs ..

    HTH

    Cheers

    Sathyaram

    Originally posted by ajay978
    Hi,
    I want to use db2move utility in my java program. Are there any APIs which does the same job as db2move utility ?


    Regards,
    Ajay

  3. #3
    Join Date
    Jul 2002
    Posts
    19
    Hi,
    Is there any other way so that the same thing can be done using Java ?
    When we use db2utility to move the database it moves the triggers,views and other objects. If I move a table only does the objects related to that table like trigger on that table or view also moves.

    Regards,
    Ajay
    Thanks,
    Ajay

  4. #4
    Join Date
    Dec 2002
    Posts
    2

    If you really use db2move in java

    Maybe, you can use like shell command.

    Coding like excute system command.

    Of course db2profile must issue in shell.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •