User Fixed-Length Record Contents

Each VDR and DSHR record in a CCOGIF file may be immediately followed by zero or more UFLRs. When given a sequence of UFLR metadata features, the CCOGIF writer will read the ccogif_user_def_data attribute of each feature and concatenate their values into one large character string. When it comes time to write out the metadata records, the writer creates as many UFLRs as are required to hold the accumulated data. Each UFLR can contain up to 2044 bytes of user data.

The placement of the UFLRs in the output CCOGIF file depends on where they occur in the sequence of metadata features. If the UFLR appears before the DSHR feature, or the first entity feature, if no DSHR feature is explicitly given, they will be written out immediately following the volume’s VDR. In this case, the VDR’s ccogif_num_ufl_recs are set to specify how many UFLRs follow.

If the UFLR metadata features appear after the DSHR metadata feature, then the UFLRs will be written immediately following the DSHR record and the DSHR’s ccogif_num_ufl_recs will be set to specify how many UFLRs follow.