Summary of DBChange Plus Commands
Table 10-1 summarizes the DBChange Plus commands and provides command
abbreviations.
Table 10-1. Summary of DBChange Plus Commands
------------------------------------------------------------------------------------------------------------------
| | | | |
| Command | Keyword | Abbreviation | Description |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| ADD | FIELD | A F | Adds a field (data item) to a manual |
| | | | master or detail data set. |
| | | | |
| | ITEM | A ITEM | Adds a data item to the database. |
| | | | |
| | PASSWORD | A PAS | Adds a password to the database. |
| | | | |
| | PATH | A PAT | Adds a path from a detail data set to |
| | | | a master data set and defines a search |
| | | | item. |
| | | | |
| | SET | A SET | Adds a master or detail data set to |
| | | | the database. |
| | | | |
| | SORT | A SO | Adds a sort item to a search item. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| BASE | | B | Specifies the database to be modified. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| CANCEL | COMMANDS | CA COM | Cancels all changes entered since the |
| | | | last BASE command. |
| | | | |
| | ERASE | CA E | Cancels the previous ERASE SET |
| | | | command. |
| | | | |
| | REPACK | CA RE | Cancels the previous REPACK SET |
| | | | command. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| CHANGE | ATTRIBUTES | CHA A | Changes the subitem count, type, and |
| | | | length of a data item. |
| | | | |
| | BLOCKFACTOR | CHA BLOCKF | Changes the blocking factor of a data |
| | | | set. |
| | | | |
| | BLOCKMAX | CHA BLOCKM | Changes the maximum block length of |
| | | | one or more data sets. |
| | | | |
| | CAPACITY | CHA CA | Changes the capacity of a data set. |
| | | | |
| | DEVICECLASS | CHA D | Moves a data set from one device |
| | | | (disk) to another. |
| | | | |
| | ITEM | CHA ITEM | Changes the subitem count, type, |
| | | | length, security, and/or order of a |
| | | | data item. |
| | | | |
| | ITEMSECURITY | CHA ITEMSE | Changes user class access to a data |
| | | | item. |
| | | | |
| | PASSWORD | CHA PAS | Changes a password. |
| | | | |
| | PRIMARYPATH | CHA PR | Changes the primary path for a detail |
| | | | data set that has at least two paths. |
| | | | |
| | SETSECURITY | CHA SETSE | Changes user class access to a data |
| | | | set. |
| | | | |
------------------------------------------------------------------------------------------------------------------
Table 10-1. Summary of DBChange Plus Commands (cont.)
------------------------------------------------------------------------------------------------------------------
| | | | |
| Command | Keyword | Abbreviation | Description |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| CHECK | BASE | CHE BA | Checks the root file, all data sets, |
| | | | and all paths in the database for |
| | | | structural integrity and reports any |
| | | | problems. |
| | | | |
| | PATH | CHE PAT | Checks paths for broken chains and |
| | | | incorrect pointer linkages and reports |
| | | | any problems. |
| | | | |
| | SET | CHE SET | Checks data sets for internal or |
| | | | pointer inconsistency and reports any |
| | | | problems. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| CONTROL | | CON | Specifies the setting of several |
| | | | options controlling the way DBChange |
| | | | operates. Automatically adjusts data |
| | | | set capacities. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| COPY | | COP | Copies a database. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| DELETE | FIELD | D F | Deletes a field (data item) from a |
| | | | data set entry. |
| | | | |
| | ITEM | D ITEM | Deletes a data item and its associated |
| | | | fields and paths from the database. |
| | | | |
| | ITEMSECURITY | D ITEMSE | Deletes all security specifications |
| | | | for a data item. |
| | | | |
| | PASSWORD | D PAS | Deletes a password and all associated |
| | | | user classes from the database. |
| | | | |
| | PATH | D PAT | Deletes a path from a detail data set. |
| | | | |
| | SET | D SET | Deletes a master or detail data set |
| | | | and its associated paths from the |
| | | | database. |
| | | | |
| | SETSECURITY | D SETS | Deletes all security specifications |
| | | | from a master or detail data set. |
| | | | |
| | SORT | D SO | Deletes a sort item from a search item |
| | | | in a detail data set. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| ERASE | SET | ER SET | Erases entries in manual master and |
| | | | detail data sets. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| EXIT | | E | Stops the execution of the DBCPLUS |
| | | | program. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| FIX | BASE | F BA | Examines all sets and paths in the |
| | | | database and attempts to correct known |
| | | | problems. |
| | | | |
| | PATH | F PAT | Examines paths for broken chains and |
| | | | incorrect pointer linkages and |
| | | | attempts to correct known problems. |
| | | | |
| | SET | F SET | Examines data sets for internal |
| | | | pointer or structural inconsistency |
| | | | and attempts to correct known |
| | | | problems. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| HELP | | H | Provides information about DBChange |
| | | | Plus commands. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| OUTPUT | | O | Redirects DBChange Plus output to a |
| | | | file or device. |
| | | | |
------------------------------------------------------------------------------------------------------------------
Table 10-1. Summary of DBChange Plus Commands (cont.)
------------------------------------------------------------------------------------------------------------------
| | | | |
| Command | Keyword | Abbreviation | Description |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| PERFORM | COMMANDS | PE COM | Invokes DBAPLUS to restructure, check, |
| | | | or maintain the database according to |
| | | | the commands stored in the current |
| | | | change file. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| PRINT | SCHEMA | PR SC | Prints the database schema, applying |
| | | | any changes stored in the current |
| | | | change file. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| RECOVER | ITEM | REC ITEM | Cancels a data item deletion. |
| | | | |
| | SET | REC SET | Cancels a data set deletion. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| REDO | | R | Allows a user to correct or modify the |
| | | | last DBChange Plus command entered. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| RENAME | BASE | REN BA | Renames the database. |
| | | | |
| | ITEM | REN ITEM | Renames a data item. |
| | | | |
| | SET | REN SET | Renames a data set. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| REORDER | FIELD | REO F | Reorders the field sequence in a |
| | | | manual master or detail data set. |
| | | | |
| | ITEM | REO ITEM | Reorders the sequence in which the |
| | | | data item resides in the database. |
| | | | |
| | SET | REO SET | Reorders the sequence in which the |
| | | | data set resides in the database. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| REPACK | SET | REP SET | Rebuilds a detail data set by removing |
| | | | gaps left by deleted entries and by |
| | | | adjusting pointers. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| REVIEW | BLOCKS | REV BLOCK | Displays information about the data |
| | | | sets in the database. Includes data |
| | | | set type, field count, blocking |
| | | | factor, and block length. |
| | | | |
| | FIELDS | REV F | Displays information about the fields |
| | | | in master and detail data sets. |
| | | | Includes search items, sort items, and |
| | | | linked data sets. |
| | | | |
| | ITEMS | REV ITEM | Displays information about the data |
| | | | items in the database. Includes |
| | | | attributes and security. |
| | | | |
| | PASSWORDS | REV PAS | Displays information about the user |
| | | | classes and associated passwords in |
| | | | the database. |
| | | | |
| | PATHS | REV PAT | Displays information about the paths |
| | | | in a data set. Includes key item, |
| | | | device class, and security. |
| | | | |
| | SETS | REV SET | Displays information about the data |
| | | | sets in the database. Includes data |
| | | | set type, capacity, blocking factor, |
| | | | block length, device class, and |
| | | | security. |
| | | | |
------------------------------------------------------------------------------------------------------------------
| | | | |
| XEQ | | X | Executes DBChange Plus commands from a |
| | | | file instead of the standard input |
| | | | device. |
| | | | |
------------------------------------------------------------------------------------------------------------------