chckdvol

The chckdvol command changes the name of a count key data (CKD) base volume.

Read syntax diagramSkip visual syntax diagram
>>-chckdvol--+-------------------------+-- -name--new_volume_name-->
             '- -dev--storage_image_ID-'                            

>--+-volume_ID--+-------+-+------------------------------------><
   |            '-. . .-' |   
   '-" - "----------------'   

Parameters

-dev storage_image_ID
(Optional) Specifies the storage image ID, which includes manufacturer, type, and serial number. This parameter is required if you do not specify a fully qualified volume_ID.
-name new_volume_name
(Required) User specified nickname for this CKD base volume. This nickname should not exceed 16 characters. It can contain one of the following wild cards:
  • (#d) - insert volume_ID (decimal format)
  • (#h) - insert volume_ID (hexadecimal format)
volume_ID . . . | -
(Required) An array of one or more CKD base volume IDs or volume ID ranges to modify.
A volume ID range is defined by two volume IDs that are separated by a dash. Multiple volume IDs or volume ID ranges must be separated with a blank space between each ID.
Example: 0100-010F 0180-018F 0120
The volume ID format is hexadecimal LLVV, where LL is a logical control unit number 00 - 1F (1750 only), and VV is a volume number (00 - FF) that is contained by a logical subsystem object. You must fully qualify the volume ID with manufacturer, type, and serial number if you do not use the -dev parameter.
If you specify the dash (-), this parameter information is automatically supplied.

Example (1750)

Invoking the chckdvol command
dscli>chckdvol -dev IBM.1750-68FA120 -name my_volume_#d 0100 
The resulting output
Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.1750-68FA120

CKD volume 0100 successfully modified.
Related reference
lsaddressgrp
mklcu
chlcu
rmlcu
lslcu
showlcu
mkckdvol
rmckdvol
lsckdvol
showckdvol
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.