Pag. 105 di 152
Structure of an Homogeneous File containing at least one external single allocation variable
Record
Number
Record
Size
(bytes)
Field name and size
Type
Value
Header size
(
1 byte
)
unsigned
integer
h
Data record size
(
1 byte
)
unsigned
integer
d
Reserved
(
1 byte
)
unsigned
integer
0
Reserved
(
1 byte
)
unsigned
integer
0
Reserved
(
1 byte
)
unsigned
integer
0
Reserved
(
1 byte
)
unsigned
integer
0
DIRECTORY flag
(
1 bit
)
Flag
0
OUTPUT flag
(
1 bit
)
Flag -
NON HOMOGENEOUS flag
(
1 bit
)
Flag
0
Header definition structure
(
4
bytes)
RAW flag
(
1 bit
)
Flag
0
Reserved
(
1
byte)
unsigned
integer
0
Descriptor list size
(
1
byte)
unsigned
integer
s
Descriptor Vi
1
Descriptor Vi
2
...
Descriptor Vi
p
- -
Descriptor Vem
1
-
-
Descriptor Vem
2
-
-
... -
-
Variable
definition
structure
(
s+2
bytes)
Descriptor list
(
s
bytes)
Descriptor Vem
q
-
-
Descriptor Ves
1
Descriptor Ves
2
….
Descriptor Ves
r
h
(
h
≤
238)
Possible unused space
-
-
0..
Ves
1
-
-
Vem
1
-
-
Vem
2
-
... ...
...
1
d
(
d
≤
238)
Vem
q
-
-
Ves
2
- -
Vem
1
-
-
Vem
2
-
-
... ...
...
2 d
Vem
q
-
-
... ...
... ...
...
Ves
r
-
-
Vem
1
-
-
Vem
2
-
-
... ...
...
r d
Vem
q
-
-
Vi = Internal allocation variable
Vem = External multiple allocation variable
Ves = External single allocation variable