*****************************************
              *                                       *
              *  ATTRIBUTE SET BIB-1 (Z39.50-1995):   *
              *             SEMANTICS                 *
              *                                       *
              *****************************************

                           September 1995

2.5  TRUNCATION ATTRIBUTES  (TYPE = 5)

The Truncation attribute specifies whether one or more characters may be
omitted in matching the search term in the target system at the position
specified by the Truncation attribute.  For example, a word in a search
term may be 1) right truncated, in which case the word is treated both
as a complete word and as the beginning of a longer word; 2) left
truncated in which case the word is treated both as a complete word and
the ending of a longer word; 3) left and right truncated, in which case
the word is treated as a complete word and the beginning or ending of a
longer word; 4) and embedded truncation, in which case the word is
treated as a complete word and as a longer word with additional
characters at the point where the truncation symbol, "#", appears in the
search term.

For Right truncation, left truncation, and Left and right truncation, the
characters affected by the truncation are determined by the value of the
structure attribute.


The Truncation attributes are the following:

                                          Structure
        Truncation                Value   Attribute     Definition
        ----------------------    -----   ---------     ----------------------
        Right truncation            1     Word or       Last word of term is
                                          Phrase        right truncated.

                                          String        Entire term is right
                                                        truncated.

                                          Word list     Each word is right
                                                        truncated.

        Left truncation             2     Word or       First word of term is
                                          Phrase        left truncated.

                                          String        Entire term is left
                                                        truncated.

                                          Word list     Each word is left
                                                        truncated.

         Left and right truncation   3    Word or       First word of term is
                                          Phrase        left truncated and
                                                        last word of term is
                                                        right truncated.

                                          String        Entire term is left
                                                        and right truncated.

                                          Word list     Each word is left
                                                        and right truncated.

        Do not truncate           100         No truncation is to be applied.

        Process # in search term  101         The search term contains the
                                              symbol "#" (ASCII hex "23")
                                              to show where truncation
                                              will take place (e.g.,
                                              "National H# Institute",
                                              or "d#on").

        RegExpr-1                 102         The term is in the form of a
                                              regular expression as prescribed
                                              by IEEE 1003.2 Volume 1,
                                              Section 2.8 "Regular Expression
                                              Notation".

        RegExpr-2                 103         The term is in the form of a
                                              regular expression whose format
                                              is target-defined.