ALTER BCS-DEVICETYPE

Use the ALTER BCS-DEVICETYPE command to quickly and easily change the device type value in the catalog for data sets.

Syntax

Read syntax diagramSkip visual syntax diagramALTER Bcs-DevicetypeINClude-Bcs(,bcsbcsmask)New-DEViceType( newvalue)Old-DEViceType( oldvalue)SIMulateEXClude-Bcs(,bcsbcsmask)INClude-Dsn(,dsndsnmask)EXClude-Dsn(,dsndsnmask)INClude-Storagegroup(,stgrpstgrpmask)EXClude-Storagegroup(,stgrpstgrpmask)INClude-VOLser(,volservolsermask)EXClude-VOLser(,volservolsermask)Master-CATalog( mcat)PRinT(KEY)PRinT(KEYDATANONE)

ALTER BCS-DEVICETYPE Command Syntax

Keywords

INCLUDE-BCS
specifies one or more specific or masked BCS names to process. Only BCS names that are connected to the master catalog on the system running the ALTER command are selected. If MASTER-CATALOG is specified, all BCSs that match the BCSs specified in INCLUDE-BCS are included in the selection analysis.
NEW-DEVICETYPE
specifies the new value to insert into the existing device type field in the selected catalog records. The value entered may be a character value, denoted by the "C" flag, or a hexadecimal value, denoted by the "X" flag. If a hexadecimal value is entered, it must consist of the characters 0 through F, and must be 8 hexadecimal characters in length. Specify a generic name, esoteric name, or a hexadecimal value.
The device type will be validated. The value entered will be checked against the available system values (as defined via HCD) as well as an internal generic table. See Usage notes for the values allowed by the internal generic table.
OLD-DEVICETYPE
specifies the old value to match in the device type field in the selected catalog records. The value entered may be a character value, denoted by the "C" flag, or a hexadecimal value, denoted by the "X" flag. If a hexadecimal value is entered, it must consist of the characters 0 through F, and must be 8 hexadecimal characters in length. Specify a generic name, esoteric name, or a hexadecimal value.
The device type will be validated. The value entered will be checked against the available system values (as defined via HCD) as well as an internal generic table. See Usage notes for the values allowed by the internal generic table.
SIMULATE
specifies that you want to test the command without actually performing it.
EXCLUDE-BCS
specifies one or more specific or masked BCS names to exclude from processing.
INCLUDE-DSN
specifies one or more specific or masked data set names to process.
EXCLUDE-DSN
specifies one or more specific or masked data set names to exclude from processing.
INCLUDE-STORAGEGROUP
specifies one or more specific or masked SMS storage groups of volumes to process.
EXCLUDE-STORAGEGROUP
specifies one or more specific or masked SMS storage groups of volumes to exclude from processing.
INCLUDE-VOLSER
specifies one or more specific or masked volume serial numbers to process.
EXCLUDE-VOLSER
specifies one or more specific or masked volume serial numbers to exclude from processing.
MASTER-CATALOG
specifies a fully qualified master catalog name. This command searches that specified master catalog for user catalogs that match the specification in the INCLUDE-BCS keyword. All user catalogs in that master catalog are then included in the processing of this command.

If MASTER-CATALOG is not specified, only the master catalog on the system on which the command is run is used. The master catalog that you specify must be connected to the current system's master catalog.

PRINT
specifies the level of printing to SYSPRINT that takes place during processing.
  • KEY—print only the key from the BCS record being altered. This is the default.
  • NONE—do not print anything.
  • DATA—print the complete record, including key and data, from the BCS being altered.

Usage notes

For the NEW-DEVICETYPE and OLD-DEVICETYPE keywords, the internal generic table allows the following values:
Generic Device Type Class
3380 X'3010200E' DASD
3390 X'3010200F' DASD
3400-2 X'30C08003' Tape
3400-3 X'34008003' Tape
3400-5 X'32008003' Tape
3400-6 X'32108003' Tape
3400-9 X'33008003' Tape
3480 X'78008080' Tape
3480X X'78048080' Tape
3490 X'78048081' Tape
3590-1 X'78048083' Tape
9345 X'30102004' DASD