CHGDEVASP (Change Device Description (ASP))

CHGDEVASP Command syntax diagram

 

Purpose

The Change Device Description (ASP) (CHGDEVASP) command changes the device description for an auxiliary storage pool (ASP) device.

 

Required Parameters

DEVD
Specifies the name of the device description being changed.

RSRCNAME
Specifies the resource name that identifies the auxiliary storage pool (ASP) by which a collection of disks is known.

*SAME: The resource name does not change.

resource-name: Specify the name that identifies the ASP by which the collection of disk units is known.

 

Optional Parameters

RDB
Specifies the relational database(RDB) name to associate with the auxiliary storage pool(ASP) device.

*SAME: The database name does not change.

*GEN: The RDB name will be generated by the operating system after a successful vary on of the device. If the device is the primary ASP of an ASP group, the RDB name will be the same as the device name. If the ASP device is a secondary ASP or user-defined file system (UDFS) ASP the RDB name will be set to blanks.

relational-database-name: Specify the RDB name to associate with the ASP device. The specified RBD name will not be used if the ASP device description is a secondary ASP or UDFS ASP. If the ASP device description is the primary ASP of an ASP group when the ASP group is varied on, the specified RDB name will become the name by which the relational database is known on this system and other systems which connect to this system.

MSGQ
Specifies the name of the message queue to which messages are sent.

*SAME: The name of the message queue does not change.

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

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

The name of the message queue can be qualified by one of the following library values:

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

library-name: Specify the name of the library to be searched.>

TEXT
Specifies text that briefly describes the device description.

*SAME: The value does not change.

*BLANK: Text is not specified.

'description': Specify no more than 50 characters of text, enclosed in apostrophes.

Example for CHGDEVASP

CHGDEVASP   DEVD(WAREHOUSE)  RSRCNAME(WAREHOUSE2)

This command changes the device description to an ASP resource that is known as WAREHOUSE2.

Error messages for CHGDEVASP

*ESCAPE Messages

CPF2618
Device description &1 not changed due to errors.