OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-154
FTM_WRITE_REQ_
Examples
Examples of the FTM_WRITE_REQ_ call in a program begin on line 1144 of the C
version and line 1106 of the TAL version of Example 1, and on line 1123 of the C
version and line 1210 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: ZFTM-ERR- FADU-OP-INCNSTNT (-6007) The value for fadu-
operation is
inconsistent with the
process-mode
parameter on the
previous
FTM_OPEN_REQ_
call. This error can also
be returned if the write
functional unit required
for the write service
was not negotiated
when the association
was established.
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 writing files.