OSI/FTAM Programming Reference Manual

NonStop FTAM Initiator Error Messages
HP NonStop OSI/FTAM Programming Reference Manual528611-001
B-27
FTAM Initiator Error Codes
Subcode -21 indicates that the ZTYPE value you specified for one of the data elements
is improper, given your specification of the first data element. For example, in the case
of writing FTAM-2 files to multiple nodes, the data should consist of one or more data
elements of type ZFTM-VAL-DE-TEXT, preceded by a data element of type
ZFTM-VAL-DE-FADU.
Subcode -22 indicates that the ZTYPE value is invalid for the specified document type.
For example, you might have specified a value of ZFTM-VAL-DE-TEXT for an FTAM-3
file.
Subcode -23 indicates that the structure used to identify the node descriptor in an
FTAM-2 operation (ZFTM-DDL-DE-FADU) contained invalid values. For example, you
might not have specified the proper ZTYPE value of ZFTM-VAL-DE-NODE-DESC.
Subcode -24 indicates that the data you specified has been encoded into a PDU that is
greater than the maximum value of 16 KB.
Subcode -25 can indicate that the string-significance value returned in the
contents type attribute on the FTM_OPEN_CNF_ or FTM_FILE_OPEN_CNF_ call is
fixed, but the length of the data element you are trying to transfer does not match the
value of the maximum-string-length parameter. This subcode can also be
returned when the string-significance value is variable or not-significant, and
the length of one of the data elements exceeds the value of the maximum-string-
length parameter.
Effect. The operation fails.
Recovery. Try the operation again, ensuring that your formatting of the data-value
parameter is consistent with the negotiated document type, string significance,
universal class, and maximum string length, and that the size of the encoded PDU is
16 KB or less. Note that you can supply up to 24 KB for the data-value parameter
(which includes both header information and data), but after the data is encoded the
size of the encoded PDU must be no more than 16 KB. For more information on the
data-value parameter, see Section 4, FTM Procedures and the OSI/FTAM
Programming Guide.
Table B-12. Invalid-Data Subcodes
Constant
(ZFTM-ERR-INVLD-DATA-) Value Meaning
ZTYPE -21 Data-element-header ZTYPE invalid
DOC-TYPE -22 ZTYPE field inconsistent with document type
FADU -23 ZFTM-DDL-DE-FADU values invalid
SIZE -24 Encoded PDU greater than 16 KB
MSL -25 Maximum string length exceeded or mismatched