OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-89
FTM_FILE_OPEN_REQ_
The following table lists common errors that can occur on the
FTM_FILE_OPEN_REQ_ procedure call.
Examples
Examples of the FTM_FILE_OPEN_REQ_ call in a program begin on line 1058 of the
C version and line 1019 of the TAL version of Example 1 in Appendix G, NonStop
FTAM Programming Examples.
These error
values... are returned if....
Error Code:
Error Subcode:
ZFTM-ERR-OUT-OF-SEQUENCE (-6001)
ZFTM-ERR-OOS-STATE-MACHINE (1)
The association is not
in the FTAM regime.
Error Code: ZFTM-ERR-ACCESS-INCNSTNT (-6003) The requested-
access parameter
values are inconsistent
with the negotiated
functional units or
inconsistent with the
contents-type of the
document being
created. The error
subcode shows which
file access capability
was inconsistent.
Error Code: ZFTM-ERR-PROC-MODE-INCNSTNT (-6005) The process-mode
parameter values are
inconsistent with the
requested-access
parameter values. The
error subcode shows
which processing mode
was inconsistent.
Error Code:
Error Subcode:
ZAPS-ERR-PARAM-RANGE (-138)
ZFTM-ERR-MAX-STRING-LEN (155)
The maximum-
string-length
parameter specified as
part of the contents-
type parameter was
too large. The
maximum value for
maximum-string-
length is 7148.
Error Code:
Error Subcode:
ZAPS-ERR-PARAM-RANGE (-138) ZFTM-
ERR-INITIAL-ATTR (119)
The file-status
value was not ZFTM-
VAL-FOPEN-OLD, and
no initial-attrib
parameter value was
specified.