HP 3000 Manuals

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


DBChange Plus User's Guide

BASE 

Specifies the database to be modified.

Syntax 

                    [NEW    ]
B[ASE] DatabaseName [OLD    ]
                    [PURGECF]

Parameters 

DatabaseName        is the name of the database to be modified.  It
                    cannot be qualified with the group and account names.

NEW                 creates a new change file ( DatabaseNameCF). If an
                    old change file exists, it is purged.  This parameter
                    is the default.

OLD                 uses the existing change file and adds to it.

PURGECF             purges the existing change file without creating a
                    new change file.

Description 

Use this command to specify the name of the database you want to modify.
The BASE command must be entered before any other DBChange commands,
except COPY, HELP, OUTPUT, REDO, and XEQ. The BASE command has the three
following change file options:

   *   NEW--used to create a new change file.  If an old change file
       exists it is purged.  In interactive mode, if NEW is specified and
       a change file already exists, a confirmation message is displayed
       asking if you want to purge the old change file and create a new
       one.  In batch mode, the old change file is purged automatically
       and a new one is created.

   *   OLD--used to enter additional changes to an existing change file.
       In interactive mode, if no change file exists, the DBCPLUS program
       asks if you want to create a new change file.  In batch mode, if
       no change file exists, an error occurs and all commands after that
       are invalid.

   *   PURGECF--used to purge the existing change file without creating a
       new change file.  In interactive mode, you are prompted for
       confirmation and asked if a new change file should be created
       after the existing change file is purged.

Example 

     >base orders purgecf 
      To purge change file, confirm purge [y/N] ? y 
      Change file ORDERSCF has been purged.

      No old change file.  Create new file [y/N] ? y 
      Creating new change file:

      Creating new change file: item information records

      Creating new change file: set information records

      Creating new change file: security table

      Creating new change file: control record

     >

In this example, the existing change file for the ORDERS database is
purged.  The DBCPLUS program asks you to confirm the purge and returns a
message confirming that the change file ORDERSCF has been purged.  The
DBCPLUS program then asks if you want a new change file created.
Messages are returned confirming the creation of the new change file.



MPE/iX 5.0 Documentation