Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

MODIFY-HOST-ATTRIBUTES / MDHTA: Modify HOST attributes

&pagelevel(3)&pagelevel

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)      SC1

Maincode

Meaning

   0        0

CMD0001

Command successfully processed

   1        0

CMD0202

Operand error

   0       32

CMD0221

System error

   0       64

CMD0216

Privilege not sufficient

   0       64

BCA0203

Interface (&00) returns RC (&01)

   0       64

BCA0232

Host entry not found

   0       64

BCA0234

Host entry not modified

   0       64

BCA0236

JV <> cannot be used because of <>


Examples

  1. Modify standard host entry:

    /MODIFY-HOST-ATTRIBUTES HOST-NAME=*STD,SOCKETHOST-NAME=SOCKETHOST#STD

  2. 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