
3 Eloquence Migration Tools
NOTE: Any existing maintenance password in the HP 260 database will not be taken over and must be re-installed in the new database with the dbmods program.
Syntax
hp260exp [options] root file [set ...]
Options:
Examples:
To export all data sets from the SAD database, enter the following command:
hp260exp -v -o./export SAD
The output from this command is written to the subdirectory export. This is specified by the -o./export option. The period (.) before /export represents the current directory.
In addition to export files, this command generates a schema text file and root file for the SAD database.
Display:
B1368A HP260EXP (C) COPYRIGHT HEWLETT-PACKARD GmbH 1991 (A.03.00)
Processing data base SAD
Root file path:
-o path = set output path
DATA SET CAPACITY #ENTRIES
---------------- -- - -------- --------
DATE 01 A 51 1
ORDER 02 A 101 100
PRODUCT 03 M 11 8
LOCATION 04 M 17 10
OPTION 05 D 300 16
CUSTOMER 06 D 100 11
| | | | |
Data set name | | | Number of entries
| | |
| | |
| | Possible number of entries
| |
| |
| Data set type
| A = automatic
| M = manual master
| D = detail
|
Data set number
To verify that the export files, schema text file, and root file have been created, use the HP-UX ll (long list) command. For example, the following command displays the export files:
ls -l *exp -rw-rw-rw- 1 guest migctr 105 Aug 14 21:12 SAD.03.exp -rw-rw-rw- 1 guest migctr 9 Aug 14 21:12 SAD.04.exp -rw-rw-rw- 1 guest migctr 324 Aug 14 21:12 SAD.05.exp -rw-rw-rw- 1 guest migctr 698 Aug 14 21:12 SAD.06.exp