FTAM/9000 Reference Manual

78 Chapter 3
Diagnostic error_ids
inout_dcb->diagnostic->error_id
5014 MESSAGE F_DATA_ELEMENT_TYPE
CAUSE The prim_type field in struct Ft_data_element is not
set correctly.
ACTION Set prim_type to a valid value. For FTAM-1
document types, prim_type must be IA5_STRING
or GENERAL_STRING. For FTAM-2 document
types, prim_type must be GRAPHIC_STRING. For
FTAM-3 document types, prim_type must be
OCTET_STRING. For INTAP-1 document types,
prim_type must be RECORD_END or
RECORD_CONT.
5017 MESSAGE F_OPR_INCONSISTENT
CAUSE The operation is inconsistent. Causes may include
the following cases.
You called ft_read() though the processing_mode
on ft_open() did not have the FT_PM_READ bit
set to ON (1).
You called ft_write() though the
processing_mode on ft_open() did not have
FT_PM_INSERT, FT_PM_REPLACE, or
FT_PM_EXTEND bit set ON (1), depending on
the document type.
ACTION Correctly set the FT_PM_XXX bits on the
processing_mode before calling ft_open().