FTAM/9000 Programmer's Guide

442 Chapter 11
Document Types and Constraint Sets
Constraint Sets
Constraint Sets
Every application needs a specific set of file structures, and any real
system is likely to support only a limited range of file types, with
restrictions on the ways you can modify files. Constraint sets express
these limitations by restricting the following items.
Range of allowable file structures
Ways in which basic access actions can modify the structure
Constraint sets restrict (reduce) the file model. These sets help you
efficiently model the type of file you are accessing.
The constraints sets supported by HP–UX FTAM are Unstructured and
Sequential Flat.
Each constraint set consists of the following items.
A statement of the intended field of application
A constraint set descriptor for reference in documentation
Constraint set identifier for reference in the FTAM protocol
Constraints on the node names
Set of valid file access actions
Qualified actions when writing to the file
Set of file access contexts in which the file can be read
State of the file when created
FADU located immediately after the file is opened
Definitions of “beginning of file” and “end of file”
Manner in which you read from or write to the whole file
General constraints on how you can modify the structure
Unstructured Single, un-named data unit
Sequential Flat Series of un-named data units