HP 3000 Manuals

CHANGE DEVICECLASS [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation


DBChange Plus User's Guide

CHANGE DEVICECLASS 

Moves a data set from one device (disk) to another.

Syntax 

     CHA[NGE] D[EVICECLASS] DataSetName NewDeviceClass 

Parameters 

DataSetName         is the name of the data set whose device class is to
                    be changed.

NewDeviceClass      is the class of the device where the data set will
                    reside.

Description 

Use this command to move a data set to another device.  A device class
can span multiple disk drives.

Example 

     >change deviceclass sales disk2 

In this example, the SALES data set is moved from the default class DISK
to a disk drive identified by the device class of DISK2.

Before the change, the SALES data set entry in the schema looks like
this:

     NAME:     SALES     ,D(11/14,18);                 <---- device class to be changed 
     ENTRY:    ACCOUNT    ( CUSTOMER ( PURCH-DATE )),
               STOCK#     (!PRODUCT                ),
               QUANTITY                             ,
               PRICE                                ,
               TAX                                  ,
               TOTAL                                ,
               PURCH-DATE ( DATE-MASTER            ),
               DELIV-DATE ( DATE-MASTER            );
     CAPACITY: 504(14);

After the change, the SALES data set entry in the schema looks like this:

     NAME:     SALES     ,D(11/14,18),DISC2;           <---- device class changed 
     ENTRY:    ACCOUNT    ( CUSTOMER ( PURCH-DATE )),
               STOCK#     (!PRODUCT                ),
               QUANTITY                             ,
               PRICE                                ,
               TAX                                  ,
               TOTAL                                ,
               PURCH-DATE ( DATE-MASTER            ),
               DELIV-DATE ( DATE-MASTER            );
     CAPACITY: 504(14);



MPE/iX 5.0 Documentation