Pag. 106 di 152
10.1.6 Non Homogeneous files
The non-homogeneous file format is as follows
NON HOMOGENEOUS file structure
Record
Number
Record Type
(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
1
0 4
Record 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 1
Descriptor 2
...
Variable definition structure
(
s+2
bytes)
Descriptor list
(
s
bytes)
Descriptor
n
- -
1
d
(d
≤
238)
Possible unused space
-
-
Reserved
(
1
byte)
Unsigned
integer
0
Descriptor list size
(
1
byte)
Unsigned
integer
s
Descriptor 1
Descriptor 2
...
Variable definition structure
(
s+2
bytes)
Descriptor list
(
s
bytes)
Descriptor
n
- -
2 d
Possible unused space
-
-
: :
:
:
:
Reserved
(
1
byte)
Unsigned
integer
0
Descriptor list size
(
1
byte)
Unsigned
integer
s
Descriptor 1
Descriptor 2
...
Variable definition structure
(
s+2
bytes)
Descriptor list
(
s
bytes)
Descriptor
p
- -
N
(N <= 9999)
d
Possible unused space
-
-
The file header contains only the
“record definition structure”
The data records (1...N) each contain a
“variable definition structure”