top - download
⟦bd98c6326⟧ Wang Wps File
Length: 48928 (0xbf20)
Types: Wang Wps File
Notes: CPS/SDS/031
Names: »1580A «
Derivation
└─⟦023bb28d7⟧ Bits:30005809 8" Wang WCS floppy, CR 0114A
└─ ⟦this⟧ »1580A «
WangText
…0d……00……00……00……00…3…02……00……00…3
3…05…3…06…2…08…2…0b…2…0e…2…02…2
2…07…1…0a…1…0b…1…0d…1…0e…1…00…1
1…06…0…0a…0…0b…0…0f…0…02…0
0…05…0…06…/…08…/…0b…/…0d…/…00…/…02…/ .…0a….…0b….…0f….…00….…02….…07…-…0a…-…0e…-…00…-…02…-…05…-…06…,…08…,…0a…,…0b…,…0d…,…0f…,…00…,…86…1 …02…
…02… …02…
…02…CPS/SDS/031
…02…RIM/820505…02……02…
STATISTICS
DETAILED DESIGN SPECIFICATION…02……02…CAMPS
G̲E̲T̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
FIELD ̲PROCEDURE = FIELD ̲PROCEDURE ̲ADDR +
FIELD ̲PROCEDURE ̲OFFSET ̲STP ̲FILE
field procedure offset is offset within
field descr type in STP FILE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲1̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲ ̲S̲U̲B̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
SUBFIELD ̲COUNT = 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲2̲
P̲E̲R̲F̲O̲R̲M̲ ̲A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲
A̲C̲C̲O̲R̲D̲I̲N̲G̲ ̲T̲O̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
PERFORM ̲ACCUMULATE(TRANS ̲SUBFIELD ̲ADDR,
ACCUM ̲SUBFIELD ̲ADDR,
FIELD ̲PROCEDURE)
( )
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲3̲
S̲T̲O̲R̲E̲ ̲S̲U̲B̲G̲R̲O̲U̲P̲ ̲I̲N̲
C̲O̲R̲R̲ ̲D̲A̲Y̲ ̲S̲E̲C̲T̲I̲O̲N̲
STP ̲FILE ̲ADD.FIRST ̲BYTE contains byte address
in STP ̲FILE where modify shall continue
STP ̲FILE ̲ADD.BYTE ̲COUNT = SIZE(SUBGROUP) x 2
INIT STP BUFFER BLE TO
POINT OUT ACCUM SUBGROUP
CASE MODIFYBYTES(STP ̲FILE ̲FD, STP ̲FILE ̲ADD,
STP ̲BUFFER ̲BLE)
(STP ̲FILE ̲ADD, CC): ERROR ̲OK
ERROR? - ANALYSE ̲ERROR (CC, 0)
OK?
END CASE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲4̲
P̲E̲R̲F̲O̲R̲M̲ ̲W̲S̲G̲
CALCULATE ̲NO ̲OF ̲SUBGROUPS( ) (NO ̲OF ̲SUBGROUPS)
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲W̲S̲G̲
SUBGROUP LOOP
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲D̲A̲Y̲ ̲L̲O̲O̲P̲
DAY LOOP
GET ̲SUBGROUP ̲FROM ̲DISK(FIRST ̲BYTE,
BYTE ̲COUNT,
SIZE ̲DAY)
(FIRST ̲BYTE)
A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲ ̲D̲A̲Y̲
DAY ̲COUNT = DAY ̲COUNT + 1
DAY ̲COUNT GT MAX ̲NO ̲OF ̲DAYS? EXIT
END DAY LOOP
S̲T̲O̲R̲E̲ ̲S̲U̲B̲G̲R̲O̲U̲P̲ ̲I̲N̲
C̲O̲R̲R̲ ̲W̲E̲E̲K̲ ̲S̲E̲C̲T̲I̲O̲N̲
SUBGROUP ̲COUNT = SUBGROUP ̲COUNT + 1
SUBGROUP ̲COUNT GT NO ̲OF ̲SUBGROUPS? EXIT
END SUBGROUP LOOP
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲5̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲W̲S̲G̲
SUBGROUP ̲COUNT = 1
calculate first day subgroup byte address
STP ̲FILE ̲ADD.FIRST ̲BYTE = ADDRESS(MEM ̲DESCR ̲AREA.
DAY ̲INFO.
DATA ̲ADDR)
calculate subgroup size of first subgroup
STP ̲FILE ̲ADD.BYTE ̲COUNT = MEM ̲DESCR ̲AREA.
DESCR ̲ADDR(SUBGROUP ̲COUNT).
POINTER.NO ̲OF ̲RECORDS *
MEM ̲DESCR ̲AREA.
DESCR ̲ADDR(SUBGROUP ̲COUNT).
POINTER.NO ̲OF ̲FIELDS *2 *2
SIZE ̲DAY = MEM ̲DESCR ̲AREA.
HOUR ̲INFO.
DATA ̲SIZE
FIRST ̲BYTE = STP ̲FILE ̲ADD.FIRST ̲BYTE
BYTE ̲COUNT = STP ̲FILE ̲ADD.BYTE ̲COUNT
initialize ACCUM ̲SUBGROUP to 0
ACCUM ̲SUBGROUP(1..MAX ̲ACCUM ̲SIZE) = 0
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲6̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲D̲A̲Y̲ ̲L̲O̲O̲P̲
DAY ̲COUNT = 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲7̲
A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲ ̲D̲A̲Y̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲R̲E̲C̲O̲R̲D̲ ̲L̲O̲O̲P̲
NO OF RECORD LOOP
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
NO OF FIELD LOOP
G̲E̲T̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
INITIALIZE SUBFIELD LOOP
NO OF SUBFIELD LOOP
P̲E̲R̲F̲O̲R̲M̲ ̲A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲
A̲C̲C̲O̲R̲D̲I̲N̲G̲ ̲T̲O̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
SUBFIELD ̲COUNT = SUBFIELD ̲COUNT + 1
SUBFIELD ̲COUNT GE SHARED ̲DATA ̲AREA.
DESCR ̲ARRAY(GROUP ̲COUNT).
FIELD ̲DESCR ̲ARRAY(FIELD
̲
COUNT).
NO ̲OF ̲SUBFIELDS? EXIT
END NO OF SUBFIELD LOOP
FIELD ̲COUNT = FIELD ̲COUNT + 1
FIELD ̲PROCEDURE ̲ADDR = FIELD ̲PROCEDURE ̲ADDR
+
FIELD ̲DESCR ̲LENGTH
FIELD ̲COUNT GE SHARED ̲DATA ̲AREA.
DESCR
̲ARRAY(GROUP
̲COUNT).
NO ̲OF ̲FIELDS? EXIT
END NO OF FIELD LOOP
RECORD ̲COUNT = RECORD ̲COUNT + 1
RECORD ̲COUNT GE SHARED ̲DATA ̲AREA.
DESCR ̲ARRAY(GROUP ̲NO).
NO ̲OF ̲RECORDS? EXIT
END NO OF RECORD LOOP
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲8̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲R̲E̲C̲O̲R̲D̲ ̲L̲O̲O̲P̲
RECORD ̲COUNT = 1
TRANS ̲SUBFIELD ̲ADDR = TRANS ̲SUBGROUP
points to first location in TRANS ̲SUBGROUP
ACCUM ̲SUBFIELD ̲ADDR = ACCUM ̲SUBGROUP
points to first location in ACCUM ̲SUBGROUP
get address on first field procedure
FIELD ̲PROCEDURE ̲ADDR = MEM ̲DESCR ̲AREA.
FIELD ̲DESCR +
NO ̲OF ̲GROUP ̲OFFSET +
2 x (GROUP ̲NO + 1) +
DESCR ̲OFFSET
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲2̲9̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
FIELD ̲COUNT = 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲0̲
G̲E̲T̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
FIELD ̲PROCEDURE = FIELD ̲PROCEDURE ̲ADDR +
FIELD ̲PROCEDURE ̲OFFSET ̲STP ̲FILE
field procedure offset is offset within
field descr type in STP FILE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲1̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲S̲U̲B̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
SUBFIELD ̲COUNT = 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲2̲
P̲E̲R̲F̲O̲R̲M̲ ̲A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲
A̲C̲C̲O̲R̲D̲I̲N̲G̲ ̲T̲O̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
PERFORM ̲ACCUMULATE(TRANS ̲SUBFIELD ̲ADDR,
ACCUM ̲SUBFIELD ̲ADDR,
FIELD ̲PROCEDURE)
( )
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲3̲
S̲T̲O̲R̲E̲ ̲S̲U̲B̲G̲R̲O̲U̲P̲ ̲I̲N̲
C̲O̲R̲R̲ ̲W̲E̲E̲K̲ ̲S̲E̲C̲T̲I̲O̲N̲
STP ̲FILE ̲ADD.FIRST ̲BYTE contains byte address
in STP ̲FILE where modify shall continue
STP ̲FILE ̲ADD.BYTE ̲COUNT = SIZE(SUBGROUP) x 2
INIT STP BUFFER BLE TO
POINT OUT ACCUM SUBGROUP
CASE MODIFYBYTES(STP ̲FILE ̲FD, STP ̲FILE ̲ADD,
STP ̲BUFFER ̲BLE)
(STP ̲FILE ̲ADD): ERROR ̲OK
ERROR? - ANALYZE ̲ERROR (CC,0)
OK?
END CASE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲4̲
P̲E̲R̲F̲O̲R̲M̲ ̲M̲S̲G̲
CALCULATE ̲NO ̲OF ̲SUBGROUPS( ) (NO ̲OF ̲SUBGROUPS)
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲M̲S̲G̲
SUBGROUP LOOP
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲W̲E̲E̲K̲ ̲L̲O̲O̲P̲
WEEK LOOP
GET ̲SUBGROUP ̲FROM ̲DISK(FIRST ̲BYTE,
BYTE ̲COUNT,
SIZE ̲WEEK)
(FIRST ̲BYTE)
A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲ ̲W̲E̲E̲K̲
WEEK ̲COUNT = WEEK ̲COUNT + 1
WEEK ̲COUNT GT MAX ̲NO ̲OF ̲WEEKS? EXIT
END WEEK LOOP
S̲T̲O̲R̲E̲ ̲S̲U̲B̲G̲R̲O̲U̲P̲ ̲I̲N̲
C̲O̲R̲R̲ ̲M̲O̲N̲T̲H̲ ̲S̲E̲C̲T̲I̲O̲N̲
SUBGROUP ̲COUNT = SUBGROUP ̲COUNT + 1
SUBGROUP ̲COUNT = GT NO ̲OF ̲SUBGROUPS? EXIT
END SUBGROUP LOOP
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲5̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲M̲S̲G̲
SUBGROUP ̲COUNT = 1
calculate first week subgroup byte address
STP ̲FILE ̲ADD.FIRST ̲BYTE = ADDRESS(MEM ̲DESCR ̲AREA.
WEEK ̲INFO.
DATA ̲ADDR)
calculate subgroup size of first subgroup
STP ̲FILE ̲ADD.BYTE ̲COUNT = MEM ̲DESCR ̲AREA.
DESCR ̲ADDR(SUBGROUP ̲COUNT).
POINTER.NO ̲OF ̲RECORDS *
MEM ̲DESCR ̲AREA.
DESCR ̲ADDR(SUBGROUP ̲COUNT).
POINTER.NO ̲OF ̲FIELDS *2 *2
SIZE ̲WEEK = MEM ̲DESCR ̲AREA.
WEEK ̲INFO.
DATA ̲SIZE
FIRST ̲BYTE = STP ̲FILE ̲ADD.FIRST ̲BYTE
BYTE ̲COUNT = STP ̲FILE ̲ADD.BYTE ̲COUNT
initialize ACCUM ̲SUBGROUP to 0
ACCUM ̲SUBGROUP(1..MAX ̲ACCUM ̲SIZE) = 0
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲6̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲W̲E̲E̲K̲ ̲L̲O̲O̲P̲
WEEK ̲COUNT = 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲7̲
A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲ ̲W̲E̲E̲K̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲R̲E̲C̲O̲R̲D̲ ̲L̲O̲O̲P̲
NO OF RECORD LOOP
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
NO OF FIELD LOOP
G̲E̲T̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲S̲U̲B̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
NO OF SUBFIELD LOOP
P̲E̲R̲F̲O̲R̲M̲ ̲A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲
A̲C̲C̲O̲R̲D̲I̲N̲G̲ ̲T̲O̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
SUBFIELD ̲COUNT = SUBFIELD ̲COUNT + 1
SUBFIELD ̲COUNT GE SHARED ̲DATA ̲AREA.
DESCR ̲ARRAY(GROUP ̲COUNT).
FIELD ̲DESCR ̲ARRAY(FIELD
̲
COUNT).
NO ̲OF ̲SUBFIELDS? EXIT
END NO OF SUBFIELD LOOP
FIELD ̲COUNT = FIELD ̲COUNT + 1
FIELD ̲PROCEDURE ̲ADDR = FIELD ̲PROCEDURE ̲ADDR
+
FIELD ̲DESCR ̲LENGTH
FIELD ̲COUNT GE SHARED ̲DATA ̲AREA.
DESCR ̲ARRAY(GROUP ̲COUNT).
NO ̲OF ̲FIELDS? EXIT
END NO OF FIELD LOOP
RECORD ̲COUNT = RECORD ̲COUNT + 1
RECORD ̲COUNT GE SHARED ̲DATA ̲AREA.
DESCR ̲ARRAY(GROUP ̲COUNT).
NO ̲OF ̲RECORDS? EXIT
END NO OF RECORD LOOP
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲8̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲R̲E̲C̲O̲R̲D̲ ̲L̲O̲O̲P̲
RECORD ̲COUNT = 1
TRANS ̲SUBFIELD ̲ADDR = TRANS ̲SUBGROUP
points to first location in TRANS ̲SUBGROUP
ACCUM ̲SUBFIELD ̲ADDR = ACCUM ̲SUBGROUP
points to first location in ACCUM ̲SUBGROUP
get address on first field procedure
FIELD ̲PROCEDURE ̲ADDR = MEM ̲DESCR ̲AREA.
FIELD ̲DESCR +
NO ̲OF ̲GROUP ̲OFFSET +
2 * (GROUP ̲NO + 1) +
DESCR ̲OFFSET
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲3̲9̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
FIELD ̲COUNT = 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲0̲
G̲E̲T̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
FIELD ̲PROCEDURE = FIELD ̲PROCEDURE ̲ADDR +
FIELD ̲PROCEDURE ̲OFFSET ̲STP ̲FILE
field procedure offset is offset within
field descr type in STP FILE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲1̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲S̲U̲B̲F̲I̲E̲L̲D̲ ̲L̲O̲O̲P̲
SUBFIELD ̲COUNT = 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲2̲
…02…P̲E̲R̲F̲O̲R̲M̲ ̲A̲C̲C̲U̲M̲U̲L̲A̲T̲E̲
A̲C̲C̲O̲R̲D̲I̲N̲G̲ ̲T̲O̲ ̲F̲I̲E̲L̲D̲ ̲P̲R̲O̲C̲E̲D̲U̲R̲E̲
PERFORM ̲ACCUMULATE(TRANS ̲SUBFIELD ̲ADDR,
ACCUM ̲SUBFIELD ̲ADDR,
FIELD ̲PROCEDURE)
( )
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲3̲
S̲T̲O̲R̲E̲ ̲S̲U̲B̲G̲R̲O̲U̲P̲ ̲I̲N̲
C̲O̲R̲R̲ ̲M̲O̲N̲T̲H̲ ̲S̲E̲C̲T̲I̲O̲N̲
STP ̲FILE ̲ADD.FIRST ̲BYTE contains byte address
in STP ̲FILE where modify shall continue
STP ̲FILE ̲ADD.BYTE ̲COUNT = SIZE(SUBGROUP) *2
INIT STP BUFFER BLE TO
POINT OUT ACCUM SUBGROUP
CASE MODIFYBYTES(STP ̲FILE ̲FD, STP ̲FILE ̲ADD,
STP ̲BUFFER ̲BLE)
(STP ̲FILE ̲ADD, CC): ERROR ̲OK
ERROR? - ANALYZE ̲ERROR (CC, 0)
OK?
END CASE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲4̲
PERFORM ̲ACCUMULATE(TRANS ̲SUBFIELD ̲ADDR: POINTER ̲TYPE,
ACCUM ̲SUBFIELD ̲ADDR: POINTER ̲TYPE,
FIELD ̲PROCEDURE: PROCEDURE ̲TYPE)
(TRANS ̲SUBFIELD ̲ADDR: POINTER ̲TYPE,
ACCUM ̲SUBFIELD ̲ADDR: POINTER ̲TYPE)
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲5̲
GET ̲SUBGROUP ̲FROM ̲DISK(FIRST ̲BYTE: LONG,
BYTE ̲COUNT: LONG,
SIZE: INTEGER)
(FIRST ̲BYTE: LONG)
subgroup is loaded into TRANS ̲SUBGROUP
LOAD TRANS ̲BLE to point to memory
TRANS ̲SUBGROUP area
STP ̲FILE ̲ADD.FIRST ̲BYTE = FIRST ̲BYTE
STP ̲FILE ̲ADD.BYTE ̲COUNT = BYTE ̲COUNT
CASE READBYTES(STP ̲FILE ̲FD, STP ̲FILE ̲ADD,
TRANS ̲BLE)
(STP ̲FILE ̲ADD, CC): ERROR ̲OK
ERROR? ANALYZE ̲ERROR (CC, 0)
OK?
END CASE
set up new readbytes params
FIRST ̲BYTE = FIRST ̲BYTE + SIZE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲6̲
CALCULATE ̲NO ̲OF ̲SUBGROUPS( )
(NO ̲OF ̲SUBGROUPS: INTEGER)
GROUP ̲COUNT = 1
MAX ̲SUBGROUP = 0
GROUP LOOP
MAX ̲SUBGROUP = MAX ̲SUBGROUP +
MEM ̲DESCR ̲AREA(GROUP ̲COUNT).
NO ̲OF ̲SUBGROUPS
GROUP ̲COUNT = GROUP ̲COUNT + 1
GROUP ̲COUNT GE SHARED ̲DATA ̲AREA.
NO ̲OF ̲GROUPS? EXIT
END GROUP LOOP
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲4̲.̲4̲.̲1̲.̲5̲-̲4̲7̲
4.2.4.5 C̲o̲m̲m̲o̲n̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲D̲a̲t̲a̲
Refer 4.2.4.4.1.4 module data description
4.2.4.6 C̲o̲m̲m̲o̲n̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲
Refer 4.2.4.4.1.3 module components
4.2.4.7 S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
Refer 4.2.4.4.1.2 module interface
4.2.5 D̲e̲l̲i̲v̲e̲r̲y̲ ̲S̲u̲b̲-̲P̲a̲c̲k̲a̲g̲e̲
Statistics delivery sub-package handles the statistics
delivery to TEP every 24 hours. The delivery in question
is the 24 one hour statistics, day statistics, and
week statistics, and month statistics.
4.2.5.1 F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲
Included in the specification is how the sub-package;
- generates temporary CIF
- appends statistics to CIF
- day statistics
- week statistics
- month statistics
- delivery of CIF
- storage occupancy request response
4.2.5.1.1 G̲e̲n̲e̲r̲a̲t̲e̲ ̲T̲e̲m̲p̲o̲r̲a̲r̲y̲ ̲C̲I̲F̲
The statistics information to be delivered to TEP is
transferred via a CIF. A CSF CREATE CIF function call
performs this action. Two CIF's are created and sent
when delivery is initiated. These two CIF's will be
reused during the sequence of delivery.
4.2.5.1.2 A̲p̲p̲e̲n̲d̲ ̲S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲t̲o̲ ̲C̲I̲F̲
Information to be appended to the created CIF is contained
in the data area of the STP file. Information about
start address and amount of data to be appended, resides
in the information area of the STP file. Refer figure
4.1.4.2-1. The information area has previously been
transferred to main memory in conjunction with generation
of the statistics.
FIGURE 4.2.5.1-1…01…DELIVERY STATISTICS FUNCTIONAL SPECIFICATION
4.2.5.1.3 D̲e̲l̲i̲v̲e̲r̲y̲ ̲o̲f̲ ̲C̲I̲F̲
Each of the above completed CIF is sent to the queue
related to the statistics printer. Queue monitor under
CSF performs the delivery by the function call SEND
REQUEST. The CIF reference, is input parameter during
this function call. Final step for STP is to DISMANTLE
CIF acknowledging that STP has completed processing
the temporary CIF.
4.2.5.1.4 R̲e̲q̲u̲e̲s̲t̲ ̲S̲t̲o̲r̲a̲g̲e̲ ̲O̲c̲c̲u̲p̲a̲n̲c̲y̲
The CSF function request reply technique is used to
acknowledge TEP about the asychronous storage occupancy
request. STP passes on the request to MMS which returns
the actual value to STP.
4.2.5.2 S̲o̲f̲t̲w̲a̲r̲e̲ ̲S̲t̲r̲u̲c̲t̲u̲r̲e̲
On figure 4.2.5.2-1, the software structure of statistics
delivery is shown. Delivery subpackage is contained
in one module. This module is implemented as a procedure
residing in the statistics process.
Figure 4.2.5.2-1
4.2.5.3 D̲a̲t̲a̲ ̲F̲l̲o̲w̲ ̲a̲n̲d̲ ̲C̲o̲n̲t̲r̲o̲l̲ ̲L̲o̲g̲i̲c̲
The delivery procedure is activated by the main program
module.
Activation is performed every 2400 hours when either
one of:
- daily
- weekly or
- monthly
statistics shall be delivered.
Further TEP's asynchronously request for storage occupancy
results in activation of the delivery module.
4.2.5.4 M̲o̲d̲u̲l̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲
The delivery subpackage consists of one module, delivery
module.
4.2.5.4.1 D̲e̲l̲i̲v̲e̲r̲y̲ ̲M̲o̲d̲u̲l̲e̲
4.2.5.4.1.1 F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲
This module performs the actions as described in section
4.2.5.1 subpackage functional specification.
4.2.5.4.1.2 M̲o̲d̲u̲l̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The module interface or subpackage interfaces are as
follows:
Main program module activates the delivery module each
time delivery takes place.
C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲
PERFORM ̲DELIVERY(DELIVERY: DELIVERY ̲TYPE,
CURRENT ̲DELIVERY: CUR ̲DEL
̲TYPE,
PARAMETER: DEL ̲PARAM)
( )
Interface during sequence of statistics delivery is
via CSF's SEND ̲REQUEST mechanism. Each time the main
program has received an acknowledge on the previous
sent CIF a new CIF is completed and sent.
C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲
SEND ̲REQUEST(REQUEST ̲PARAMS,
VIEW,
SPIP ̲STAQ,
STPRQ)
(CC)
Interface when storage occupancy shall be delivered
to printer process
C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲
SEND ̲REPLY(REPLY ̲PARAMS,
NIL ̲QEL,
STO ̲OCC ̲QEL)
(CC)
4.2.5.4.1.3 M̲o̲d̲u̲l̲e̲ ̲C̲o̲m̲p̲o̲n̲e̲n̲t̲s̲
No module components have been identified for the delivery
module.
4.2.5.4.1.4 D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) D̲a̲t̲a̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲
TBD
b) E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲
TBD
c) L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲
TYPE CUR ̲DEL ̲TYPE =
(HOUR,
PREVIOUS ̲DAY,
CURRENT ̲DAY,
DAY,
PREVIOUS ̲WEEK,
CURRENT ̲WEEK,
PREVIOUS ̲MONTH,
CURRENT ̲MONTH)
TYPE DEL ̲PARAM: INTEGER
identifies either hour in day i.e. 1..24, or
day in week i.e. 1..7
TYPE STP ̲HOUR, STP ̲DAY: INTEGER
VAR CURRENT ̲DELIVERY = CUR ̲DEL ̲TYPE
identifies the current statistics to be delivered.
VAR STP ̲FILE ̲POINTER: POINTER ̲TYPE
points to start of data to be moved in STP
̲FILE
VAR DELIVERY ̲TYPE = (DAILY, WEEKLY, MONTHLY,
STORAGE ̲OCCUPANCY)
Buffer available during write view max. 8 sectors i.e.
4k bytes.
VAR DEL ̲BUFFER = ARRAY (1..1) OF INTEGER
laid out at compile time
4.2.5.4.1.5 M̲o̲d̲u̲l̲e̲ ̲D̲e̲s̲i̲g̲n̲
D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
Flowgram figure 4.2.5.4.1.5-1 presents the separation
of delivery into statistics delivery and storage occupancy
delivery.
Flowgram figure 4.2.5.4.1.5-2 presents the overall
structure of statistics delivery.
Flowgram figure 4.2.5.4.1.5-3-20 presents the flow
for all activities related to the delivery of statistics.
Flowgram figure 4.2.5.4.1.5-21 presents the delivery
of storage occupancy.
PERFORM ̲DELIVERY(DELIVERY: DELIVERY ̲TYPE,
CURRENT ̲DELIVERY: CUR ̲DEL ̲TYPE
PARAMETER: DEL ̲PARAM)
( )
DELIVERY EQ STORAGE ̲OCCUPANCY?
P̲E̲R̲F̲O̲R̲M̲ ̲S̲T̲A̲ ̲D̲E̲L̲I̲V̲E̲R̲Y̲ P̲E̲R̲F̲O̲R̲M̲ ̲S̲T̲O̲R̲A̲G̲E̲
̲O̲C̲C̲
RETURN
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲
P̲E̲R̲F̲O̲R̲M̲ ̲S̲T̲A̲ ̲D̲E̲L̲I̲V̲E̲R̲Y̲
C̲A̲L̲C̲U̲L̲A̲T̲E̲ ̲R̲E̲A̲D̲B̲Y̲T̲E̲S̲
S̲T̲A̲R̲T̲ ̲A̲D̲D̲R̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲L̲O̲O̲P̲ create or reuse view
4 K BYTES LOOP
A̲P̲P̲E̲N̲D̲ ̲T̲O̲ ̲V̲I̲E̲W̲
V̲I̲E̲W̲ ̲F̲I̲L̲L̲E̲D̲ ̲U̲P̲? EXIT
U̲P̲D̲A̲T̲E̲ ̲A̲D̲D̲R̲E̲S̲S̲
END 4 K BYTES LOOP
R̲E̲T̲U̲R̲N̲ ̲V̲I̲E̲W̲
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲2̲
C̲A̲L̲C̲U̲L̲A̲T̲E̲ ̲R̲E̲A̲D̲B̲Y̲T̲E̲S̲
S̲T̲A̲R̲T̲ ̲A̲D̲D̲R̲
CASE CURRENT ̲DELIVERY OF
HOUR - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲H̲O̲U̲R̲ ̲A̲D̲D̲R̲
PREVIOUS ̲DAY - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲P̲R̲E̲V̲I̲O̲U̲S̲ ̲D̲A̲Y̲ ̲A̲D̲D̲R̲
CURRENT ̲DAY - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲C̲U̲R̲R̲E̲N̲T̲ ̲D̲A̲Y̲ ̲A̲D̲D̲R̲
DAY - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲D̲A̲Y̲ ̲A̲D̲D̲R̲
PREVIOUS ̲WEEK - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲P̲R̲E̲V̲I̲O̲U̲S̲ ̲W̲E̲E̲K̲ ̲A̲D̲D̲R̲
CURRENT ̲WEEK - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲C̲U̲R̲R̲E̲N̲T̲ ̲W̲E̲E̲K̲ ̲A̲D̲D̲R̲
PREVIOUS ̲MONTH - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲P̲R̲E̲V̲I̲O̲U̲S̲ ̲M̲O̲N̲T̲H̲ ̲A̲D̲D̲R̲
CURRENT ̲MONTH - D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲C̲U̲R̲R̲E̲N̲T̲ ̲M̲O̲N̲T̲H̲ ̲A̲D̲D̲R̲
END CASE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲3̲
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲H̲O̲U̲R̲ ̲A̲D̲D̲R̲
STP ̲FILE ̲POINTER = MEM ̲DESCR ̲AREA.HOUR ̲INFO.DATA ̲ADDR
+ (PARAMETER -1) * SIZE ̲DATA
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲4̲
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲P̲R̲E̲V̲I̲O̲U̲S̲ ̲D̲A̲Y̲ ̲A̲D̲D̲R̲
MEM ̲DESCR ̲AREA.DAY ̲INFO.SECTION ̲IN ̲USE
EQ 1?
STP ̲FILE ̲POINTER = MEM ̲DESCR ̲AREA.
DAY ̲INFO.DATA ̲ADDR
+ 5 * SIZE ̲DATA
STP ̲FILE ̲POINTER =
MEM ̲DESCR ̲AREA.
DAY ̲INFO.DATA ̲ADDR
-SIZE ̲DATA
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲5̲
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲C̲U̲R̲R̲E̲N̲T̲ ̲D̲A̲Y̲
STP ̲FILE ̲POINTER = MEM ̲DESCR ̲AREA.
DAY ̲INFO.DATA ̲ADDR
+ (CURRENT ̲DAY-1) * SIZE ̲DATA
Figure 4.2.5.4.1.5-6
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲D̲A̲Y̲ ̲A̲D̲D̲R̲
STP ̲FILE ̲POINTER = MEM ̲DESCR ̲AREA.DAY ̲INFO.DATA ̲ADDR
+ (PARAMETER -1) x SIZE ̲DATA
Figure 4.2.5.4.1.5-7
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲P̲R̲E̲V̲I̲O̲U̲S̲ ̲W̲E̲E̲K̲ ̲A̲D̲D̲R̲
MEM ̲DESCR ̲AREA.WEEK ̲INFO.DATA ̲ADDR
EQ 1?
STP ̲FILE ̲POINTER =
MEM ̲DESCR ̲AREA.
WEEK ̲INFO.DATA ̲ADDR
+ 2 x SIZE ̲DATA
STP ̲FILE ̲POINTER =
MEM ̲DESCR ̲AREA.
WEEK ̲INFO.DATA ̲ADDR
+(STP ̲DAY) -1) x SIZE ̲DATA
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲8̲
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲C̲U̲R̲R̲E̲N̲T̲ ̲W̲E̲E̲K̲ ̲A̲D̲D̲R̲
STP ̲FILE ̲POINTER = MEM ̲DESCR ̲AREA.
WEEK ̲INFO.DATA ̲ADDR
+ STP ̲DAY * DATA ̲SIZE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲9̲
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲P̲R̲E̲V̲I̲O̲U̲S̲ ̲M̲O̲N̲T̲H̲ ̲A̲D̲D̲R̲
STP ̲FILE ̲POINTER = MEM ̲DESCR ̲AREA.
MONTH ̲INFO.DATA ̲ADDR
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲0̲
D̲E̲T̲E̲R̲M̲I̲N̲E̲ ̲C̲U̲R̲R̲E̲N̲T̲ ̲M̲O̲N̲T̲H̲ ̲A̲D̲D̲R̲
STP ̲FILE ̲POINTER = MEM ̲DESCR ̲AREA.
MONTH ̲INFO.DATA ̲ADDR
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲1̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲L̲O̲O̲P̲
CURRENT-DELIVERY NE HOUR?
PARAMETER GE 3?
CASE CREATE ̲CIF (VIEW)( )
ERROR? - ANALYZE ̲ERROR(CC, O)
OK?
END CASE
PARAMETER NE 1? VIEW NE
DEL1 ̲VIEW?
DEL1 ̲VIEW = VIEW DEL2 ̲VIEW = VIEW VIEW = DEL2
̲VIEW
CREATE FIELDS IN VIEW
A̲P̲P̲E̲N̲D̲ ̲C̲I̲F̲ ̲I̲N̲F̲O̲
FIG. 4.2.5.4.1.5-12…86…1 …02… …02… …02… …02… …02… …02… …02… …02…
A̲P̲P̲E̲N̲D̲ ̲C̲I̲F̲ ̲I̲N̲F̲O̲
supply administration info
to CIF field 1
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲3̲
A̲P̲P̲E̲N̲D̲ ̲T̲O̲ ̲V̲I̲E̲W̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲R̲E̲A̲D̲
B̲Y̲T̲E̲S̲ ̲P̲A̲R̲A̲M̲S̲
CASE READBYTES(STP ̲FILE ̲FD, STP ̲FILE ̲ADDR,
STP ̲FILE ̲BLE)
(STP ̲FILE ̲ADDR, CC): ERROR ̲OK
ERROR? - ANALYZE ̲ERROR (CC, 0)
OK
END CASE
CASE OPEN ̲VIEW(VIEW)(CC)
ERROR? - ANALYZE ̲ERROR (CC,0)
OK?
END CASE
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲W̲R̲I̲T̲E̲
V̲I̲E̲W̲ ̲P̲A̲R̲A̲M̲S̲
CASE WRITE ̲VIEW(STP ̲PART ̲SIZE,
STP ̲LIST,
VIEW,
STP ̲FILE ̲BLE) (CC): ERROR ̲OK
ERROR? - ANALYZE ̲ERROR (CC, 0)
OK?
END CASE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲4̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲R̲E̲A̲D̲
B̲Y̲T̲E̲S̲ ̲P̲A̲R̲A̲M̲S̲
The IOC function call read byte parameters are initialized.
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲5̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲E̲ ̲W̲R̲I̲T̲E̲
V̲I̲E̲W̲ ̲P̲A̲R̲A̲M̲S̲
The CSF write view parameters are initialized.
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲6̲
V̲I̲E̲W̲ ̲F̲I̲L̲L̲E̲D̲ ̲U̲P̲?̲
APPENDED ̲SIZE GT DATA ̲SIZE?
not finished finished exit
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲7̲
U̲P̲D̲A̲T̲E̲ ̲A̲D̲D̲R̲E̲S̲S̲
APPENDED ̲SIZE = APPENDED ̲SIZE + STP ̲PART ̲SIZE
APPENDED ̲SIZE LT DATA ̲SIZE?
STP ̲PART ̲SIZE = STP ̲PART ̲SIZE
-(APPENDED ̲SIZE-DATA ̲SIZE)
STP ̲FILE ̲POINTER = STP ̲FILE ̲POINTER + STP ̲PART ̲SIZE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲8̲
R̲E̲T̲U̲R̲N̲ ̲V̲I̲E̲W̲
L̲O̲A̲D̲ ̲S̲E̲N̲D̲ ̲R̲E̲Q̲U̲E̲S̲T̲
P̲A̲R̲A̲M̲S̲
CASE SEND ̲REQUEST(REQUEST ̲PARAMS,
VIEW,
SPIP ̲STAQ,
STPRQ)
(CC) ERROR ̲OK
ERROR? - ANALYZE ̲ERROR (CC, 0)
OK?
END CASE
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲1̲9̲
L̲O̲A̲D̲ ̲S̲E̲N̲D̲
R̲E̲Q̲U̲E̲S̲T̲ ̲P̲A̲R̲A̲M̲S̲
The CSF function call send request parameters are initialized.
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲2̲0̲
P̲E̲R̲F̲O̲R̲M̲ ̲S̲T̲O̲R̲A̲G̲E̲ ̲O̲C̲C̲
The storage occupancy is sent to requestor.
F̲i̲g̲u̲r̲e̲ ̲4̲.̲2̲.̲5̲.̲4̲.̲1̲.̲5̲-̲2̲1̲
4.2.5.5 C̲o̲m̲m̲o̲n̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲D̲a̲t̲a̲
Refer section 4.2.5.4.1.4 module data description for
subpackage data.
4.2.5.6 C̲o̲m̲m̲o̲n̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲
No common subpackage procedures have been identified
for the delivery subpackage.
4.2.5.7 S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
Refer section 4.2.5.4.1.2 module interface for subpackage
interface.
4.3 M̲E̲M̲O̲R̲Y̲ ̲L̲A̲Y̲-̲O̲U̲T̲
The memory areas pertinent to STP are program area
and data areas. Program area size is 3k word and fully
on-line resident in one PU.
The data areas handled by STP have previously been
defined in subsection 4.1.4 package data. Areas in
question are:
- Shared data area (SDA) (data area), and
- Statistics file area (data area)
which are described in detail taking into account the
present information.
SDA is main memory resident and covers 8 kbytes.
Statistics file area resides on the online disk and
occupies 700 kbytes.
4.3.1 S̲D̲A̲ ̲D̲a̲t̲a̲ ̲A̲r̲e̲a̲
This area contains the actual statistics information
being collected and accumulated. Format for present
eight groups (can be expanded to 10) are as follows:
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 1 start addr.
Incoming message area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 2 start addr.
Outgoing message area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ .
Incoming channel availability
and occupancy
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ .
Outgoing channel availability
and occupancy
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
Incoming message distr.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ .
Outgoing message distr.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
Use of formats 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 8 start addr.
Use of formats 2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 9 start addr.
FIGURE 4.3.1-1…01…SDA DATA AREA LAY-OUT
Each of the eight present areas is described emphasizing
the lay-out.
4.3.1.1 I̲n̲c̲o̲m̲i̲n̲g̲ ̲M̲e̲s̲s̲a̲g̲e̲ ̲A̲r̲e̲a̲
Area consists of an array of records, one record per
channel and a maximum of 32 channels. Each record contains
a number of fields for accumulation of the statistics
information. The logical lay-out is shown overleaf
following a top down description.
F̲i̲e̲l̲d̲ ̲d̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of messages received
b) Summarized message length
c) Number of received messages per precedence level
d) Number of received messages per security classification
e) Number of received messages per special handling
category
f) Number of rejected messages
FIGURE 4.3.1.1-1…01…INCOMING MESSAGE AREA, SDA
For each channel a record exists with fields and subfields
as shown below:
FIGURE 4.3.1.1-2…01…SHARED DATA AREA, GROUP 1 RECORD LAY-OUT
4.3.1.2 O̲u̲t̲g̲o̲i̲n̲g̲ ̲M̲e̲s̲s̲a̲g̲e̲ ̲A̲r̲e̲a̲
As for incoming messages, this area consists of an
array of records. Logical lay-out is shown overleaf,
top down.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of messages sent
b) Summarized message length
c) Number of messages sent per precedence level
d) Number of messages sent per security classification
e) Number of messages sent per special handling category
FIGURE 4.3.1.2-1…01…OUTGOING MESSAGE AREA, SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each channel a record exists in the outgoing message
group in the shared data area. The record consists
of the following fields and sub-fileds as shown below.
FIGURE 4.3.1.2-2…01…SHARED DATA AREA, GROUP 2 RECORD LAYOUT
4.3.1.3 I̲n̲c̲o̲m̲i̲n̲g̲ ̲C̲h̲a̲n̲n̲e̲l̲ ̲A̲v̲a̲i̲l̲a̲b̲i̲l̲i̲t̲y̲ ̲a̲n̲d̲ ̲O̲c̲c̲u̲p̲a̲n̲c̲y̲ ̲A̲r̲e̲a̲
One record per channel with a maximum of 32 channels.
Overleaf an overview diagram shows the top down description
of this area.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲s̲
a) SUMDTG, summation field for open/close transactions.
FIGURE 4.3.1.3-1…01…INCOMING CHANNEL AVAILABILITY AND OCCUPANCY AREA,
SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each channel a record exists in group 3, channel
availability and occupancy, in the shared data area.
The record consists of the following fields as shown
below:
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
a
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
4
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.1.3-2…01…SHARED DATA AREA, GROUP 3 RECORD LAY-OUT
4.3.1.4 O̲u̲t̲g̲o̲i̲n̲g̲ ̲C̲h̲a̲n̲n̲e̲l̲ ̲A̲v̲a̲i̲l̲a̲b̲i̲l̲i̲t̲y̲ ̲a̲n̲d̲ ̲O̲c̲c̲u̲p̲a̲n̲c̲y̲ ̲A̲r̲e̲a̲
One record per channel with a maximum of 32 channels.
Overleaf an overview diagram shows the top down description
of this area.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲s̲
a) SUMDTG, summation field for open/close transactions.
F̲I̲G̲U̲R̲E̲ ̲4̲.̲3̲.̲1̲.̲4̲ ̲
OUTGOING CHANNEL AVAILABILITY AND OCCUPANCY AREA, SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each channel a record exists in group 4, channel
availability and occupancy, in the shared data area.
The record consists of the following fields as shown
below:
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
a
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
4
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.1.4-2
SHARED DATA AREA, GROUP 4 RECORD LAY-OUT
4.3.1.5 I̲n̲c̲o̲m̲i̲n̲g̲ ̲M̲e̲s̲s̲a̲g̲e̲ ̲D̲i̲s̲t̲r̲i̲b̲u̲t̲i̲o̲n̲ ̲p̲e̲r̲ ̲T̲e̲r̲m̲i̲n̲a̲l̲ ̲A̲r̲e̲a̲
Next page shows the overview diagram for group number
4. Contents of one record refer to terminal statistics
information. Max. number of terminals is 32.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of messages delivered
b) Max. length of messages delivered
c) Summarized message length
d) Number of messages delivered per info precedence
level
e) Number of messages delivered per action precedence
level
f) Number of messages delivered per classification
g) Number of messages delivered per special handling
category
h) Summarized number of terminals in the distribution
i) Max. number of terminals included in the distribution
j) Number of messages requiring assistance
FIGURE 4.3.1.5-1…01…INCOMING MESSAGE DISTRIBUTION AREA, SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each terminal a record exists in group 5, in the
shared data area. The record consists of the following
fields as shown below.
FIGURE 4.3.1.5-2…01…SHARED DATA AREA, GROUP 5 RECORD LAY-OUT
4.3.1.6 I̲n̲c̲o̲m̲i̲n̲g̲ ̲M̲e̲s̲s̲a̲g̲e̲ ̲D̲i̲s̲t̲r̲i̲b̲u̲t̲i̲o̲n̲ ̲p̲e̲r̲ ̲d̲i̲s̲t̲r̲i̲b̲u̲t̲i̲o̲n̲ ̲A̲r̲e̲a̲
Next page shows the overview diagram for group number
6. Contents of one record refer to total system statistics
information. Max. number of records is 1.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of messages delivered
b) Max. length of messages delivered
c) Summarized message length
d) Number of messages delivered per info precedence
level
e) Number of messages delivered per action precedence
level
f) Number of messages delivered per classification
g) Number of messages delivered per special handling
category
h) Summarized number of terminals in the distribution
i) Max. number of terminals included in the distribution
j) Number of messages requiring assistance
FIGURE 4.3.1-1…01…Incoming message distribution total system…01…area, SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each terminal a record exists in group 6, in the
shared data area. The record consists of the following
fields as shown below.
FIGURE 4.3.1.6-2…01…SHARED DATA AREA, GROUP 6 RECORD LAY-OUT
4.3.1.6 O̲u̲t̲g̲o̲i̲n̲g̲ ̲M̲e̲s̲s̲a̲g̲e̲ ̲D̲i̲s̲t̲r̲i̲b̲u̲t̲i̲o̲n̲ ̲A̲r̲e̲a̲
Overview diagram describing the logical content of
group number 6 is shown overleaf. Each record contains
terminal statistics information. Subgroup identifies
VDU or printer terminal respectively. A maximum of
32 terminals may be present.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of messages locally received
b) Max. length of messages locally received
c) Summarized message length
d) Number of messages locally received per info precedence
level
e) Number of messages locally received per action
precedence level.
f) Number of messages locally received per classification
g) Number of messages locally received per special
handling category.
h) Summarized number of terminals in the local distribution.
i) Max. number of terminals included in the local
distribution
j) Number of messages requiring assistance
FIGURE 4.3.1.7-1…01…OUTGOING MESSAGE DISTRIBUTION, SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each terminal a record exists in group 7, in the
shared data area, for accumulation of statistics information.
The record consists of the following fields as shown
below.
FIGURE 4.3.1.6-2…01…SHARED DATA AREA, GROUP 7 RECORD LAY-OUT
4.3.1.8 O̲u̲t̲g̲o̲i̲n̲g̲ ̲M̲e̲s̲s̲a̲g̲e̲ ̲D̲i̲s̲t̲r̲i̲b̲u̲t̲i̲o̲n̲ ̲A̲r̲e̲a̲
Overview diagram describing the logical content of
group number 8 is shown overleaf. Each record contains
total system statistics information. Subgroup identifies
VDU or printer terminal respectively. A maximum of
1 records may be present.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of messages locally received
b) Max. length of messages locally received
c) Summarized message length
d) Number of messages locally received per info precedence
level
e) Number of messages locally received per action
precedence level.
f) Number of messages locally received per action
precedence level.
g) Number of messages locally received per classification
h) Number of messages locally received per special
handling category.
i) Summarized number of terminals in the local distribution.
j) Max. number of terminals included in the local
distribution
k) Number of messages requiring assistance
Fig. 4.3.1.8-1 Outgoing message distribution…01…total system, SADA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
One record exists in group 6, in the shared data area,
for accumulation of statistics information. The record
consists of the following fields as shown below.
FIGURE 4.3.1.6-2…01…SHARED DATA AREA, GROUP 8 RECORD LAY-OUT
4.3.1.9 U̲s̲e̲ ̲o̲f̲ ̲F̲o̲r̲m̲a̲t̲s̲,̲ ̲T̲y̲p̲e̲ ̲1̲ ̲A̲r̲e̲a̲
This area is 4 levels deep as shown overleaf. Each
format area is split into terminal records corresponding
to the terminals in question.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of times in use for format
b) Summarized duration time for format
c) Max. duration time for format
d) Number of time in use per precedence level
e) Number of times in use per security classification
FIGURE 4.3.1.9-1…01…USE OF FORMATS TYPE 1, SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each terminal a record exists in the shared data
area, for accumulation of the use of the format. The
record consists of the following fields as shown below.
FIGURE 4.3.1.9-2…01…SHARED DATA AREA, GROUP 9 RECORD LAY-OUT
4.3.1.10 U̲s̲e̲ ̲o̲f̲ ̲F̲o̲r̲m̲a̲t̲s̲,̲ ̲T̲y̲p̲e̲ ̲2̲ ̲A̲r̲e̲a̲
A 4 levels deep partitioning of the area is present
as shown overleaf in overview diagram. The extra partition
is caused by terminals and associated formats.
F̲i̲e̲l̲d̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
a) Number of times in use for format
FIGURE 4.3.1.10-1…01…USE OF FORMATS TYPE 2, SDA
R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲
For each terminal a record exists in the shared data
area, for accumulation of the use of formats type 2.
The record consists of the following fields as shown
below.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
a
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.1.8-2…01…SHARED DATA AREA, GROUP 8 RECORD LAYOUT
R̲e̲c̲o̲r̲d̲ ̲D̲e̲f̲i̲n̲i̲t̲i̲o̲n̲ ̲o̲f̲ ̲T̲h̲e̲ ̲A̲c̲t̲u̲a̲l̲ ̲A̲r̲e̲a̲s̲ ̲C̲o̲n̲t̲a̲i̲n̲e̲d̲ ̲i̲n̲
̲S̲D̲A̲
The areas in question are:
- INC ̲MSG ̲PER ̲CHN
- OUTG ̲MSG ̲PER ̲CHN
- INC ̲CHN ̲AVAIL
- OUTG ̲CHN ̲AVAIL
- INC ̲MSG ̲DIST ̲PER ̲TERM
- USE ̲OF ̲FORMAT ̲1
- USE ̲OF ̲FORMAT ̲2
4.3.2 S̲T̲P̲ ̲F̲i̲l̲e̲ ̲A̲r̲e̲a̲ ̲(̲D̲a̲t̲a̲ ̲A̲r̲e̲a̲)̲
This disk resident file keeps the STP information used
for generation of hourly, daily, and weekly statistics.
The produced statistics are kept in the file as well.
Overall structure of STP file data area is shown overleaf.
Each one of the 10 interval sections is equal to the
structure of SDA described in sub-section 4.3.1.
During this sub-section each of the later section is
outlined. Format of different sections, hour, day,
and week section is equal and therefore only described
once.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ i̲n̲f̲o̲ ̲a̲r̲e̲a̲ ̲ ̲ ̲ ̲
data area
1. interval section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲.̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
10. interval section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
1. hour section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲.̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
24. hour section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
1. day section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲.̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
7. day section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
1. week section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
4. week section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
1. month section
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2-1…01…STP FILE, DATA AREA
4.3.2.1 G̲r̲o̲u̲p̲ ̲1̲ ̲L̲a̲y̲-̲O̲u̲t̲
Incoming messages per channel, maximum of 32 channels.
Size each channel: 68 bytes
Size group 1: 2176 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 32 group 1 area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.1-1
4.3.2.2 G̲r̲o̲u̲p̲ ̲2̲ ̲L̲a̲y̲-̲O̲u̲t̲
Outgoing messages per channel. Maximum of 32 channels.
Size each channel: 66 bytes
Size group 2: 2112 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 32 group 2 area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.2-1
4.3.2.3 G̲r̲o̲u̲p̲ ̲3̲
Incoming channel availability and occupancy. Maximum
of 32 channels.
Size each channel: 4 bytes
Size group 3: 128 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel N group 3 area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
a b
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
2 2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
Channel/record lay-out
FIGURE 4.3.2.3-1
4.3.2.4 G̲r̲o̲u̲p̲ ̲4̲
Outgoing channel availability and occupancy. Maximum
of 32 channels.
Size each channel: 4 bytes
Size group 4: 128 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel N group 4 area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
a b
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
2 2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
Channel/record lay-out
FIGURE 4.3.2.4-1
4.3.2.5 G̲r̲o̲u̲p̲ ̲5̲
Incoming message distribution per terminal maximum
of 32 channels.
Size each channel: 74 bytes
Size group 5: 2368 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel N group 5 area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.5-1
4.3.2.6 G̲r̲o̲u̲p̲ ̲5̲a̲
Incoming message distribution, total system maximum
of 1 record.
Size of record: 74 bytes
Size group 5a: 74 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
total system group 5a area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.6-1
4.3.2.7 G̲r̲o̲u̲p̲ ̲6̲
Outgoing message distribution per terminal maximum
of 32 channels.
Size each channels: 74 bytes
Size group 6: 2368 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
channel N group 6 area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.7-1
4.3.2.8 G̲r̲o̲u̲p̲ ̲6̲a̲
Outgoing message distribution, total system maximum
of 1 record.
Size of record: 74 bytes
Size group 6a: 74 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
total system group 6a area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.8-1
4.3.2.9 G̲r̲o̲u̲p̲ ̲7̲
Use of formats, type 1 per terminal maximum of 32 terminals.
Size each terminal: 28 bytes
Size sub-group N: 896 bytes
Size group 7: 4480 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 1, format A
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 2, format C1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 3, format G1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 4, format M
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 5, format O
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 7 area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
terminal 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
terminal N subgroup N area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.9-1
4.3.2.10 G̲r̲o̲u̲p̲ ̲7̲a̲
Use of formats, type 1 total system maximum of 1 record.
Size of record: 28 bytes
Size of sub-group: 28 bytes
Size of group 7a: 140 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 1, format A
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 2, format C1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 3, format G1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 4, format M
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 5, format O
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 7a area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
total system subgroup N area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
FIGURE 4.3.2.10-1
4.3.2.11 G̲r̲o̲u̲p̲ ̲8̲
Use of formats, type 2 per terminal maximum of 32 terminals.
Size each terminal: 2 bytes
Size subgroup N: 64 bytes
Size group 8: 768 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 1, format B
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 2, format D
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 3, format F
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 4, format G2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 5, format H
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 6, format I1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 7, format I2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 8, format N
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 9, format P1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 10, format P2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 11, format Q
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 12, format R
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 8 area
FIGURE 4.3.2.11-1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
terminal 1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
terminal N subgroup N area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲
a
̲ ̲ ̲ ̲ ̲ ̲ ̲
2
̲ ̲ ̲ ̲ ̲ ̲ ̲ terminal/record lay-out
FIGURE 4.3.2.11-2
4.3.2.12 G̲r̲o̲u̲p̲ ̲8̲a̲
Use of formats, type 2 total system maximum of 1 record.
Size each record: 2 bytes
Size Sub-group N: 2 bytes
Size group 8a: 24 bytes
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 1, format A
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 2, format D
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 3, format F
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 4, format G2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 5, format H
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 6, format I1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 7, format I2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 8, format N
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 9, format P1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 10, format P2
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 11, format Q
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
subgroup 12, format R
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ group 8a area
FIGURE 4.3.2.12-1
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
total system subgroup N area
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲
a
̲ ̲ ̲ ̲ ̲ ̲ ̲
2
̲ ̲ ̲ ̲ ̲ ̲ ̲ terminal/record lay-out
FIGURE 4.3.2-12-2
A P P E N D I X A
A.1 S̲P̲E̲C̲I̲F̲I̲C̲ ̲I̲N̲P̲U̲T̲ ̲D̲A̲T̲A̲
Application packages contributing with statistics information
delivered to STP collection sub-package are:
- Traffic Handling, THP
- CAMPS System Function, CSF
- Message Distribution, MDP
- Terminal Package, TEP
- System Status and Control, SSC
A.1.1 T̲H̲P̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
THP delivers a statistics record related to each of
the following groups:
- incoming messages per channel
- outgoing messages per channel
A.1.2 C̲S̲F̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
CSF delivers a statistics record related to the following
group:
- storage occupancy
A.1.3 M̲D̲P̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
MDP delivers a statistics record related to each of
the following groups:
- incoming message distribution per terminal
- outgoing message distribution per terminal
A.1.4 T̲E̲P̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
TEP delivers a statistics record related to each of
the following groups:
- use of message formats, type 1
- use of message formats, type 2
A.1.5 SSC Contribution
SSC delivers a statistics record related to each of
the following groups:
- use of message formats, type 2, format I1 and format
I2.