top - download
⟦5714eb6ad⟧ Wang Wps File
Length: 9594 (0x257a)
Types: Wang Wps File
Notes: CPS/SDS/001
Names: »1377A «
Derivation
└─⟦2c95d9416⟧ Bits:30006059 8" Wang WCS floppy, CR 0091A
└─ ⟦this⟧ »1377A «
WangText
…02…CPS/SDS/001
…02…BMN/811020…02……02…
CAMPS SYSTEM DESIGN SPECIFICATION
…02…ISSUE 1.1…02…CAMPS
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
5.12 TABLE MANAGEMENT ........................ 556
5.12.1 General ............................. 556
5.12.1.1 Purpose and Scope ............... 556
5.12.1.2 Applicable Documents and Project
References Special for Section
5.12 ............................ 556
5.12.1.2.1 Applicable Documents ........ 556
5.12.1.2.2 Project References .......... 556
5.12.1.3 Terms and Abbreviations ......... 556
5.12.1.3.1 Terms ....................... 556
5.12.1.3.2 Abbreviations ............... 557
5.12.2 Summary of Requirements ............. 557
5.12.2.1 TMP Description ................. 557
5.12.2.2 TMP Functions ................... 559
5.12.2.2.1 TMP Normal Functions ........ 559
5.12.2.2.1.1 Search In Tables ........ 559
5.12.2.2.1.2 Update Of Tables ........ 559
5.12.2.2.1.3 Reorganization Of Tables 559
5.12.2.2.1.4 Back-up/Reload of TMP
Data ....................
559
5.12.2.2.1.5 Global Number Series
Management ..............
560
5.12.2.2.1.6 System Parameters ....... 560
5.12.2.2.2 Functional Responsibilities . 560
5.12.2.2.2.1 Initialization, Close
Down, and Restart .......
560
5.12.2.2.2.1.1 Initialization ...... 560
5.12.2.2.2.1.2 Close Down .......... 560
5.12.2.2.2.1.3 Restart ............. 560
5.12.2.2.2.2 Check Pointing And
Recovery ................
561
5.12.2.2.2.3 Error Detection And
Error Handling...........
561
5.12.2.2.2.4 Integrity Of Operation .. 561
5.12.2.2.2.5 Data Collection ......... 561
5.12.2.2.2.6 Security ................ 562
5.12.2.3 Characteristics ................. 562
5.12.2.3.1 Timing ...................... 562
5.12.2.3.2 Throughput .................. 562
5.12.2.3.3 Flexibility ................. 563
5.12.2.3.4 Accuracy .................... 563
5.12.3 Environments ........................ 564
5.12.3.1 Equipment ....................... 564
5.12.3.2 Software ........................ 564
5.12.3.2.1 System Software ............. 564
5.12.3.2.2 Development Support Software. 564
5.12.3.3 Interfaces ...................... 564
5.12.3.3.1 External Interfaces ......... 564
5.12.3.3.2 Package Interfaces .......... 565
5.12.3.4 Functions Maintained by Other
Packages ........................
565
5.12 T̲A̲B̲L̲E̲ ̲M̲A̲N̲A̲G̲E̲M̲E̲N̲T̲
5.12.1 G̲e̲n̲e̲r̲a̲l̲
5.12.1.1 P̲u̲r̲p̲o̲s̲e̲ ̲a̲n̲d̲ ̲S̲c̲o̲p̲e̲
N/A.
5.12.1.2 A̲p̲p̲l̲i̲c̲a̲b̲l̲e̲ ̲D̲o̲c̲u̲m̲e̲n̲t̲s̲ ̲a̲n̲d̲ ̲P̲r̲o̲j̲e̲c̲t̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲,̲ ̲S̲p̲e̲c̲i̲a̲l̲
̲f̲o̲r̲ ̲S̲e̲c̲t̲i̲o̲n̲ ̲5̲.̲1̲2̲
N/A.
5.12.1.3 T̲e̲r̲m̲s̲ ̲a̲n̲d̲ ̲A̲b̲b̲r̲e̲v̲i̲a̲t̲i̲o̲n̲s̲,̲ ̲S̲p̲e̲c̲i̲a̲l̲ ̲f̲o̲r̲ ̲S̲e̲c̲t̲i̲o̲n̲ ̲5̲.̲1̲2̲
5.12.1.3.1 T̲e̲r̲m̲s̲
S̲u̲b̲p̲r̲o̲c̲e̲s̲s̲
Group of modules having the same access rights.
K̲e̲y̲
Field value used to identify a record.
S̲e̲a̲r̲c̲h̲ ̲K̲e̲y̲
Consists of three parts:
- Key
- Record Type
- Table Body (start addr. of table part)
T̲a̲b̲l̲e̲
List of same type records.
5.12.1.3.2 A̲b̲b̲r̲e̲v̲i̲a̲t̲i̲o̲n̲s̲
N/A.
5.12.2 S̲u̲m̲m̲a̲r̲y̲ ̲o̲f̲ ̲R̲e̲q̲u̲i̲r̲e̲m̲e̲n̲t̲s̲
5.12.2.1 T̲M̲P̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
TMP receives function requests from application packages
and SSC and returns answers by means of system call
monitor in CSF package.
TMP reads from disk and writes to disk via SFM.
Ref. fig. 5.12.2.1-1.
Fig. 5.12.2.1-1…01…Package Interrelationship
5.12.2.2 T̲M̲P̲ ̲F̲u̲n̲c̲t̲i̲o̲n̲s̲
5.12.2.2.1 T̲M̲P̲ ̲N̲o̲r̲m̲a̲l̲ ̲F̲u̲n̲c̲t̲i̲o̲n̲s̲
The normal TMP functions are:
- Search In Tables
- Update Of Tables
- Reorganization Of Tables
- Back-up/Reload Of TMP Data
- Global Number Series Management
- System Parameter Management
5.12.2.2.1.1 S̲e̲a̲r̲c̲h̲ ̲I̲n̲ ̲T̲a̲b̲l̲e̲s̲
One or more records from a table are identified after
a key value and delivered to caller. More than one
key to the same table may be specified at a time.
Only the record fields requested by caller are delivered.
5.12.2.2.1.2 U̲p̲d̲a̲t̲e̲ ̲O̲f̲ ̲T̲a̲b̲l̲e̲
One record is changed, inserted in a table or removed
from a table.
5.12.2.2.1.3 R̲e̲o̲r̲g̲a̲n̲i̲z̲a̲t̲i̲o̲n̲ ̲O̲f̲ ̲T̲a̲b̲l̲e̲s̲
A table is reorganized so unused records are removed
and records in overflow area are put in their appropriate
place.
5.12.2.2.1.4 B̲a̲c̲k̲-̲u̲p̲/̲R̲e̲l̲o̲a̲d̲ ̲O̲f̲ ̲T̲M̲P̲ ̲D̲a̲t̲a̲
Tables are backed up by copying them to an offline
volume, or they are reloaded by copying them back in
their appropriate position at the on-line volume.
5.12.2.2.1.5 G̲l̲o̲b̲a̲l̲ ̲N̲u̲m̲b̲e̲r̲ ̲S̲e̲r̲i̲e̲s̲ ̲M̲a̲n̲a̲g̲e̲m̲e̲n̲t̲
The GNS is maintained in a way, so that they may be
read or updated by other packages.
The read may cause the GNS being read to be increased
by one.
5.12.2.2.1.6 S̲y̲s̲t̲e̲m̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲ ̲M̲a̲n̲a̲g̲e̲m̲e̲n̲t̲
A system parameter may be read or set to a new value.
5.12.2.2.2 F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲R̲e̲s̲p̲o̲n̲s̲i̲b̲i̲l̲i̲t̲i̲e̲s̲
5.12.2.2.2.1 I̲n̲i̲t̲i̲a̲l̲i̲z̲a̲t̲i̲o̲n̲,̲ ̲C̲l̲o̲s̲e̲ ̲D̲o̲w̲n̲,̲ ̲a̲n̲d̲ ̲R̲e̲s̲t̲a̲r̲t̲
5.12.2.2.2.1.1 I̲n̲i̲t̲i̲a̲l̲i̲z̲a̲t̲i̲o̲n̲
In initialization TMP reloads all TMP data and copies
the memory resident data into memory. Then a completion
code is returned to SSC and TMP will then wait for
further requests.
5.12.2.2.2.1.2 C̲l̲o̲s̲e̲ ̲D̲o̲w̲n̲
TMP has no responsibility of its own by close down.
5.12.2.2.2.1.3 R̲e̲s̲t̲a̲r̲t̲
By restart TMP will read memory resident data into
memory.
Then a completion code is returned to SSC and TMP will
then wait for further requests.
5.12.2.2.2.2 C̲h̲e̲c̲k̲ ̲P̲o̲i̲n̲t̲i̲n̲g̲ ̲a̲n̲d̲ ̲R̲e̲c̲o̲v̲e̲r̲y̲
TMP performs no check pointing.
All data except global number series will be copied
to disk each time they are updated so they will always
be recoverable.
All requests to TMP where TMP has not yet returned
an answer are lost by system failure.
5.12.2.2.2.3 E̲r̲r̲o̲r̲ ̲D̲e̲t̲e̲c̲t̲i̲o̲n̲ ̲a̲n̲d̲ ̲E̲r̲r̲o̲r̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲
If input data in a TMP request are syntactically illegal
or inconsistent, the requesting process is retired
by using a Kernel call.
5.12.2.2.2.4 I̲n̲t̲e̲g̲r̲i̲t̲y̲ ̲o̲f̲ ̲O̲p̲e̲r̲a̲t̲i̲o̲n̲
TMP ensures that all requests will return an answer
to the calling process and that no request may cause
damage in the TMP process.
Inconsistence in TMP data caused by update may result
in no more output to processes requesting search than
a completion code.
Inconsistence in TMP data may only be coursed by a
misused update function.
The updated part of a table is written in a safety
copy at disk before the original table is updated.
5.12.2.2.2.5 D̲a̲t̲a̲ ̲C̲o̲l̲l̲e̲c̲t̲i̲o̲n̲
N/A.
5.12.2.2.2.6 S̲e̲c̲u̲r̲i̲t̲y̲
TMP ensures that no subprocess reads or updates data
not defined at system generation time.
5.12.2.3 C̲h̲a̲r̲a̲c̲t̲e̲r̲i̲s̲t̲i̲c̲s̲
5.12.2.3.1 T̲i̲m̲i̲n̲g̲
The access times specified here are maximum time per
key.
When more than one key is given by one request, the
mean time per key will be less than access time by
one key.
The total access time is the sum of the time used by
SFM and the time used by TMP.
The access times are:
FMS
TMP
- Parameter read or GNS access 0 ms 0,5
ms
- Search in memory resident tables 0 ms
10 ms
- Update of memory tables 80 ms
20 ms
- Search in disk tables 40 ms
20 ms
- Search in disk tables via reference 80 ms
30 ms
- Update of disk tables 120 ms
30 ms
5.12.2.3.2 T̲h̲r̲o̲u̲g̲h̲p̲u̲t̲
The throughput may be increased by having the disk
search coroutine in two incarnations.
The throughput will increase about 50%.
5.12.2.3.3 F̲l̲e̲x̲i̲b̲i̲l̲i̲t̲y̲
The number of data groups or the number of entries
in one data group may increase without affecting the
TMP Software.
The only difference is that more storage is needed.
5.12.2.3.4 A̲c̲c̲u̲r̲a̲c̲y̲
Any deviation from defined parameters will result in
the calling process being retired.
5.12.3 E̲n̲v̲i̲r̲o̲n̲m̲e̲n̲t̲
5.12.3.1 E̲q̲u̲i̲p̲m̲e̲n̲t̲
TMP executes in one processing unit consisting of more
than one CPU.
5.12.3.2 S̲o̲f̲t̲w̲a̲r̲e̲
5.12.3.2.1 S̲y̲s̲t̲e̲m̲ ̲S̲o̲f̲t̲w̲a̲r̲e̲
TMP uses the KERNEL, SFM, and CSF system software packages.
TMP must be controlled by an operation system, for
instance COPSY within SSC, defining the control parameters
used by TMP.
5.12.3.2.2 D̲e̲v̲e̲l̲o̲p̲m̲e̲n̲t̲ ̲S̲u̲p̲p̲o̲r̲t̲ ̲S̲o̲f̲t̲w̲a̲r̲e̲
The software used for development of this package is
contained in Support Software Package.
5.12.3.3 I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
5.12.3.3.1 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
N/A
5.12.3.3.2 P̲a̲c̲k̲a̲g̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
SSC, TEP, THP, and MDP interfaces to TMP by requesting
search and update functions.
5.12.3.4 F̲u̲n̲c̲t̲i̲o̲n̲s̲ ̲M̲a̲i̲n̲t̲a̲i̲n̲e̲d̲ ̲b̲y̲ ̲O̲t̲h̲e̲r̲ ̲P̲a̲c̲k̲a̲g̲e̲s̲
TMP is supported by Coroutine Monitor and System Call
Monitor in the CSF package.