Enscribe Programmer's Guide

description of, 151
interaction with record locks, 154
unstructured files, 155
File numbers, 42
File opening
access types, 57
partitioned files, 21, 51
permanent disk file, 51
File size limits, 48
entry-sequenced files, 49
key-sequenced files, 48
relative files, 49
unstructured files, 49
File types, 20
File Utility Program see FUP
File, defined, 19
FILE_OPEN_ procedure, behavior of, 181
FILE_RENAME_ procedure
error 27 for uncompleted operations, 41
FILE_SETPOSITION_ procedure
behavior of, 182
description of, 41
error 27 for uncompleted operations, 41
unstructured files, 66
Files
creating, 20
partitioned, 20, 21
permanent, 20
structured, 20
temporary, 20
unstructured, 20
Format 1 and 2 Files
Block Format (1), 170
description of, 19
FUP
ALTER command, 63, 144
BUILDKEYRECORDS command, 161
COMPRESS parameter, 75
DCOMPRESS parameter, 75
ICOMPRESS parameter, 75
LOAD command, 161
LOADALTFILE command, 161
PURGEDATA command, 58
SET command, 75, 144
setting or altering autorefresh option, 63, 144
G
Generic locking, 152
Generic positioning mode, 30
I
ICOMPRESS parameter, 75
Index blocks, 74
Index compaction, 76
Inserting records, 146
Insertion-ordered alternate keys, 27
K
Key
alternate, 21
definition, 20
Key specifier, 27, 33
Key-sequenced files
accessing, 69, 85
bit-map blocks, 69, 169
block splits, 69
comparison, 72, 73
comparison with other types, 24
current primary-key value, 87
disk extent size, 74
end-of-file pointer, 85
EOF pointer, 85
file creation examples, 76
index blocks, 74
primary-key offset, 75
record length, 68, 74
sequential processing, 86
structure, 68
tree structure, 69
types of access, 69
use of alternate keys, 34
KEYPOSITION procedure
behavior of, 181
entry-sequenced files, 131
error 27 for uncompleted operations, 41
use of, 27
L
Loading files, 23
LOCKFILE procedure
AWAITIO required with nowait I/O, 41
description of, 151
Locking modes, 150
LOCKREC procedure
AWAITIO required with nowait I/O, 41
description of, 151
Locks
after KEYPOSITION procedure, 86, 146
deadlock, 154
generic, 152
interaction between file and record, 154
maximum number of, 154, 156
maximum per file, 158
on whole files, 158
owner of, 156
partitioned files, 21
positioning for, 29
with sequential block-buffering, 154
with TMF, 22, 155
Locks:interaction
between file and record, 154
Logical record, defined, 19, 73
M
MAXEXTENTS attribute, 20
Multiple accessors of a file, 22
186 Index