mcc_ndbm(1) — Commands
NAME
mcc_ndbm − TeMIP ndbm mirs managing tool
SYNOPSIS
mcc_ndbm -u ndbmfile outfile
mcc_ndbm -l|-xe|-xa infile ndbmfile
DESCRIPTION
The mcc_ndbm command is used to load/unload a TeMIP ndbm mir from/to a flat file.
RESTRICTIONS
Its normal use is as temip_backup and temip_check sub-command. Therefore direct use must be restricted to particular cases. Load operation (second syntax form) implies that TeMIP be stopped before to proceed.
ARGUMENTS
ndbmfile
ndbm type mir to be processed.
outfile
Destination file in case of unload operation
infile
Origin file in case of load operation
When called without any parameter, usage information is displayed.
FLAGS
-u
Operation performed is ndbm mir unloading into a flat file.
-l
Operation performed is ndbm mir loading from a flat file
-xe
Operation performed is ndbm entity mir loading from a flat file built on an Ultrix system
-xa
Operation performed is ndbm attribute mir loading from a flat file built on an Ultrix system
EXEMPLES
1.Unload an exporter mir into a temporary flat file: # mcc_ndbm -u /var/mcc/mcc_00.mcc_exp_inst020_pms /tmp/mcc_00.mcc_exp_inst020_pms.ndbm_save 2.Load an exporter mir from a temporary flat file: # mcc_ndbm -l /tmp/mcc_00.mcc_exp_inst020_pms.ndbm_save /var/mcc/mcc_00.mcc_exp_inst020_pms
NOTES
ndbm files handling by using unix commands such as cp, cat, tar... may be unsafe. To carry a ndbm mir, use mcc_ndbm command to first, unload the mir into a file that can be normally handled and then build the new mir by loading from this file. Anyway, since these mirs are belonging to groups of related file, it is better to handle the whole group by using temip_backup command.
RELATED INFORMATION
Commands: ndbm(3), temip_backup(1), temip_check(1)
Documentation: TeMIP Framework Configuration and Management Guide TeMIP Utilities