top - download
⟦98b13d828⟧ Wang Wps File
Length: 21635 (0x5483)
Types: Wang Wps File
Notes: CPS/SDS/026
Names: »1587A «
Derivation
└─⟦7985b6947⟧ Bits:30005810 8" Wang WCS floppy, CR 0117A
└─ ⟦this⟧ »1587A «
WangText
…02…CPS/SDS/026
…02…BMN/840105…02……02…
TABLE MANAGEMENT
DETAILED DESIGN SPECIFICATION …02…ISSUE 1…02…CAMPS
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
1 GENERAL ...........................................
1 001
1.1 PURPOSE AND SCOPE ...............................
1 001
1.2 APPLICABLE DOCUMENTS AND PROJECT REF. ...........
1 001
1.2.1 Applicable Documents ........................
1 001
1.2.2 Project References ..........................
1 001
1.3 TERMS AND ABBREVIATIONS .........................
1 003
1.3.1 Terms .......................................
1 003
1.3.2 Abbreviations ...............................
1 003
2 SUMMARY OF REQUIREMENTS ...........................
2 001
2.1 TMP DESCRIPTION .................................
2 001
2.2 TMP FUNCTIONS ...................................
2 003
2.2.1 TMP Normal Functions ........................
2 003
2.2.1.1 Search In Tables ........................
2 003
2.2.1.2 Update Of Tables ........................
2 003
2.2.1.3 Reorganization Of Tables ................
2 003
2.2.1.4 Back-up/Reload of TMP Data ..............
2 003
2.2.1.5 Global Serial Number Management .........
2 004
2.2.1.6 System Parameter Management .............
2 004
2.2.2 Functional Responsibilities .................
2 004
2.2.2.1 Initialization, Close Down, and Restart
. 2 004
2.2.2.1.1 Initialization ......................
2 004
2.2.2.1.2 Close Down ..........................
2 004
2.2.2.1.3 Restart .............................
2 004
2.2.2.2 Check Pointing And Recovery .............
2 005
2.2.2.3 Error Detection And Error Handling ......
2 005
2.2.2.4 Integrity Of Operation ..................
2 005
2.2.2.5 Data Collection .........................
2 005
2.2.2.6 Security ................................
2 006
2.3 CHARACTERISTICS .................................
2 006
2.3.1 Timing ......................................
2 006
2.3.2 Throughput ..................................
2 006
2.3.3 Flexibility .................................
2 007
2.3.4 Accuracy ....................................
2 007
3 ENVIRONMENTS ......................................
3 001
3.1 EQUIPMENT .......................................
3 001
3.2 SOFTWARE ........................................
3 001
3.2.1 System Software .............................
3 001
3.2.2 Development Support Software ................
3 001
3.3 INTERFACES ......................................
3 001
3.3.1 External Interfaces .........................
3 001
3.3.2 Package Interfaces ..........................
3 002
3.4 FUNCTIONS MAINTAINED BY OTHER PACKAGES ..........
3 002
4 TMP DESIGN ........................................
4 001
4.1 TMP OVERVIEW ....................................
4 001
4.1.1 Functional Description ......................
4 001
4.1.1.1 Table Organization And Access Methods
... 4 001
4.1.1.1.1 Table Organization ..................
4 001
4.1.1.1.2 Record Structure ....................
4 002
4.1.1.1.3 Field Structure .....................
4 002
4.1.1.1.4 Table Description ...................
4 003
4.1.1.2 Table Search ............................
4 009
4.1.1.3 Table Update ............................
4 010
4.1.1.4 TMP Interface Functions .................
4 010
4.1.1.5 System Parameters And Global Number
Series ..................................
4 011
4.1.1.6 Back-up And Reload ......................
4 011
4.1.1.7 Reorganize ..............................
4 011
4.1.1.8 Functional Breakdown ....................
4 011
4.1.1.8.1 Table Search Functions ..............
4 014
4.1.1.8.1.1 Search Communication ...........
4 014
4.1.1.8.1.2 Sort Keys ......................
4 014
4.1.1.8.1.3 General Search .................
4 014
4.1.1.8.1.4 Memory Table Search ............
4 014
4.1.1.8.1.5 Disk Table Search ..............
4 015
4.1.1.8.1.6 Special Search .................
4 015
4.1.1.8.2 Table Update Functions ..............
4 015
4.1.1.8.2.1 Update Communication ...........
4 015
4.1.1.8.2.2 Search .........................
4 015
4.1.1.8.2.3 Update Record ..................
4 016
4.1.1.8.2.4 Update Disk ....................
4 016
4.1.1.8.2.5 Support ........................
4 016
4.1.1.8.2.6 Start Up .......................
4 016
4.1.1.8.3 TMP Monitor .........................
4 016
4.1.1.8.3.1 Process Functions ..............
4 017
4.1.1.8.3.2 Monitor Functions ..............
4 017
4.1.1.8.3.3 Main Functions .................
4 017
4.1.2 TMP Software Structure ......................
4 017
4.1.2.1 TMP Process .............................
4 018
4.1.2.2 TMP Monitor .............................
4 018
4.1.2.3 Coroutine Monitor .......................
4 018
4.1.3 Data Flow And Control Logic .................
4 020
4.1.3.1 Control Logic ...........................
4 020
4.1.4 TMP Package Data ............................
4 024
4.1.4.1 TMP Package Types .......................
4 024
4.1.4.2 TMP Package Variables ...................
4 024
4.1.4.3 TMP Package Disk Files ..................
4 024
4.1.4.4 Tables ..................................
4 024
4.1.4.4.1 Routing Tables ......................
4 024
4.1.4.4.2 Distribution Tables .................
4 025
4.1.4.4.3 Profile Tables ......................
4 025
4.1.4.4.4 Memory Tables .......................
4 025
4.1.4.4.5 Other Tables ........................
4 026
4.1.4.5 System Parameters .......................
4 026
4.1.4.6 Global Serial Number ....................
4 029
4.1.5 TMP Common Package Procedures ...............
4 032
4.1.5.1 TMP Retire ..............................
4 032
4.1.5.1.1 Functional Specification ............
4 032
4.1.5.1.2 Interface ...........................
4 032
4.1.5.1.3 Data ................................
4 032
4.1.5.1.4 TMP Retire Procedure Design .........
4 033
4.1.5.2 Map Params In ...........................
4 033
4.1.5.2.1 Functional Specification ............
4 033
4.1.5.2.2 Interface ...........................
4 035
4.1.5.2.3 Data ................................
4 035
4.1.5.2.4 Map Params In Procedure Design ......
4 036
4.1.5.3 Map Params Out ..........................
4 036
4.1.5.3.1 Functional Specification ............
4 036
4.1.5.3.2 Interface ...........................
4 036
4.1.5.3.3 Data ................................
4 037
4.1.5.3.4 Map Params Out Procedure Design .....
4 037
4.1.5.4 Check Address ..........................
4 037
4.1.5.4.1 Functional Specification ...........
4 037
4.1.5.4.2 Interface ..........................
4 038
4.1.5.4.3 Data ...............................
4 038
4.1.5.4.4 Procedure Design ...............
... 4 039
4.1.5.5 Send Response ..........................
4 039
4.1.5.5.1 Functional Specification ...........
4 039
4.1.5.5.2 Interface ..........................
4 039
4.1.5.5.3 Data ...............................
4 040
4.1.5.5.4 Send Response Procedure Design .....
4 040
4.1.5.6 Modify Record ..........................
4 041
4.1.5.6.1 Functional Specification ...........
4 041
4.1.5.6.2 Interface ..........................
4 041
4.1.5.6.3 Data ...............................
4 042
4.1.5.6.4 Modify Record Procedure Design ....
4 042
4.1.5.7 Read Disk Block ........................
4 042
4.1.5.7.1 Functional Specification ...........
4 042
4.1.5.7.2 Interface ..........................
4 043
4.1.5.7.3 Data ...............................
4 044
4.1.5.7.4 Read Disk Block Procedure Design
... 4 044
4.1.5.8 Move Words .............................
4 044
4.1.5.8.1 Functional Specification ...........
4 044
4.1.5.8.2 Interface ..........................
4 045
4.1.5.8.3 Data ...............................
4 045
4.1.5.8.4 Move Words Procedure Design ........
4 045
4.1.5.9 Insert .................................
4 046
4.1.5.9.1 Functional Specification ...........
4 046
4.1.5.9.2 Interface ..........................
4 046
4.1.5.9.3 Data ...............................
4 046
4.1.5.9.4 Insert Procedure Design ............
4 047
4.1.5.10 Compare Long .........................
4 047
4.1.5.10.1 Functional Specification ..........
4 047
4.1.5.10.2 Interface .........................
4 048
4.1.5.10.3 Data ..............................
4 048
4.1.5.10.4 Compare Long Procedure Design .....
4 048
4.1.6 Common Data ................................
4 049
4.1.7 TMP Interfaces .............................
4 050
4.1.7.1 External Interfaces ....................
4 050
4.1.7.2 Package Interfaces .....................
4 050
4.1.7.3 Subpackage Interface ...................
4 051
4.2 SUBPACKAGE SPECIFICATION .......................
4 053
4.2.1 Search Subpackage Specification ............
4 053
4.2.1.1 Functional Specification ...............
4 053
4.2.1.1.1 Search Communication ...............
4 053
4.2.1.1.2 Sort Keys ..........................
4 053
4.2.1.1.3 General Search .....................
4 053
4.2.1.1.4 Memory Search ......................
4 054
4.2.1.1.5 Disk Search ........................
4 054
4.2.1.1.6 Special Search .....................
4 054
4.2.1.2 Search Subpackage Software Structure
... 4 054
4.2.1.2.1 Search Communication ...............
4 054
4.2.1.2.2 Sort Keys ..........................
4 054
4.2.1.2.3 General Search .....................
4 055
4.2.1.2.4 Memory Search ......................
4 055
4.2.1.2.5 Disk Search ........................
4 055
4.2.1.2.6 Special Search .....................
4 055
4.2.1.2.7 Common Subpackage Procedures .......
4 055
4.2.1.3 Data Flow And Control Logic ............
4 057
4.2.1.4 Search Subpackage Module Specification
. 4 059
4.2.1.4.1 Search Communication Module
Specification ....................
4 059
4.2.1.4.1.1 Functional Specification .......
4 059
4.2.1.4.1.2 Search Communication Module
Interface ......................
4 059
4.2.1.4.1.3 Search Communication Module
Components .....................
4 060
4.2.1.4.1.4 Search Communication Module Data
4 060
4.2.1.4.1.5 Search Communication Module
Design .........................
4 061
4.2.1.4.2 Sort Keys Module Specification .....
4 066
4.2.1.4.2.1 Functional Specification .......
4 066
4.2.1.4.2.2 Sort Keys Module Interface .....
4 066
4.2.1.4.2.3 Sort Keys Module Components ....
4 067
4.2.1.4.2.4 Sort keys Module Data ..........
4 068
4.2.1.4.2.5 Sort Keys Module Design ........
4 069
4.2.1.4.3 General Search Module Specification
4 073
4.2.1.4.3.1 Functional Specification .......
4 073
4.2.1.4.3.2 General Search Module Interface
4 073
4.2.1.4.3.3 General Search Module
Components .....................
4 074
4.2.1.4.3.4 General Search Module Data .....
4 074
4.2.1.4.3.5 General Search Module Design
... 4 074
4.2.1.4.4 Memory Search Module Specification
. 4 076
4.2.1.4.4.1 Functional Specification .......
4 076
4.2.1.4.4.2 Interface ......................
4 076
4.2.1.4.4.3 Memory Search Module Components
4 077
4.2.1.4.4.4 Memory Search Module Data ......
4 078
4.2.1.4.4.5 Memory Search Module Design ....
4 079
4.2.1.4.5 Disk Search Module Specification
... 4 081
4.2.1.4.5.1 Functional Specification .......
4 081
4.2.1.4.5.2 Interface ......................
4 084
4.2.1.4.5.3 Disk Search Module Components
.. 4 084
4.2.1.4.5.4 Disk Search Module Data ........
4 086
4.2.1.4.4.5 Disk Search Module Design ......
4 086
4.2.1.4.6 Special Search Module Specification
4 094
4.2.1.4.6.1 Functional Specification .......
4 094
4.2.1.4.6.2 Special Search Module Interface
4 094
4.2.1.4.6.3 Special Search Module
Components .....................
4 094
4.2.1.4.6.4 Special Search Module Data .....
4 095
4.2.1.4.6.5 Special Search Module Design
... 4 096
4.2.1.5 Search Subpackage Data .................
4 097
4.2.1.5.1 Coroutine Records ..................
4 097
4.2.1.5.2 Search Subpackage Disk Buffer ......
4 097
4.2.1.6 Common Search Subpackage Procedures ....
4 098
4.2.1.6.1 Deliver Output .....................
4 098
4.2.1.6.1.1 Functional Specification .......
4 098
4.2.1.6.1.2 Interface ......................
4 098
4.2.1.6.1.3 Data ...........................
4 099
4.2.1.6.1.4 Deliver Output Procedure Design
4 099
4.2.1.6.2 Compare Fields .....................
4 099
4.2.1.6.2.1 Functional Specification .......
4 099
4.2.1.6.2.2 Interface ......................
4 100
4.2.1.6.2.3 Data ...........................
4 100
4.2.1.6.2.4 Compare Fields Procedure Design
4 100
4.2.1.7 Search Subpackage Interface ............
4 101
4.2.2 Update Subpackage Specification ............
4 106
4.2.2.1 Functional Specification ...............
4 106
4.2.2.2 Update Subpackage Software Structure
... 4 106
4.2.2.2.1 Update Communication ...............
4 106
4.2.2.2.2 Search .............................
4 106
4.2.2.2.3 Update Record ......................
4 107
4.2.2.2.4 Update Disk ........................
4 107
4.2.2.2.5 Support ............................
4 107
4.2.2.2.6 Start Up ...........................
4 108
4.2.2.3 Update Subpackage Control Logic ........
4 108
4.2.2.4 Update Subpackage Module Specification
. 4 110
4.2.2.4.1 Update Communication Module
Specification ......................
4 110
4.2.2.4.1.1 Functional Specification .......
4 110
4.2.2.4.1.2 Update Communication Interface
. 4 110
4.2.2.4.1.3 Update Communication Components
4 111
4.2.2.4.1.4 Update Communication Data ......
4 111
4.2.2.4.1.5 Update Communication Design ....
4 112
4.2.2.4.2 Search Module Specification ........
4 115
4.2.2.4.2.1 Functional Specification .......
4 115
4.2.2.4.2.2 Search Interface ...............
4 115
4.2.2.4.2.3 Search Module Components .......
4 116
4.2.2.4.2.4 Search Module Data .............
4 116
4.2.2.4.2.5 Search Module Design ...........
4 116
4.2.2.4.3 Update Record Module Specification
. 4 117
4.2.2.4.3.1 Functional Specification .......
4 117
4.2.2.4.3.2 Interface ......................
4 117
4.2.2.4.3.3 Update Record Module Components
4 117
4.2.2.4.3.4 Update Record Module Data ......
4 119
4.2.2.4.3.5 Update Record Module Design ....
4 120
4.2.2.4.4 Update Disk Module Specification
... 4 122
4.2.2.4.4.1 Functional Specification .......
4 122
4.2.2.4.4.2 Update Disk Module Interface
... 4 124
4.2.2.4.4.3 Update Disk Module Components
.. 4 127
4.2.2.4.4.4 Update Disk Module Data ........
4 127
4.2.2.4.4.5 Update Disk Module Design ......
4 128
4.2.2.4.5 Support Module Specification .......
4 129
4.2.2.4.5.1 Functional Specification .......
4 129
4.2.2.4.5.2 Support Module Interface .......
4 129
4.2.2.4.5.3 Support Module Components ......
4 130
4.2.2.4.5.4 Support Module Data ............
4 131
4.2.2.4.5.5 Support Module Design ..........
4 131
4.2.2.4.6 Start Up Module Specification ......
4 134
4.2.2.4.6.1 Functional Specification .......
4 134
4.2.2.4.6.2 Start Up Module Interface ......
4 135
4.2.2.4.6.3 Start Up Module Components .....
4 135
4.2.2.4.6.4 Start Up Module Data ...........
4 137
4.2.2.4.6.5 Start Up Module Design .........
4 138
4.2.2.5 Update Subpackage Data .................
4 139
4.2.2.6 Common Update Subpackage Procedures ....
4 139
4.2.2.7 Update Subpackage Interface ............
4 139
4.2.2.7.1 Request From TMP Monitor ...........
4 139
4.2.2.7.2 Response To TMP Monitor ............
4 139
4.2.2.7.3 Search Request .....................
4 140
4.2.2.7.4 Disable Search .....................
4 140
4.2.3 TMP Monitor ................................
4 141
4.2.3.1 Functional Specification ...............
4 141
4.2.3.2 Software Structure .....................
4 143
4.2.3.2.1 SCM Procedures .....................
4 143
4.2.3.2.2 Internal Procedures ................
4 143
4.2.3.3 Data Flow, Control Logic, and
Waiting Points .........................
4 143
4.2.3.4 Module Specification ...................
4 145
4.2.3.4.1 TMP Process Functions Module .......
4 145
4.2.3.4.1.1 Functional Description .........
4 145
4.2.3.4.1.2 Interface ......................
4 145
4.2.3.4.1.3 Components .....................
4 146
4.2.3.4.1.4 Data Description ...............
4 146
4.2.3.4.1.5 Module Design ..................
4 146
4.2.3.4.2 TMP Monitor Functions Module .......
4 147
4.2.3.4.2.1 Functional Specification .......
4 147
4.2.3.4.2.2 Interface Specification ........
4 147
4.2.3.4.2.3 Components .....................
4 147
4.2.3.4.2.4 Data Description ...............
4 149
4.2.3.4.2.5 Module Design ..................
4 149
4.2.3.4.3 Main Module ........................
4 152
4.2.3.4.3.1 Functional Specification .......
4 152
4.2.3.4.3.2 Interface ......................
4 153
4.2.3.4.3.3 Components .....................
4 154
4.2.3.4.3.4 Data Description ...............
4 154
4.2.3.4.3.5 Module Design ..................
4 154
4.2.3.5 Subpackage Data ........................
4 155
4.2.3.6 Common Subpackage procedures ...........
4 155
4.2.3.6.1 Check GSN ID .......................
4 155
4.2.3.6.1.1 Functional Specifications ......
4 155
4.2.3.6.1.2 Interface ......................
4 155
4.2.3.6.1.3 Data Description ...............
4 155
4.2.4.6.1.4 Check GSN ID Design ............
4 156
4.2.3.6.2 Check Page Access ..................
4 156
4.2.3.6.2.1 Functional Specification .......
4 156
4.2.3.6.2.2 Interface ......................
4 157
4.2.3.6.2.3 Data Description ...............
4 157
4.2.3.6.2.4 Check Page Access Design .......
4 157
4.2.3.6.3 TMP Retire .........................
4 157
4.2.3.6.3.1 Functional Specification .......
4 157
4.2.3.6.3.2 Interface ......................
4 158
4.2.3.6.3.3 Data Description ...............
4 158
4.2.3.6.3.4 TMP Retire Design ..............
4 158
4.2.3.6.4 Update SOCB ........................
4 159
4.2.3.6.4.1 Functional Specification .......
4 159
4.2.3.6.4.2 Interface ......................
4 159
4.2.3.6.4.3 Data Description ...............
4 159
4.2.3.6.4.4 Update SOCB Design .............
4 160
4.2.3.6.5 Lock TMP ...........................
4 160
4.2.3.6.5.1 Functional Specification .......
4 160
4.2.3.6.5.2 Interface ......................
4 160
4.2.3.6.5.3 Data Description ...............
4 160
4.2.3.6.5.4 Lock TMP Design ................
4 160
4.2.3.6.6 Unlock TMP .........................
4 161
4.2.3.6.6.1 Functional Specification .......
4 161
4.2.3.6.6.2 Interface ......................
4 161
4.2.3.6.6.3 Data Description ...............
4 161
4.2.3.6.6.4 Unlock TMP Design ..............
4 161
4.2.3.6.7 CSP ERROR ..........................
4 162
4.2.3.6.7.1 Functional Specification .......
4 162
4.2.3.6.7.2 Interface ......................
4 162
4.2.3.6.7.3 Data Description ...............
4 162
4.2.3.6.7.4 CSP ERROR Design ...............
4 162
4.2.3.6.8 Get Registers ......................
4 163
4.2.3.6.8.1 Functional Specification .......
4 163
4.2.3.6.8.2 Interface ......................
4 163
4.2.3.6.8.3 Data Description ...............
4 163
4.2.3.6.8.4 Get Registers Design ...........
4 163
4.2.3.7 Subpackage Interface ...................
4 163
4.2.3.7.1 Infoblock Send to TMP ..............
4 164
4.2.3.7.2 Answer received from TMP ...........
4 164
4.3 MEMORY LAYOUT ..................................
4 166
4.3.1 Table Storage ..............................
4 166
4.3.2 Working Storage ............................
4 167
4.3.3 Code Storage ...............................
4 167