OSI/FTAM Programming Reference Manual

DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual528611-001
A-40
Named Values
ZFTM-VAL-FOPEN-xxx
identifies the different ways files can be opened.
ZFTM-VAL-FOPEN-NEW indicates that a new file is created, but only if the file does
not already exist. If the file does already exist, the call to open the file fails.
ZFTM-VAL-FOPEN-UNKNOWN indicates that if the file exists, it is selected. If the file
does not exist, it is created using the file attributes specified in the initial-attrib
parameter.
ZFTM-VAL-FOPEN-REPLACE indicates that the existing file is to be deleted and a
new file is to be created having the same file attributes as the old file. If the file does
not exist, the new file is created and the call succeeds.
CREATE-CNF 911 Create confirm FTM_CREATE_CNF_
DELETE-CNF 913 Delete confirm FTM_DELETE_CNF_
READATTR-CNF 915 Read attribute confirm FTM_READ_ATTRIB_CNF_
CHANGEATTR-CNF 917 Change attribute
confirm
FTM_CHANGE_ATTRIB_CNF_
OPEN-CNF 919 Open confirm FTM_OPEN_CNF_
CLOSE-CNF 921 Close confirm FTM_CLOSE_CNF_
LOCATE-CNF 923 Locate confirm FTM_LOCATE_CNF_
ERASE-CNF 925 Erase confirm FTM_ERASE_CNF_
DATA-IND 932 Data indication FTM_DATA_IND_
DATAEND-IND 933 Data end indication FTM_DATA_END_IND_
TRANSEND-CNF 934 Transfer end confirm FTM_TRANSFER_END_CNF_
CANCEL-CNF 936 Cancel confirm FTM_CANCEL_CNF_
CANCEL-IND 937 Cancel indication FTM_CANCEL_IND_
FILECLOSE-CNF 938 File close confirm FTM_FILE_CLOSE_CNF_
FILEOPEN-CNF 940 File open confirm FTM_FILE_OPEN_CNF_
BEGINGROUP-CNF 946 Beginning group
confirm
Not applicable
ENDGROUP-CNF 947 End group confirm Not applicable
CONSTANT ZFTM-VAL-FOPEN-NEW VALUE 0 TYPE BINARY 32.
CONSTANT ZFTM-VAL-FOPEN-UNKNOWN VALUE 1 TYPE BINARY 32.
CONSTANT ZFTM-VAL-FOPEN-REPLACE VALUE 2 TYPE BINARY 32.
CONSTANT ZFTM-VAL-FOPEN-RECREATE VALUE 3 TYPE BINARY 32.
CONSTANT ZFTM-VAL-FOPEN-OLD VALUE 4 TYPE BINARY 32.
Table A-1. Event Code Values and Their Primitives (page 2 of 2)
Constant
(ZFTM-VAL-EVT-) Value Primitive Received Procedure to Call