Change Device Desc (Optical) (CHGDEVOPT)

The Change Device Description (Optical) (CHGDEVOPT) command changes the device description for an optical device.

Restriction: You must have input/output system configuration (*IOSYSCFG) special authority to use this command.

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Key, Positional 1
RSRCNAME Resource name Name, *SAME, *NONE Optional
LCLINTNETA Local internet address *SAME, *NONE, *SRVLAN Optional
RMTINTNETA Remote internet address Character value, *SAME Optional
NETIMGDIR Network image directory Path name, *SAME Optional
UID User ID number 0-4294967295, *SAME Optional
GID Group ID number 0-4294967295, *SAME Optional
ONLINE Online at IPL *SAME, *YES, *NO Optional
MSGQ Message queue Single values: *SAME, *SYSOPR
Other values: Qualified object name
Optional
Qualifier 1: Message queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
TEXT Text 'description' Character value, *SAME, *BLANK Optional

Device description (DEVD)

Specifies the name of the device description.

This is a required parameter.

Resource name (RSRCNAME)

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

*SAME
The value does not change.
*NONE

No resource name is specified. A resource name must be provided before the device can be varied on.

resource-name

Specify the name that identifies the optical device hardware on the system.

Note: Use the Work with Hardware Resources (WRKHDWRSC) command with TYPE(*STG) specified to determine the resource name.

Local internet address (LCLINTNETA)

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

*SAME

The value does not change.

*NONE

No internet address is specified. 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.

Remote internet address (RMTINTNETA)

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

*SAME

The value does not change.

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. An internet address is not valid if it has a value of all binary ones or zeros for the network identifier (ID) or host portion of the address. If the internet address is entered from the command line, the address must be enclosed in apostrophes.

An IPv6 internet address is specified in the form x:x:x:x:x:x:x:x, where x is a hexadecimal number ranging from 0 through X'FFFF'. "::" may be used once in the IPv6 address to indicate one or more groups of 16 bits of zeros. The "::" may be used to compress leading, imbedded, or trailing zeros in the address. An IPv6 internet address must be a unicast address and must not contain an imbedded IPv4 address (compatibility or mapped). If the internet address is entered from the command line, the address must be enclosed in apostrophes.

Network image directory (NETIMGDIR)

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

*SAME

The value does not change.

path-name

Specify the network path on the NFS server containing the virtual image files. Up to 127 characters may be specified.

User ID number (UID)

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

*SAME

The value does not change.

0-4294967295

Specify the ID number of the remote user profile on the NFS server.

Group ID number (GID)

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

*SAME

The value does not change.

0-4294967295

Specify the ID number of the remote group profile on the NFS server.

Online at IPL (ONLINE)

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

*SAME
The value does not change.
*YES

This device is varied on automatically at IPL.

*NO

This device is not varied on automatically at IPL.

Message queue (MSGQ)

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

Single values

*SAME

The value does not change.

*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).

Qualifier 1: Message queue

name

Specify the name of the message queue to which operational messages are sent.

Qualifier 2: Library

*LIBL

All libraries in the job's library list are searched until the first match is found.

*CURLIB

The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.

name

Specify the name of the library to be searched.

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

*SAME
The text (if any) does not change.
*BLANK
No text is specified.
character-value
Specify no more than 50 characters of text, enclosed in apostrophes.

Examples

Example 1: Change an Optical Device To Be Varied On At IPL

CHGDEVOPT   DEVD(OPT01)  ONLINE(*YES)

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

Example 2: Change an Optical Device To Specify an IPv6 Remote Network Internet Address

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

This command 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.

Error messages

*ESCAPE Messages

CPF2618
Device description &1 not changed.