OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-125
FTM_READ_REQ_
The following table lists common errors that can occur on the FTM_READ_REQ_
procedure call.
Examples
Examples of the FTM_READ_REQ_ call in a program begin on line 1128 of the C
version and line 1215 of the TAL version of Example 2 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 file-open regime.
Error Code: ZFTM-ERR-FADU-ID-INVALID (-6006) The FADU ID is
inconsistent with the
document type you
requested when opening
the file.
Error Code:
Error Subcode:
ZFTM-ERR- PROC-MODE-NOT-AVAIL (-6008)
ZFTM-ERR-PROC-MODE-READ (-1)
The read action was not
specified in the
process-mode
parameter of the
previous
FTM_OPEN_REQ_ call.
Error Code: ZFTM-ERR-ACCESS-CNTXT-INVALID (-6009) The access-context
value supplied is not
valid for the document
type opened.
Error Code:
Error Subcode:
ZFTM-ERR- SERV-NOT-NEGOTIATED (-6012)
ZFTM-ERR-SERVICE-MGMT (-1)
The file-management
service class was
negotiated, and this
service class does not
permit reading files.