The regimpl utility also has a command line interface. The command flags correspond to the interactive commands described above. The syntax of the regimpl commands follow.
Note: The regimpl command and any optional regimpl command flags can be entered at a system prompt, and the command will execute as described below. For OS/2 and Windows users, this et-based interface is particularly useful in batch files.
To enter interactive mode:
regimpl
To add an implementation:
regimpl -A -i <str> [-p <str>] [-v <str>] [-f <str>] [-b <str>] [-h <str>] [-m {on|off}] [-z <str>] [-n {on|off}]
To update an implementation:
regimpl -U -i <str> [-p <str>] [-v<str>] [-f <str>] [-b <str>] [-h <str>] [-m {on|off}] [-n {on|off}]
To delete one or more implementations:
regimpl -D -i <str> [-i ...]
To list all, or selected, implementations:
regimpl -L [-i <str> [-i ...]]
To list all implementation aliases:
regimpl -S
To add class associations to one or more implementations:
regimpl -a -c <str> [-c ...] -i <str> [-i ...rbrk.
To delete class associations from all, or selected, implementations:
regimpl -d -c <str> [-c ...][-i <str> [-...]]
To list classes associated with all, or selected, implementation:
regimpl -l [-i <str> [-i ...]]
The following parameters are used in the commands described above:
-i <str> = Implementation alias name(maximum of 16 -i names) -p <str> = Server program name (default: somdsvr) -v <str> = Server-class name (default: SOMDServer) -f <str> = Reference data file name (optional) -b <str> = Reference data backup file name (optional) -h <str> = Host machine name (default: localhost) -m {on|off} = Enable multi-threaded server (optional) -z <str> = Implementation ID (optional) -c <str> = Class name(maximum of 16 -c names) -n {on|off} = Designate the server as nonstoppable (optional), meaning that the server cannot be stopped using the SOMDServerMgr interfaces or the "dsom" utility.