DOCS

Assigning a New Database ID

When you copy a database using the appropriate programs available under the operating system that is in use, the copy will have the same database ID as the original database.

If you want to access both databases simultaneously with one and the same Rochade Server, you must change the database ID of at least one of them so they will no longer be identical. This can be accomplished by running the service program rodbucx<os> with the -dbsetid option.

Example (UNIX)

To assign a new database ID to the UNIX database that is specified in the section DATA of the server initialization file, use this command:

rodbucxu ROSRV server.ini -dbsetid -db=DATA

In z/OS, the job RODBUSET is provided for this task.