Package psdi.configure

This package includes classes for applying configuration changes to the database.

See: Description

  • Interface Summary 
    Interface Description
    UpgConstants
    Constants used in the Upgrade.
  • Class Summary 
    Class Description
    ArraySet
    Just a HashSet that takes a list of initial values.
    ColumnElement
    Element to represent a column (maxattribute or maxattributecfg) in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    CommonShell
    CommonShell is the superclass for most of the configuration utility programs.
    ConfigDB
    Database Configuration utility.
    ConfigXMLFactory
    This is an extension of org.jdom2.DefaultJDOMFactory that handles TableElement, ColumnElement, IndexElement, SysDataElement, and extensions of SysDataElement.
    DB2TextSearch
    DB2 Text-Search related methods
    DropBackup
    Drop Backup Tables utility.
    ICDebugLogger  
    IndexElement
    Element to represent an index (maxsysindexes and maxsyskeys) in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    Maxinst
    Maxinst utility for building a new database.
    RestoreFromBackup
    Restore from Backup Tables utility.
    ScriptReader
    Script Reader utility.
    SysDataElement
    Element to represent a system data table (maxapps, sigoption, maxvars, etc.) in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementALNDOMAIN
    Element to represent the ALNDomain table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementMAXAPPS
    Element to represent the MAXAPPS table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementMAXMENU
    Element to represent the MAXMENU table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementMAXMESSAGES
    Element to represent the MAXMESSAGES table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementMAXPROP
    Element to represent the MAXPROP table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementMAXRELATIONSHIP
    Element to represent the MAXRELATIONSHIP table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementMAXVARTYPE
    Element to represent the MAXVARTYPE table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    SysDataElementSYNONYMDOMAIN
    Element to represent the SynonymDomain table in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    TableElement
    Element to represent a table (maxobject or maxobjectcfg) in the XML file that is output by BuildUpgMetadata and input to Upgrade.
    TextSearch
    This class provides methods to stop and start text search jobs.
    TextSearchScript Deprecated
    No longer used.
    Unlcvt
    Unload and Convert utility.
    UpgDefaultsTemplate
    Template for Upgrade for providing default values for a column.
    UpgradeUI
    Standalone Swing-based GUI for Integrity Checker, Validation Checker, and Upgrade.
    UpgTemplate
    Template for specialized classes called during the upgrade process from ConfigDB and RestoreFromBackup.
    Util
    Utility methods for programs in the psdi.configure package.
    Validate
    Integrity checker and upgrade validation utility.
    ValidateDBForMAS
    Class to run one script file.

Package psdi.configure Description

This package includes classes for applying configuration changes to the database. The classes for maintaining the configuration metadata via the Configure user interface are in the psdi.app.configure package. The classes for running the Upgrade are in the psdi.upgrade package.

Package Specification

Main Classes

The main classes included in this package are:
  • ConfigDB -- Program for configuring the database.
  • DropBackup -- Program for dropping backup tables.
  • Maxinst -- Program for building a new database. This uses the file output from Unlcvt.
  • RestoreFromBackup -- Program for copying data from backup tables to base tables.
  • Unlcvt -- Program for creating a dump script for replicating the database.
  • Validate -- Program for performing integrity and validation checks.

Utility Classes

The utility classes included in this package are:
  • CommonShell -- Superclass for most of the main classes listed above. Handles comon parameters, start and end process, etc.
  • ColumnElement -- Used by the Upgrade.
  • ConfigXMLFactory -- Used by the Upgrade.
  • IndexElement -- Used by the Upgrade.
  • ScriptReader -- Utility for retrieving sql statements from an input file.
  • SysDataElement -- Used by the Upgrade.
  • TableElement -- Used by the Upgrade.
  • UpgConstants -- Constants for various codes and statuses used in the Upgrade process.
  • UpgDefaultsTemplate -- Class that can be extended to provide special processing for the Upgrade, to provide default values when a column is being changed to not allow nulls or when a column is being added.
  • UpgTemplate -- Class that can be extended to provide special processing for the Upgrade. If no special processing is required, then nothing need be done here. This is extended only by IBM Corp. and is invoked at customer site when running the Upgrade.
  • Util -- Contains common methods for retrieving metadata and for constructing various sorts of Sql statements.

Data Structures

Click here for data structures.

Maxinst Flow

Click here for Maxinst flow.

Upgrade Flow

Click here for Upgrade flow.

Related Documentation

  • psdi.app.configure -- Package description.
  • MaxObjectCfg -- Describes the object metadata on MaxObjectCfg.
  • MaxObject -- Describes the object metadata on MaxObject.
  • MaxTableCfg -- Describes the table metadata on MaxTableCfg.
  • MaxTable -- Describes the table metadata on MaxTable.
  • MaxAttributeCfg -- Describes the attribute metadata on MaxAttributeCfg.
  • MaxAttribute -- Describes the attribute metadata on MaxAttribute.
  • MaxViewCfg -- Describes the view metadata on MaxViewCfg.
  • MaxView -- Describes the view metadata on MaxView.
  • MaxViewColumnCfg -- Describes the view column metadata on MaxViewColumnCfg.
  • MaxViewColumn -- Describes the view column metadata on MaxViewColumn.
  • MaxSysIndexes -- Describes the index metadata on MaxSysIndexes.
  • MaxSysKeys -- Describes the index metadata on MaxSysKeys.

Last updated: 05/06/02