Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Device Description (Tape) (CHGDEVTAP) command changes a device description for a tape device.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DEVD | Device description | Name | Required, Key, Positional 1 |
RSRCNAME | Resource name | Name, *SAME, *NONE, *VRT | Optional |
ONLINE | Online at IPL | *SAME, *YES, *NO | Optional |
ASSIGN | Assign device at vary on | *SAME, *YES, *NO | Optional |
UNLOAD | Unload device at vary off | *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 |
SWTSET | Switch setting | Character value, *SAME | Optional |
Top |
Specifies the name of the device description being changed.
This is a required parameter.
Top |
Specifies the resource name that identifies the virtual or physical hardware this description represents. For a physical hardware resource use the WRKHDWRSC command to determine the resource name.
Top |
Specifies whether this object is automatically varied on at initial program load (IPL).
Top |
Specifies whether the tape drive is assigned to the system when it is varied on.
Top |
Specifies whether the tape drive is unloaded when the device is varied off.
Top |
Specifies the message queue to which operational messages for this device are sent.
The possible qualified names are:
Qualifier 2: Library
Top |
Top |
Specifies the switch setting for tape devices.
For 3422, 3480, and 3490 tape devices the possible values are 0 to F.
For 3430 tape devices the possible values are 0 to 3.
Note: This parameter is no longer valid. Specify the RSRCNAME parameter for all tape devices. The SWTSET parameter is provided for compatibility with earlier versions of this command. If specified, the SWTSET parameter is converted to a resource name by the system.
Top |
CHGDEVTAP DEVD(TAP01) ONLINE(*YES)
This command changes the device description of a tape device named TAP01 so that at an IPL the device is automatically varied on.
Top |
Top |