|
|
1.1 root 1: .th OPENBATCH AM 3/8/77
2: .sh NAME
3: openbatch - create and open the batch-update file
4: .sh SYNOPSIS
5: .nf
6: openbatch(rel_desc, index_desc, mode)
7: struct descriptor *rel_desc;
8: struct descriptor *index_desc;
9: int mode;
10: .fi
11: .sh DESCRIPTION
12: Openbatch is used to initially create and open the
13: batch update file.
14: The relation to be updated should be opened and rel_desc
15: should point to the open descriptor struct.
16: If the relation has a secondary index, then the
17: "indexes" relation should be opened and index_desc
18: should point to the "indexes" descriptor struct.
19: Mode is the type of update.
20: It should be either mdDEL, mdREPL, or mdAPP
21: (see ../symbol.h).
22: .sh DIAGNOSTICS
23: .nf
24: -1 -- the previous Batch file is still open,
25: i.e. a closebatch or rmbatch has not been done
26: 0 -- success
27: .fi
28: .sh "TRACE FLAGS"
29: 25.0
30: .sh "SEE ALSO"
31: addbatch, closebatch, rmbatch
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.