jbsrt_del
- Organization of this page
Function
The jbsrt_del command deletes the configuration definition information of the host which you execute this command.
Format
jbsrt_del [-f] [-h logical-host-name]
Required execution permission
In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
In UNIX: Superuser or JP1/Base administrator permission
Command directory
- In Windows:
-
installation-folder\bin\
- In UNIX:
-
/opt/jp1base/bin/
Arguments
-f
Specify this argument if you do not want a message confirming command execution (a message asking you to enter Y or N) to be output. If you specify this option, the message confirming command execution is omitted, the value Y is assumed, and processing continues. If you omit this option, a message confirming command execution will be displayed.
-h logical-host-name
When using JP1/Base in a cluster system, specify the logical host for which you will execute the command. If you omit this option, the host name set in the environment variable JP1_HOSTNAME is assumed. If the environment variable JP1_HOSTNAME is not set, the physical host name is assumed. There is no need to specify this argument unless you are running a cluster system.
Environment variables
JBSRT_CMDRCD_EXTEND
This environment variable expands the set of values that can be returned by the command. To use the expanded set of return values, specify 1. To use the original (unexpanded) set of return values, specify 0. If you omit this environment variable, the command will return a value from the original set of return values.
Notes
If your JP1/IM - Manager version is 11-01 or earlier, do not set the JBSRT_CMDRCD_EXTEND environment variable as a system environment variable or a user environment variable. If you do, you might not be able to use IM Configuration Management to configure the system hierarchy. Instead, use the command prompt or a batch file to set the JBSRT_CMDRCD_EXTEND environment variable.
Return values (original set)
0 |
Normal end |
1 |
Abnormal end |
Return values (expanded set)
0 |
Normal end |
10 |
Invalid argument |
11 |
Permission error |
12 |
No configuration definition information |
13 |
Configuration definition information access error |
20 |
Insufficient memory |
128 |
Other error |
Example
The examples below show the command with the -f option specified and the command with the -f option omitted.
- With the -f specified:
# jbsrt_del -f KAVB3115-I The definition information was deleted.
- With the -f option omitted:
# jbsrt_del Do you want to delete the definition information? [Y/N] y KAVB3115-I The definition information was deleted.
The following example shows how to expand the set of values returned by the command:
# set JBSRT_CMDRCD_EXTEND=1 # jbsrt_del