Check/Make RE Set Labels consistent


Sets are stored on Header Array files as part of RE real matrices, or individually as 1C arrays of strings. Often the same set, say COM, may be stored many times, perhaps once as a 1C header and also as part of several RE matrices. In this case, the possibility arises that not all these COM sets are indeed identical ! This might happen in several ways:

(a) due to user errors, elements of the various COM sets are ordered differently.

(b) The 1C header specifying the COM set has been edited, but this change is not mirrored in the COM set labels on the RE matrices.

TABLO programs will normally detect such inconsistencies and stop with an error message. You can disable the checking by including lines like:

check-on-read elements = no ;in your CMF file. However, if you do that you lose useful error-checking. A better plan is to ensure that all the set labels on your input HAR file are consistent.

HAR files produced by TABLO-generated programs will rarely or never contain inconsistent sets. The set inconsistency problem will usually arise only with HAR files that are manually edited with ViewHAR or another tool.

The Make RE Set Labels consistent command:

1: warns you if set labels associated with RE headers differ from those in the set library.

2: offers you the option of replacing inconsistent set labels with those in the set library.

Options for automatically making RE Set Labels consistent

When in advanced (editing) mode, ViewHAR can automatically ensure that RE set labels are consistent with the set library. It can check for consistency after sets or string (1C) headers are changed, before saving a file, and optionally when a file is opened. You can control this behaviour with the File..Options command. The choices are:

1) Disable automatic checking.

2) Automatically check consistency, but ask before changing RE set labels to fix inconsistencies.

3) Automatically check consistency, and fix inconsistencies without asking.

In addition, you can choose whether you will be told after inconsistencies are fixed, and whether the consistency check is made when a file is opened.

See also:

Sets Overview

How the Set Library is built

Rebuild Set Library

Save Set Library to file

Create Header from Set

Create New Set

Sets with unknown elements

Automatic set elements



URL of this topic: www.copsmodels.com/webhelp/viewhar/hc_makelabsconsistent.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage