Migrating the catalog table by command

If you are doing only one task at a time, for example enable, disable or migrate, use this option to migrate the catalog table.

Procedure

Go to the sqllib\json\bin folder and run one of the following commands:
  • On Windows: db2nosql.bat -url host_url -port port_number -db database_name -user user_name -password password -setup migrate
  • On Linux® and UNIX: db2nosql.sh -url host_url -port port_number -db database_name -user user_name -password password -setup migrate
where host_url is the full JDBC type 4 URL, port_number is the port number where the Db2® instance is listening, database_name is the database name, user_name is the Db2 user name, and password is the Db2 password.