Command reference / comm

CHGDEVOPT

Change Device Description

Updates the description of an optical device.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

DEVD Device description

Enter the name of the device description.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

RSRCNAME Resource name

Sets the resource name that identifies the hardware that the description represents.

Type
*NAME
Required
No
Default
*SAME
Length
10
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave resource name unspecified. A resource name must be provided before the device can be varied on.
resource-name
Enter the name that identifies the optical device hardware on the system.

LCLINTNETA Local internet address

Sets the TCP/IP interface to be used to communicate with the remote system when using virtual image files on a network. Note: This parameter is not valid if *NONE is specified for the Resource name (RSRCNAME) parameter.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *NONE, *SAME, *SRVLAN

*SAME
Keep the current setting.
*NONE
Leave internet address unspecified. Specifying this value will prevent the use of network virtual image files.
*SRVLAN
The value that was defined for the service tool server or the operations console (LAN) is specified.

RMTINTNETA Remote internet address

Sets the remote internet address of the Network File System (NFS) server where this virtual optical device will look for virtual image files. Note: A value is required for this parameter if *SRVLAN is specified for the Local internet address (LCLINTNETA) parameter.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
character-value
An IPv4 internet address is specified in the form, nnn.nnn.nnn.nnn , where nnn is a decimal number ranging from 0 through 255. Leading zeros in each part of the dotted decimal internet address are invalid and will be removed.

NETIMGDIR Network image directory

Sets the network path on the Network File System (NFS) server containing the virtual image files that were prepared for use with this device. Note: A value is required for this parameter if *SRVLAN is specified for the Local internet address (LCLINTNETA) parameter.

Type
*PNAME
Required
No
Default
*SAME
Length
5000
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
path-name
Enter the network path on the NFS server containing the virtual image files. Up to 127 characters may be specified.

UID User ID number

Sets the ID number of the remote user profile on the Network File System (NFS) server. Note: This parameter is only valid if *SRVLAN is specified for the Local internet address LCLINTNETA parameter.

Type
*UINT4
Required
No
Default
*SAME
Range
0 to 4294967295
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
0-4294967295
Enter the ID number of the remote user profile on the NFS server.

GID Group ID number

Sets the ID number of the remote group profile on the Network File System (NFS) server. Note: This parameter is only valid if *SRVLAN is specified for the Local internet address LCLINTNETA parameter.

Type
*UINT4
Required
No
Default
*SAME
Range
0 to 4294967295
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
0-4294967295
Enter the ID number of the remote group profile on the NFS server.

ONLINE Online at IPL

Controls whether this object is automatically varied on at initial program load (IPL). Note: The value for this parameter will be set to *NO if *SRVLAN is specified for the Local internet address LCLINTNETA parameter.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*YES
This device is varied on automatically at IPL.
*NO
This device is not varied on automatically at IPL.

MSGQ Message queue

Sets the message queue to which operational messages for this device are sent.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSOPR

*SAME
Keep the current setting.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).
name (message queue)
Enter the name of the message queue to which operational messages are sent.
*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 8-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 8-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

TEXT Text 'description'

Sets the text that briefly describes the object.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *BLANK, *SAME

*SAME
Keep the current text (if any).
*BLANK
Leave the description blank.
character-value
Enter no more than 50 characters of text, enclosed in apostrophes.

Examples

CHGDEVOPT DEVD(OPT01) ONLINE(*YES)

Changes the device description of an optical device that is named OPT01 so that the device is automatically varied on at IPL.

CHGDEVOPT DEVD(VRTOPT03) RMTINTNETA('fe80::1234')

Changes the device description of an optical device that is named VRTOPT03 to specify an IPv6 remote network internet address. The device must be varied off for this change to take affect.

IBM command documentation

Generated from os/cl/catalog/CHGDEVOPT.json and os/cl/help/CHGDEVOPT.json.