You use the MODIFY-HOST-ATTRIBUTES command to modify the specific attributes of a host.
The alias name MDHTA exists for MODIFY-HOST-ATTRIBUTES.
BS2000 console | BS2000 SDF command | Command/SOF file | SNMP management | Parameter service |
x |
List of valid command sources
MODIFY-HOST-ATTRIBUTES / MDHTA |
HOST-NAME = *STD / <composed-name 1..8> ,SOCKETHOST-NAME = *UNCHANGED / *HOST-NAME / <composed-name 1..32> ,STATUS-JV = *UNCHANGED / *NONE / <filename 1..54> |
HOST-NAME=...
Specifies the name of the host to be modified.
HOST-NAME=*STD
The standard host is to be modified.
HOST-NAME=<composed-name 1..8>
Name of the host to be modified.
SOCKETHOST-NAME=...
Specifies the socket host name.
SOCKETHOST-NAME=*UNCHANGED
The socket host name remains unchanged.
SOCKETHOST-NAME=*HOST-NAME
The socket host name corresponds to the host name.
SOCKETHOST-NAME=<composed-name 1..32>
Specifies the socket host name.
STATUS-JV=...
Specifies the STATUS-JV name.
STATUS-JV=*UNCHANGED
The STATUS-JV name remains unchanged.
STATUS-JV=*NONE
STATUS-JV is not to be defined.
STATUS-JV=<filename 1..54>
STATUS-JV name specified as a file name.
Command logging
A description of the error messages that may be issued during command processing is provided in the table below.
Command return codes
(SC2) | Maincode | Meaning |
| CMD0001 | Command successfully processed |
| CMD0202 | Operand error |
| CMD0221 | System error |
| CMD0216 | Privilege not sufficient |
| BCA0203 | Interface (&00) returns RC (&01) |
| BCA0232 | Host entry not found |
| BCA0234 | Host entry not modified |
| BCA0236 | JV <> cannot be used because of <> |
Examples
Modify standard host entry:
/MODIFY-HOST-ATTRIBUTES HOST-NAME=*STD,SOCKETHOST-NAME=SOCKETHOST#STD
Modify virtual host entry, enter socket host name, status JV:
/MODIFY-HOST-ATTRIBUTES HOST-NAME=VHOST,SOCKETHOST-NAME=SOCKETHOST#VHOST
/MODIFY-HOST-ATTRIBUTES HOST-NAME=VHOST,STATUS-JV=$TSOS.STA-JV.VHOST