HP 3000 Manuals

RENAME SET [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation


DBChange Plus User's Guide

RENAME SET 

Renames a data set.

Syntax 

     REN[AME] SET OldSetName NewSetName 

Parameters 

OldSetName          is the name of the data set to be renamed.

NewSetName          is the new name of the data set.  Each data set
                    within a database must have a unique name.  This name
                    must be from 1 to 16 characters, the first of which
                    must be alphabetic.  Characters after the first must
                    be chosen from the following set:  letters A - Z,
                    digits 0 - 9, and + * / ?  '  # % & @ inclusive.
                    Data set names are upshifted.

Description 

Use this command to rename a data set.

Example 

     >rename set sales local-sales 

In this example.  the data set SALES is renamed to LOCAL-SALES.

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

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

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

     NAME:      LOCAL-SALES   ,D(11/14,18);                   <---- data set renamed 
     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