Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ temip_cisam_check(1) — TeMIP Framework 3.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mcc_intro(1)

temip_mir_restore(1)

temip_mir_recover(1)

temip_backup(1)

temip_cisam_check(1)  —  Commands

NAME

  temip_cisam_check − TeMIP Framework Cisam files checker tool

SYNOPSIS

  temip_cisam_check [-static] Cisamfilename
 

DESCRIPTION

  The temip_cisam_check command is used to check-up a Cisam MIR file, a TeMIP datastore file, or any others C-isam files. 

During the call, the tool read the informative part of the Cisam file, and for each index (primary and any others) traverse the C-isam file. 

During this sequential read of the Cisam file, each record is also randomly read (keyed access). 

NOTES

The temip_cisam_check checker tool stops its processing, once a fatal error is met: At this point, the normal way to fix a corrupted TeMIP Cisam file is to follow the recommendation of the TeMIP Framework Configuration and Management Guide (cf temip_backup(1)). 

ARGUMENT

The following arguments are requested by temip_cisam_check :

-static optional argument static check : When this mode is
selected, the Cisam record boundary is also checked. By default, no check on the record boundary is made.

Cisamfilename Cisam fullfilename without its extension. 

ARGUMENT

The static mode is to be used while no write-update-delete activity is on-going on the checked Cisam file. 

RETURN VALUES

Upon successful completion, the temip_cisam_check checker tool exits with a null status. Otherwise, the Cisam error number is returned (positive value). 

EXAMPLES

The following example shows a successfull output of a call to temip_cisam_check in static mode. 

temip_cisam_check -static /var/mcc/iDNS_i

        Cisam filename                  :/var/mcc/iDNS_i
        Cisam number of record          :15
        Cisam Max rec length (byte)     :30720
        Cisam number of indexes         :2
        temip_cisam_check of [/var/mcc/iDNS_i] with index 1, Successfull
        temip_cisam_check of [/var/mcc/iDNS_i] with index 2, Successfull
 
 temip_cisam_check of [/var/mcc/iDNS_i] Successfull
 
> echo $status 0
 

The following example shows a failed check-up output of a call to temip_cisam_check in normal mode. 

temip_cisam_check /var/kits/temip/bad_ds/aBAD9

 
        Cisam filename                  :/var/kits/temip/bad_ds/aBAD9
        Cisam number of record          :52053
        Cisam Max rec length (byte)     :30720
        Cisam number of indexes         :1
 
        [Error Calling isread (sequential-access error)] error # 105 Cisamtext=<Corrupted isam file>
 
        temip_cisam_check of [/var/kits/temip/bad_ds/aBAD9] with index 1, Has Failed
 
> echo $status 105
 
 

SEE ALSO

mcc_intro(1), temip_mir_restore(1), temip_mir_recover(1), temip_backup(1)

TeMIP Framework Configuration and Management Guide

TeMIP Utilities

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026