Appendix B. dabsetup (Setting up the Cosminexus DABroker Library)

This appendix describes the setup commands of the Cosminexus DABroker Library used in UNIX.

This command is used in the compatible functionality. For details on the Cosminexus DABroker Library, see 4. Compatible Functionality for Basic and Development Function (Database connections using Cosminexus DABroker Library) in the uCosminexus Application Server Compatibility Guide.

Note that before executing the dabsetup command, you must execute the following operations:

For setting up the Cosminexus DABroker Library, see 4.3 Initial settings of Cosminexus DABroker Library in the uCosminexus Application Server Compatibility Guide.

Storage destination of the command
/opt/DABroker/bin/
Organization of this section
(1) Format
(2) Function
(3) Argument
(4) Input examples
(5) Notes
(6) About deleting the Cosminexus DABroker Library working directory

(1) Format

dabsetup [-d] [path-name]

(2) Function

This command sets up the working directory of the Cosminexus DABroker Library. When you execute the dabsetup command, the directories and files of the installation directory are moved to the working directory specified in path name.

Also, you can delete the working directory by specifying the -d option.

(3) Argument

-d
Deletes the Cosminexus DABroker Library system under the Cosminexus DABroker Library working directory from the OS. Do not specify this option for setting up the Cosminexus DABroker Library working directory.
path-name
Specifies any directory in which the Cosminexus DABroker Library is to be operated.
The DABroker directory is created under the specified directory, and the directories and files of the installation directory are moved.
If the specification is omitted, the Cosminexus DABroker Library working directory is considered as the installation directory (/opt/DABroker) of the Cosminexus DABroker Library. Note that you cannot specify the directories in the remote file system or local files linked with the directory.

(4) Input examples

When specifying Cosminexus DABroker Library working directory
dabsetup /home
When deleting Cosminexus DABroker Library system
dabsetup -d /homeu

(5) Notes

(6) About deleting the Cosminexus DABroker Library working directory

When the working directory is successfully deleted by the dabsetup command
  • The files required in the system with commands, such as dabsetup, are retained in the installation directory of the system. Delete the files in the installation directory with the installer (uninstall).
  • The Cosminexus DABroker Library operating the environment definition file created by the user is not deleted by the dabsetup command. Delete as and when required.
When deletion of the working directory fails by the dabsetup command
  • Delete the remaining directories and files by the rm command of the OS.