DataMuseum.dk

Presents historical artifacts from the history of:

CR80 Wang WCS documentation floppies

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about CR80 Wang WCS documentation floppies

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦27ea8f504⟧ Wang Wps File

    Length: 36768 (0x8fa0)
    Types: Wang Wps File
    Notes: CPS/SDS/029               
    Names: »1832A «

Derivation

└─⟦bf0247e75⟧ Bits:30006089 8" Wang WCS floppy, CR 0141A
    └─ ⟦this⟧ »1832A « 

WangText

…1e……00……00……00……00…F…0a……00……00…F…86…1                                             …02…           …02…   …02…        

…02…CPS/SDS/029

…02…820514…02……02…
SYSTEM STATUS AND CONTROL
DETAILED DESIGN SPECIFICATION …02……02…CAMPS








                 T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲



   1  GENERAL .......................................
   1 0001

     1.1  PURPOSE AND SCOPE .........................
     1 0001
     1.2  APPLICABLE DOCUMENTS AND PROJECT
          REFERENCES ................................
         1 0002
       1.2.1  Applicable Documents ..................
       1 0002
       1.2.2  Project References ....................
       1 0003

     1.3  TERMS AND ABBREVIATIONS ...................
     1 0004
       1.3.1  Terms .................................
       1 0004
       1.3.2  Abbreviations .........................
       1 0014

   2  SUMMARY OF REQUIREMENTS .......................
   2 0001

     2.1  PACKAGE DESCRIPTION .......................
     2 0002
       2.1.1  Block Diagram .........................
       2 0002

     2.2  PACKAGE FUNCTIONS .........................
     2 0004
       2.2.1  Main Functions ........................
       2 0004
         2.2.1.1  On-Line Diagnostics ...............
         2 0007
         2.2.1.2  Line Monitoring and Control .......
         2 0007
           2.2.1.2.1 Terminal Monitoring and Contro
                     (TEMCO) ........................
                 2 0007
           2.2.1.2.2 Device Monitoring and Control
                     (DEMCO) ........................
                 2 0008
           2.2.1.2.3 Channel Monitoring and Control
                       (CEMCO) ........................
 2 0009
           2.2.1.2.4  Watchdog Monitoring and
                      Control (WAMCO) ...............
                   2 0009

         2.2.1.3  Handling of Technical Error Reports
         2 0010
           2.2.1.3.1  System Call or Asynchronously .
           2 0011
             2.2.1.3.1.1  Error Types ...............
             2 0011
             2.2.1.3.1.2  Reporting .................
             2 0011
             2.2.1.3.1.3  Error Reaction by the 
                          Service System ............
                   2 0011
             2.2.1.3.1.4  Error Action by Service
                          System and Reporting in Re-
                            lation to Error Type ......
 2 0012
             2.2.1.3.1.5  Error Action by the User ..
             2 0013
             2.2.1.3.1.6  Specific User Reactions ...
             2 0013



           2.2.1.3.2  Instruction Execution .........
           2 0014
           2.2.1.3.3  Validity Checks ...............
           2 0014
             2.2.1.3.3.1  Error Types ...............
             2 0014
             2.2.1.3.3.2  Error Detection ...........
             2 0015
             2.2.1.3.3.3  Reporting .................
             2 0015
             2.2.1.3.3.4  Error Actions by SEND
                          GARBLE ....................
       2 0016

           2.2.1.3.4  Watchdog (WDP) Monitoring .....
           2 0017
           2.2.1.3.5  COPSY Handling of Error Reports
           2 0017
             2.2.1.3.5.1  PSE Reports (and no GAQ
                          Report) ...................
         2 0017
             2.2.1.3.5.2  GAQ Reports ...............
             2 0017
             2.2.1.3.5.3  TMS DSSE Reports ..........
             2 0018
             2.2.1.3.5.4  FMS DSSE Reports ..........
             2 0019
             2.2.1.3.5.5  CESE Reports ..............
             2 0019
             2.2.1.3.5.6  WDP Monitoring Reports ....
             2 0019

           2.2.1.3.6  CAMPS Modes ...................
           2 0020
           2.2.1.3.7  Process Types .................
           2 0020
           2.2.1.3.8  User Specified Actions ........
           2 0021
           2.2.1.3.9  Emergency Close-Down/Switchover
           2 0021

         2.2.1.4  Operator Commands to an On-Line PU 
         2 0022
         2.2.1.5  Off-Line PU Operation .............
         2 0023
           2.2.1.5.1  Commands to the Off-Line PU ...
           2 0023
           2.2.1.5.2  Allocation of Resources to
                      the Off-Line PU ...............
                   2 0023

         2.2.1.6  Watchdog Firmware Functions .......
         2 0024
           2.2.1.6.1  Watchdog Line Communication ...
           2 0024
           2.2.1.6.2  Switch Logic ..................
           2 0025
           2.2.1.6.3  Switchover ....................
           2 0025
           2.2.1.6.4  WDP Standard Firmware .........
           2 0026

       2.2.2  Functional Responsibilities ...........
       2 0026
         2.2.2.1  Initialization, Close-Down, and
                  Restart ...........................
                 2 0026
           2.2.2.1.1  Start-Up (Initialization and
                      Restart) ......................
                     2 0026
             2.2.2.1.1.1  Boot Load .................
             2 0026
             2.2.2.1.1.2  Start-Up of Active and 
                          Stand By PU ...............
                       2 0030
             2.2.2.1.1.3  Disk Start-Up Information .
             2 0038
             2.2.2.1.1.4  Trace Function ............
             2 0039



           2.2.2.1.2  Ordered Close-Down ............
           2 0040
             2.2.2.1.2.1  AC PU Ordered Close-Down ..
             2 0040
             2.2.2.1.2.2  SB PU Ordered Close-Down ..
             2 0042

         2.2.2.2  Checkpointing and Recovery ........
         2 0042
           2.2.2.2.1  Checkpointing .................
           2 0042
           2.2.2.2.2  Recovery ......................
           2 0044

         2.2.2.3  Handling of SSC Internal Detected
                  Errors ............................
                 2 0044
           2.2.2.3.1  In the PU .....................
           2 0046
           2.2.2.3.2  In the WDP ....................
           2 0047

         2.2.2.4  Integrity of Operation ............
         2 0047
         2.2.2.5  Data Collection ...................
         2 0050
           2.2.2.5.1  LOG ...........................
           2 0050
           2.2.2.5.2  Statistics ....................
           2 0050
           2.2.2.5.3  Reports .......................
           2 0052

         2.2.2.6  Security ..........................
         2 0052
           2.2.2.6.1  Security on DAMOS Objects .....
           2 0052
           2.2.2.6.2  Security on CAMPS Queues ......
           2 0053
           2.2.2.6.3  Security on CAMPS Supprocesses 
           2 0053
           2.2.2.6.4  Presentation of Messages ......
           2 0054

     2.3  CHARACTERISTICS ...........................
     2 0056
       2.3.1  Timing ................................
       2 0056
         2.3.1.1  Switchover ........................
         2 0056
         2.3.1.2  Initialization ....................
         2 0056
         2.3.1.3  Recovery/Restart ..................
         2 0056
         2.3.1.4  Watchdog Line Speeds ..............
         2 0056
         2.3.1.5  Response Time .....................
         2 0057
         2.3.1.6  Start-Up and Close-Down Sequence ..
         2 0057
         2.3.1.7  Priorities of Input ...............
         2 0057

       2.3.2  Throughput ............................
       2 0057
         2.3.2.1  Increase of Software Size .........
         2 0057
         2.3.2.2  Equipment Capacity ................
         2 0058

       2.3.3  Flexibility ...........................
       2 0058
         2.3.3.1  Hardware Configuration Changes ....
         2 0058
         2.3.3.2  Operator Commands .................
         2 0058
         2.3.3.3  Loading of New Versions of Software
         2 0058

       2.3.4  Accuracy and Validity .................
       2 0059
         2.3.4.1  Accuracy of Input Data ............
         2 0059
         2.3.4.2  Accuracy of Transmitted Data ......
         2 0059



   3  ENVIRONMENT ...................................
   3 0001

     3.1  EQUIPMENT .................................
     3 0001
     3.2  SOFTWARE ..................................
     3 0001
       3.2.1  System Software .......................
       3 0001
       3.2.2  Development Software ..................
       3 0001

     3.3  INTERFACES ................................
     3 0001
       3.3.1  External Interfaces ...................
       3 0001
       3.3.2  Package Interfaces ....................
       3 0002
         3.3.2.1  Start-Up and Close Down of
                    Processes .........................
 3 0002
         3.3.2.1.1  Specific Start-up ...............
         3 0004
         3.3.2.1.2  Close Down System ...............
         3 0004
         3.3.2.2  Online Operation Commands to SSC ..
         3 0003
         3.3.2.3  SSC Generation of Logs, Reports
                  and Statistics ....................
     3 0005
           3.3.2.3.1  Generation of Log .............
           3 0005
           3.3.2.3.2  Generation of Statistics ......
           3 0006
           3.3.2.3.3  Generation of Security Reports 
           3 0006
           3.3.2.3.4  Sending of Technical Error
                      Reports .......................
                   3 0006

         3.3.2.4  SSC Reception of Error Reports ....
         3 0007
         3.3.2.5  SSC Line Subprocess Control .......
         3 0007
         3.3.2.6  SSC Interfaces to SSP and OLP .....
         3 0009

     3.4  FUNCTIONS MAINTAINED BY OTHER PACKAGES ....
     3 0010
       3.4.1  Recovery ..............................
       3 0010
       3.4.2  Error Detection and Handling ..........
       3 0010
       3.4.3  Security ..............................
       3 0011

   4  PACKAGE DESIGN ................................
   4 0001

     4.1  PACKAGE OVERVIEW ..........................
     4 0001
       4.1.1  Functional Specification ..............
       4 0001
         4.1.1.1  On-Line Diagnostics ...............
         4 0003
         4.1.1.2  LINE M&C ..........................
         4 0003
           4.1.1.2.1  Execution of External Commands 
           4 0005
           4.1.1.2.2  Monitoring of Line Events
                      and Subsequent Control ........
                     4 0007

         4.1.1.3  Technical Error Report Handling ...
         4 0015
           4.1.1.3.1  Error Reception ...............
           4 0020
           4.1.1.3.2  HW Error Fix-Up ...............
           4 0020
             4.1.1.3.2.1  LTU Line ..................
             4 0021
             4.1.1.3.2.2  LTU .......................
             4 0022


             4.1.1.3.2.3  LTUX Line .................
             4 0022
             4.1.1.3.2.3  LTUX ......................
             4 0022
             4.1.1.3.2.4  LTUX ......................
             4 0022
             4.1.1.3.2.5  BSM-X .....................
             4 0022
             4.1.1.3.2.6  Off-Line Disk Volume ......
             4 0022
             4.1.1.3.2.7  Off-Line Disk .............
             4 0022
             4.1.1.3.2.8  Floppy Disk Volume ........
             4 0023
             4.1.1.3.2.9  Floppy Disk ...............
             4 0023
             4.1.1.3.2.10 WDP .......................
             4 0023
             4.1.1.3.2.11 WDP VDU ...................
             4 0024
             4.1.1.3.2.12 WDP-ROP ...................
             4 0024
             4.1.1.3.2.13 STI, TIA, MAP Error .......
             4 0026
             4.1.1.3.2.14 Mirrored Disk Volume ......
             4 0026
             4.1.1.3.2.15 Mirrored Disk .............
             4 0026
             4.1.1.3.2.16 Standby PU ................
             4 0026
             4.1.1.3.2.17 Active Pu .................
             4 0027

         4.1.1.4  Operator Commands .................
         4 0027
           4.1.1.4.1 Software Control ...............
           4 0029
             4.1.1.4.1.1 Online Software Control
                           Commands ...................
 4 0029

           4.1.1.4.2  Peripheral Reconfiguration ....
           4 0030
           4.1.1.4.3  PU Reconfiguration ............
           4 0030
             4.1.1.4.3.1  Switchover ................
             4 0030
             4.1.1.4.3.2  Operator Only Mode Commands
             4 0031
             4.1.1.4.3.2  Close ̲Down Active PU ......
             4 0032
             4.1.1.4.3.3  Start Standby .............
             4 0032

         4.1.1.5  Off-Line Functions ............... 4
         0034
         4.l.l.6 WDP EW Functions................... 4
                 0034
           4.l.l.6.l WOP Input from PUs   (refer
                     to figure 4.l.l.6.l-l)......... 4
                     0036
             4.l.l.6.l.l Offline Communication...... 4
                         0036
             4.l.l.6.l.2 Keep Alive Messages........ 4
                         0036
             4.l.l.6.l.3 Configuration Display
                         Update..................... 4
                         0036
             4.l.l.6.l.4 WDE VDU Format Output...... 4
                         0038
             4.l.l.6.l.5 WDP ROP Reports............ 4
                         0038
             4.l.l.6.l.6 COPSY Control Commands..... 4
                         0038

           4.l.l.6.2 Input from the WDP-VDU......... 4
                     0038
           4.l.l.6.3 Configuration Control Bus
                     Input.......................... 4
                     0041
           4.l.l.6.4 Standard Firmware.............. 4
                     0041



         4.1.1.7  Common SSC Functions ............. 4
         0042

       4.1.2 Software Structure .................... 4
             0044
       4.1.3 Data Flow and Control Logic ........... 4
             0057
         4.1.3.1 COPSY Coroutines Data Flow and
                 Control Logic ..................... 4
                 0057
           4.1.3.1.1 CMD Coroutine Data Flow and
                     Control Logic.................. 4
                     0059
           4.1.3.1.2 SEH Coroutine Data Flow and 
                     Control Logic.................. 4
                     0060
           4.1.3.1.3 TEMCO,DEMCO,CEMCO Coroutines
                     Data Flow and Control Logic ... 4
                     0060
             4.1.3.1.3.1 Design .................... 4
             0061
             4.1.3.1.3.2 Input Commands ............ 4
             0061
             4.1.3.1.3.3 Processing ................ 4
             0061
             4.1.3.1.3.4 Subprocess Communication .. 4
             0062

           4.1.3.1.4 WAMCO Coroutines Data Flow 
                     and Control Logic.............. 4
                     0063
           4.1.3.1.5 The Configuration Handler (CFH)
                     Data Flow and Control Logic.... 4
                     0063
             4.1.3.1.5.1 COPSY-INIT ................ 4
             0064
             4.1.3.1.5.2 CFH Coroutine ............. 4
             0064
             4.1.3.1.5.3 Count Reply 
                         Coroutine (COUNT) ......... 4
                       0065

         4.1.3.2 CMI Data Flow and Control Logic ... 4
                 0065
         4.1.3.3 OLD Data Flow and Control Logic ... 4
                 0068
         4.1.3.4 WDP Data  Flow and Control Logic .. 4
                 0070
           4.1.3.4.1 Input to the WDP from a PU..... 4
                     0072
           4.1.3.4.2 Input to the WDP from a VDU.... 4
                     0072
           4.1.3.4.3 CCB Scanning................... 4
                     0073
           4.1.3.4.4 Buffer Handling................ 4
                     0073

       4.1.4 Common Data ............................
             4 0074
         4.1.4.1 Process and Subprocess Tables ......
                 4 0074
         4.1.4.2 Peripheral Device Parameter ........
                 4 0079
           4.1.4.2.1 TMS Data .......................
                     4 0079
           4.1.4.2.2 FMS Data .......................
                     4 0080

         4.1.4.3 SSC Files and Directories ..........
                 4 0082
         4.1.4.4 COPSY Coroutines Parameters ........
                 4 0085
         4.1.4.5 SSC Internal Interface Types .......
                 4 0090
           4.1.4.5.1 CFH Completion Codes to CMI ....
           4 0090
           4.1.4.5.2 Various ........................
           4 0092
           4.1.4.5.3 COPSY Garble Types .............
           4 0101



         4.1.4.6  Watchdog Monitoring and Control
                  Table .............................
               4 0103

       4.1.5  Common Package Procedures .............
       4 0104
         4.1.5.1 Procedure SEARCH ONE SECONDARY .....
                 4 0104
         4.1.5.2 Procedure SEARCH ENTRY .............
                 4 0108
         4.1.5.3 Procedure SEARCH FIELD .............
                 4 0111
         4.1.5.4 Procedure UPDATE ENTRY .............
                 4 0114
         4.1.5.5 WAIT TIME LIMITED ON QUEUE .........
                 4 0117
         4.1.5.6 CREATE VDU TERMINALS ...............
                 4 0122
         4.1.5.7 OFFER VDU CONNECTIONS ..............
                 4 0125
         4.1.5.8 CREATE TREE ........................
                 4 0128
         4.1.5.9 CREATE PHYS WDP ....................
                 4 0132
         4.1.5.10  CREATE WDP VDU ...................
                   4 0135
         4.1.5.11  CREATE WDP ROP ...................
                   4 0138
         4.1.5.12  CREATE WDP .......................
                   4 0142
         4.1.5.13  COPSY SEND GARBLE ................
                   4 0144
         4.1.5.14  CONF DISPLAY .....................
                   4 0147
         4.1.5.15  REPORT ERROR .....................
                   4 0151
         4.1.5.16  PU DOWN ..........................
                   4 0161
         4.1.5.17  SEND SSC REPLY ...................
                   4 0164

       4.1.6 Global Data Elements ...................
             4 0167
       4.1.7 Interfaces .............................
             4 0168
         4.1.7.1 External Interfaces ................
                 4 0168
         4.1.7.2 Package Interfaces .................
                 4 0168
           4.1.7.2.1 Interface MMON to COPSY (CMD) ..
                     4 0168
           4.1.7.2.2 COPSY (TEMCO) to MMON ..........
                     4 0169

         4.1.7.3 Subpackage Interfaces ..............
                 4 0169
           4.1.7.3.1 CFH TEMCO CFH Interface ........
                     4 0169
           4.1.7.3.2 CFH DEMCO CFH Interfaces .......
                     4 0170
           4.1.7.3.3 CFH CEMCO CFH Interfaces .......
                     4 0170
           4.1.7.3.4 CFH WAMCO ......................
                     4 0171
           4.1.7.3.5 WAMCO CFH Interface ............
                     4 0171
             4.1.7.3.5.1 CMD = YOU.ARE ..............
             4 0171
             4.1.7.3.5.2 CMD = CCB REPORT ...........
             4 0171
             4.1.7.3.5.3 CMD = REPORT NUMBER ........
             4 0172

           4.1.7.3.6 EHD CFH ........................
                     4 0173
             4.1.7.3.6.1 CMI & TIMEOUT Commands .....
             4 0173
             4.1.7.3.6.2 SUPV Commands ..............
             4 0173
             4.1.7.3.6.3 Time Out  ..................
             4 0174

           4.1.7.3.7 CFH-EHD ........................
                     4 0174
           4.1.7.3.8 EHD TEMCO ......................
                     4 0175
           4.1.7.3.9 EHD DEMCO ......................
                     4 0176


           4.1.7.3.10  EHD CEMCO ....................
                       4 0176
           4.1.7.3.11  EHD-WAMCO Interface ..........
           4 0176
             4.1.7.3.11.1 EHD Reports ...............
             4 0176

           4.1.7.3.12  WAMCO WDP Interface ..........
                       4 0177
             4.1.7.3.12.1 CMD = WHO AM I ............
             4 0177
             4.1.7.3.12.2 CMD = CONFIGURATION .......
             4 0177
             4.1.7.3.12.3 CMD GO CAMPS WDP ..........
             4 0178
             4.1.7.3.12.4 CMD = KEEP ALIVE ..........
             4 0178

           4.1.7.3.12  EDP WAMCO Interface ..........
                       4 0178
           4.1.7.3.14  CFH-WDP Interface ............
                       4 0178
             4.1.7.3.14.1 CMD = WHO AM I ............
             4 0178
             4.1.7.3.14.2 CMD = CONFIGURATION .......
             4 0179
             4.1.7.3.14.3 CMD = CONTROL .............
             4 0179

           4.1.7.3.15  CFH - WDP ROP Interface ......
                       4 0181
           4.1.7.3.16  CMI WDP ROP Interface ........
                       4 0181
           4.1.7.3.17  EHD PSE Reports ..............
                       4 0182

       4.2.1 On-Line Diagnostics (OLD) ..............
       4 0184
         4.2.1.1 Functional Specification  ..........
                 4 0184
           4.2.1.1.1 Initialization .................
                     4 0186
           4.2.1.1.2 Serve Input Queue ..............
                     4 0186
             4.2.1.1.2.1 Check Command ..............
             4 0186

           4.2.1.1.3 Checksum Kernel ................
                     4 0186
             4.2.1.1.3.1 Handling of Time-Out .......
             4 0186
             4.2.1.1.3.2 Reception of Supervisor     
                 
                         Request ....................
                       4 0186

           4.2.1.1.4 Send Reply .....................
                     4 0186
           4.2.1.1.5 Reception of Close Down ........
                     4 0187
           4.2.1.1.6 Common SSC Functions ...........
                     4 0187
             4.2.1.1.6.1 Error Fix-Up ...............
             4 0187
             4.2.1.1.6.2 Validity Checks ............
             4 0187

         4.2.1.2 Software Structure .................
                 4 0188
         4.2.1.3 Data Flow and Control Logic ........
                 4 0188
         4.2.1.4 Module Specification ...............
                 4 0191
           4.2.1.4.1 OLD MAINPRC ....................
                     4 0191
           4.2.1.4.2 EXEC CHECKSUMMING ..............
                     4 0196
           4.2.1.4.3 CLOSE DOWN OLD .................
                     4 0196

         4.2.1.5 Common OLD Data  ...................
                 4 0201
           4.2.1.5.1 Data Types .....................
                     4 0201
           4.2.1.5.2 Variable  ......................
                     4 0201


           4.2.1.4.6 Common Procedures ..............
                     4 0201
             4.2.1.4.6.1 SERVE INPUT ................
             4 0202
             4.2.1.4.6.2 CHECK COMMAND ..............
             4 0205

           4.2.1.6.3 REPLY SENDER ...................
                     4 0207
           4.2.1.6.4 ERROR OLD ......................
           4 0211

       4.2.2 Command Interpreter (CMI) ..............
             4 0214
         4.2.2.1 Functional Specification ...........
                 4 0214
           4.2.2.1.1 Intialization ..................
                     4 0219
           4.2.2.1.2 Handle Commands ................
                     4 0219
           4.2.2.1.3 Handle Keys ....................
                     4 0219
           4.2.2.1.4 Execution ......................
                     4 0220
           4.2.2.1.5 Log ............................
                     4 0222
           4.2.2.1.6 VDU Control ....................
                     4 0223
           4.2.2.1.7 Error Handling .................
                     4 0223

         4.2.2.2 Software Structure .................
                 4 0223
         4.2.2.3 Data Flow and Control Logic ........
                 4 0225
           4.2.2.4.1 CMI-Receive ....................
                     4 0235
           4.2.2.4.2 INTERPRET COMMAND ..............
                     4 0238
           4.2.2.4.3 DISPATCH CONTROL ...............
                     4 0247
           4.2.2.4.4 PU HANDLING ....................
                     4 0253
           4.2.2.4.5 SOFT Handling ..................
           4 0258
           4.2.2.4.6 TDX Handling ...................
                     4 0266
           4.2.2.4.7 CU-Handling ....................
                     4 0285
           4.2.2.4.8 TERMINATE INPUT ................
                     4 0301
           4.2.2.4.9 QUEUE INFORM ...................
                     4 0331

         4.2.2.5 Common CMI Data ....................
                 4 0337
           4.2.2.5.1 General Data ...................
                     4 0337
           4.2.2.5.2 Command Data ...................
                     4 0337
           4.2.2.5.3 FIELD LISTS Data ...............
                     4 0338

         4.2.2.6 Common CMI Procedures ............. 4
                 0339
           4.2.2.6.1 LOG ........................... 4
                     0339
           4.2.2.6.2 DISPLAY FORMAT ................ 4
                     0342
           4.2.2.6.3 INPUT FIELDS .................. 4
                     0344
           4.2.2.6.4 OUTPUT FIELDS ................. 4
                     0347
           4.2.2.6.5 Cursor Position Set ........... 4
                     0350
           4.2.2.6.6 SET RECEIVE CONTROL ........... 4
                     0353
           4.2.2.6.7 Clean Command Split ........... 4
                     0355
           4.2.2.6.8 Send Control Request .......... 4
                     0358
           4.2.2.6.9 Time Out ...................... 4
                     0362
           4.2.2.6.10  Wait Answers ................ 4
                       0365
           4.2.2.6.11  ER ̲REC ...................... 4
                       0368
           4.2.2.6.12  Search Next Record .......... 4
                       0371



         4.2.2.7 Sub-Package Interfaces ............ 4
                 0374

       4.2.3 Watchdog Subpackage (WDSP)............. 4
             0375
         4.2.3.1 Functional Specifications.......... 4
                 0375
           4.2.3.1.1 Initialization ................ 4
           0377
           4.2.3.1.2 PU Handler .................... 4
           0377
           4.2.3.1.3 VDU Handler ................... 4
           0378
           4.2.3.1.4 LP Handler .................... 4
           0383
           4.2.3.1.5 SYSCON (System 
                     monitoring and control)........ 4
                     0384

         4.2.3.2 Software Structure ................ 4
                 0392
         4.2.3.3 Data Flow and Control Logic ....... 4
                 0397
         4.2.3.4 Module Specification .............. 4
         0398

           4.2.3.4.1 WDP INITIALIZE ................ 4
                     0398
           4.2.3.4.2 VDU HANDLER ................... 4
                     0401
           4.2.3.4.3 PU HANDLER .................... 4
                     0420
           4.2.3.4.4 LP HANDLER .................... 4
                     0439
           4.2.3.4.5 System Monitoring and Control . 4
           0453
           4.2.3.4.6 SERVE TIME .................... 4
                     0491
           4.2.3.4.7 Analyze Error ................. 4
                     0494

         4.2.3.5 Subpackage Data ................... 4
                 0501
           4.2.3.5.1 WATCHDOG BUFFER FORMATS ....... 4
                     0501
           4.2.3.5.2 SYSCON Commands ............... 4
                     0513
           4.2.3.5.3 Reports for Print ............. 4
                     0514
           4.2.3.5.4 Semaphore ..................... 4
                     0515
           4.2.3.5.5 Common Subpackage Procedure.... 4
                     0515
           4.2.3.5.6 Subpackage Interface .......... 4
                     0515

       4.2.4 Error Handler and Command Dispatcher .. 4
             0516
         4.2.4.1 Functional Description ............ 4
                 0516
           4.2.4.1.1 Initialization ................ 4
                     0516
           4.2.4.1.2 Serve Input ................... 4
                     0516
           4.2.4.1.3 Dispatch Incomming Reports .... 4
                     0517
           4.2.4.1.4 Change Atomal Printer ......... 4
                     0517
           4.2.4.1.5 Close-Down of CMD ............. 4
                     0517

         4.2.4.2 Software Structure of CMD ......... 4
                 0519
         4.2.4.3 Data Flow and Control Logic ....... 4
                 0521
         4.2.4.4 Module Specification .............. 4
                 0524
           4.2.4.4.1 CMD MAINPRG ................... 4
                     0524
           4.2.4.4.2 INIT CMD ...................... 4
                     0527
           4.2.4.4.3 SERVE INPUT ................... 4
                     0532
           4.2.4.4.4 DISPATCH-MMON COMMAND ......... 4
                     0537


           4.2.4.4.5 DISPATCH IOC EVENT ............ 4
                     0541
           4.2.4.4.6 DISPATCH SYQ EVENT ............ 4
                     0547
           4.2.4.4.7 CHANGE ATOMAL PRINTER ......... 4
                     0554

         4.2.4.5 Common CMD-Subpackage Data ........ 4
                 0558
           4.2.4.5.1 EXTERNAL DATA ................. 4
                     0558
           4.2.4.5.2 INTERNAL DATA ................. 4
                     0558

         4.2.4.6 Common CMD Subpackage Procedure ... 4
                 0560
           4.2.4.6.1 INIT SYS CALL ................. 4
                     0560
           4.2.4.6.2 SEND TO TDC ................... 4
                     0563
           4.2.4.6.3 ERROR CMD ..................... 4
                     0566

         4.2.4.7 System Error Handler, SEH ......... 4
                 0571
           4.2.4.7.1 Initialization ................ 4
                     0573
           4.2.4.7.2 SERVE INPUT ................... 4
                     0573
           4.2.4.7.3 Close Down of SEH ............. 4
                     0573
           4.2.4.7.4 COPSY-Error-Handling .......... 4
                     0573
           4.2.4.7.5 Handling of PSE/GAQ-Reports ... 4
                     0574
           4.2.4.7.6 Handling of CESE Reports ...... 4
                     0574
           4.2.4.7.7 Handling of Time Outs ......... 4
                     0574
           4.2.4.7.8 Dumping of Reports ............ 4
                     0574
           4.2.4.7.9 Clean-Up of PRC ............... 4
                     0574

         4.2.4.8 Software Structure of SEH ......... 4
                 0575
         4.2.4.9 Data Flow and Control Logic ....... 4
                 0577
         4.2.4.10  Module Design of SEH ............ 4
                   0580
           4.2.4.10.1  SEH MAINPRG ................. 4
                       0580
           4.2.4.10.2  SERVE SEH INPUT ............. 4
                       0589
           4.2.4.10.3  PSE GAQ REPORT HANDLING ..... 4
                       0599
           4.2.4.10.4  CLEAN UP PRC ................ 4
                       0608
           4.2.4.10.5  REPORT MAKER ................ 4
                       0619
           4.2.4.10.6  DUMP QEL .................... 4
                       0631

         4.2.4.11  Common SEH Data ................. 4
                   0641
           4.2.4.11.1 External Data ................ 4
           0641

         4.2.4.12 Common SEH Procedures ............ 4
         0646
           4.2.4.12.1  INIT SEH SYS CALL ........... 4
                       0646
           4.2.4.12.2  ERROR SEH ................... 4
                       0648
           4.2.4.12.3  SAVE GARBLE ................. 4
                       0652
           4.2.4.12.4  SET REPORT HEADER ........... 4
                       0654
           4.2.4.12.5  CONVERT INTEGER TO HEX ...... 4
                       0656



       4.2.5 Terminal Monitoring and Control ....... 4
             0658
         4.2.5.1 Functional Specification .......... 4
                 0658
         4.2.5.2 Software Structure ................ 4
                 0695
         4.2.5.3 Data Flow and Control Logic ....... 4
                 0705
           4.2.5.4.1 Main Program .................. 4
                     0713
           4.2.5.4.2 Action Module 1 ............... 4
           0727
           4.2.5.4.3 Action Module 2 ............... 4
                     0754

         4.2.5.5 COMMON SUBPACKAGE DATA ............ 4
                 0785
         4.2.5.6 COMMON SUBPACKAGE PROCEDURES ...... 4
                 0788
           4.2.5.6.1 RECEIVE CONTROL ̲T ............. 4
                     0788
           4.2.5.6.2 REQUEST TIME OUT ̲T ............ 4
                     0790
           4.2.5.6.3 CANCEL TIME OUT T ............. 4
                     0792
           4.2.5.6.4 Procedure GET TERMINAL CAP .... 4
                     0794
           4.2.5.6.5 DISPLAY TERMINAL FORMAT ....... 4
                     0796
           4.2.5.6.6 DISPLAY CLOSING TIME .......... 4
                     0804
           4.2.5.6.7 DISPLAY RESPONSE .............. 4
                     0807
           4.2.5.6.8 SEND COMMAND .................. 4
                     0809
           4.2.5.6.9 SEND REPLY TO SUPV ............ 4
                     0811
           4.2.5.6.10  SEND SECURITY REPORT ........ 4
                       0813
           4.2.5.6.11  SEND REPLY TO TEP ........... 4
                       0815
           4.2.5.6.12  SEND LOG RECORD ............. 4
                       0817
           4.2.5.6.13  CUT CONNECTION .............. 4
                       0820
           4.2.5.6.14  SEND REPLY TO MMON .......... 4
                       0822
           4.2.5.6.15  FIND CAPABILITIES ........... 4
                       0824
           4.2.5.6.16  SEND STATISTICS ............. 4
                       0826
           4.2.5.6.17  INVALID SION ................ 4
                       0828
           4.2.5.6.18  INVALID REL SEC INT ......... 4
                       0830
           4.2.5.6.19  INVALID SEC INTERROGATION ... 4
                       0832
           4.2.5.6.20  INVALID SEC WARNING ......... 4
                       0834
           4.2.5.6.21  NO CAPABILITIES ............. 4
                       0836
           4.2.5.6.22  CHECK SECURITY CODE ......... 4
                       0838
           4.2.5.6.23  SET DAMOS LINE PROFILE ...... 4
                       0840
           4.2.5.6.24  CHECK PASSWORD .............. 4
                       0842
           4.2.5.6.25  CHECK ID CODE ............... 4
                       0843
           4.2.5.6.26  START USER .................. 4
                       0846
           4.2.5.6.27  READ SYSTEM LINE ............ 4
                       0857
           4.2.5.6.28  SET USER PROFILE SIGN TO .... 4
                       0861
           4.2.5.6.29  CREATE CONNECTION ........... 4
                       0863
           4.2.5.6.30  STOP TERMINAL SUBPROCESS .... 4
                       0865
           4.2.5.6.31  BLOCK PASSIVE TERMINAL ...... 4
                       0869
           4.2.5.6.32  STOP ACTIVE SUPV TERMINAL ... 4
                       0871

         4.2.5.7  Subpackage Interfaces ............ 4
                 0873
           4.2.5.7.1 CFH - TEMCO ................... 4
                     0873
           4.2.5.7.2 EHD-TEMCO ..................... 4
                     0874



       4.2.6 Device Monitoring and Control ......... 4
             0876
         4.2.6.1 Functional Specification .......... 4
                 0876
         4.2.6.2 Software Structure ................ 4
                 0889
         4.2.6.3 Data Flow and Control Logic ....... 4
                 0891
           4.2.6.4 Module Design ................... 4
                   0897
           4.2.6.4.1 DEMCO MAIN .................... 4
           0897
           4.2.6.4.2 Action Module ..................
                     4 0904

         4.2.6.5 DEMCO Common Data ..................
                 4 0923
         4.2.6.6 Common Subpackage Procedures .......
                 4 0924
           4.2.6.6.1 Create Connection ..............
                     4 0924
           4.2.6.6.2 Set DAMOS Line Profile .........
                     4 0927
           4.2.6.6.3 Send Reply To SUPV .............
                     4 0929
           4.2.6.6.4 Cut Connection .................
                     4 0931
           4.2.6.6.5 Send Command ...................
                     4 0933
           4.2.6.6.6 Send WARNING Report ............
                     4 0937
           4.2.6.6.7 SET SUBP ACCESS PROFILE ........
           4 0939

       4.2.7  Channel Monitoring and Control ....... 
       4 0941
         4.2.7.1   Functional Specification ........ 
                   4 0941
         4.2.7.2 Software Structure .................
                 4 0955
         4.2.7.3 Data flow and Control Logic ........
                 4 0959
           4.2.7.4.1 Main Program ...................
                     4 0963
           4.2.7.4.2 Action Module ..................
                     4 0969

         4.2.7.5 CEMCO COMMON DATA ..................
                 4 0986
         4.2.7.6 Common Subpackage Procedures  ......
                 4 0987
           4.2.7.6.1 CREATE CONNECTION ..............
                     4 0987
           4.2.7.6.2 SET DAMOS LINE PROFILE .........
                     4 0995
           4.2.7.6.3 SEND REPLY TO SUPV .............
                     4 0997
           4.2.7.6.4 CUT CONNECTION .................
                     4 1000
           4.2.7.6.5 SEND COMMAND ...................
                     4 1002
           4.2.7.6.6 SEND WARNING REPORT ............
           4 1006
           4.2.7.6.7 SET SUBP ACCESS PROFILE ........
           4 1008

       4.2.8 WAMCO (Watchdog Monitoring and Control) 
             4 1010
         4.2.8.1 Functional Specification ...........
                 4 1010
         4.2.8.2 Software Structure .................
                 4 1014
         4.2.8.3 Data Flow and Control Logic ........
                 4 1016

         4.2.8.4 Module Specification ...............
         4 1023
           4.2.8.4.1 Receive Operational Commands ...
                     4 1023
           4.2.8.4.2 Online Configuration ...........
                     4 1031
           4.2.8.4.3 WDP MONITORING REPORT ..........
                     4 1049
           4.2.8.4.5 KEEP ALIVE .....................
                     4 1057



         4.2.8.5 Common WAMCO Data ..................
                 4 1062
         4.2.8.6 Common WAMCO Procedures ............
                 4 1062
           4.2.8.6.1 Reserve Timeouts ...............
                     4 1062
           4.2.8.6.2 Cancel Received Timeout ........
                     4 1066

         4.2.8.7 Subpackage Interface ...............
                 4 1069

       4.2.9 CFH Subpackage .........................
       4 1070
         4.2.9.1 CFH Functional Specification .......
         4 1070
         4.2.9.2 Software Structure .................
                 4 1104
         4.2.9.3 Data Flow and Control Logic ........
                 4 1107
           4.2.9.3.1 Control Logic ..................
                     4 1107
           4.2.9.3.2 Data Flow ......................
                     4 1109

         4.2.9.4 Module Specification ...............
         4 1112
           4.2.9.4.1 The COPSY MAIN Module ..........
           4 1112
           4.2.9.4.2  The CFH MAIN Module ...........
           4 1126
           4.2.9.4.3 ONLINE OPERATION MODULE ........
                     4 1126
           4.2.9.4.4 HW ERROR HANDLING ..............
                     4 1190
           4.2.9.4.5 Ordered Close Down .............
                     4 1218
           4.2.9.4.6 CREATE PROCESSES ...............
                     4 1236
           4.2.9.4.7 CREATE ENVIRONMENT .............
                     4 1270
           4.2.9.4.8 INITIALIZE MIRRORED DISKS ......
                     4 1296
           4.2.9.4.9 LOAD SEGMENT  ..................
                     4 1311
           4.2.9.4.10  Create Peripherals ...........
                       4 1333
           4.2.9.4.11  Operator Only Mode ...........
                       4 1356
           4.9.9.4.12  Supervisor Only Mode .........
                       4 1362

         4.2.9.5 COMMON CFH DATA ....................
                 4 1379
           4.2.9.5.l…02…CONFIG segment data ............ 4
           1390
             4.2.9.5.l.l PROCESS DATA ...............
                         4 1381
             4.2.9.5.l.2 Mirrored disk data .........
                         4 1383
             4.2.9.5.l.3 Inheritance Tables .........
             4 1386

           4.2.9.5.2 Load File Data .................
                     4 1387
             4.2.9.5.2.l File Name List .............
             4 1387
             4.2.9.5.2.2 PATCH DATA .................
             4 1388
             4.2.9.5.2.3 Load File Header ...........
             4 1389

           4.2.9.5.3 Inheritance Data ...............
                     4 1391
             4.2.9.5.3.1 COMMON ENVIRONMENT .........
             4 1391
             4.2.9.5.3.3 Various Inheritance data ...
             4 1391

           4.2.9.5.4 Various CFH Common Data ........
                     4 1392



         4.2.9.6 Common CFH procedures ..............
                 4 1405
           4.2.9.6.1 BSM X HANDLE ...................
                     4 1406
           4.2.9.6.2 BSM X LTUX CONTROL .............
                     4 1410
           4.2.9.6.3 LTUX HANDLE ....................
                     4 1414
           4.2.9.6.4  SET CHAIN STATUS ..............
           4 1420
           4.2.9.6.5 LTUX LINE HANDLE ...............
                     4 1423
           4.2.9.6.6 CHAIN CONF DISP ................
                     4 1426
           4.2.9.6.7 Create LTUX ....................
                     4 1432
           4.2.9.6.8 Delete LTUX ....................
                     4 1435
           4.2.9.6.9 LTU HANDLE .....................
                     4 1438
           4.2.9.6.10    SET LTU CHAIN STATUS .......
                         4 1441
           4.2.9.6.11    LTU LINE HANDLE ............
                         4 1444
           4.2.9.6.12    LTU CHAIN CONF DISP. .......
                         4 1447
           4.2.9.6.13    Create LTU .................
                         4 1450
           4.2.9.6.14    Delete LTU .................
                         4 1453
           4.2.9.6.15    Load LTU FW ................
                         4 1456
           4.2.9.6.16    GET PROFILE ................
                         4 1460
           4.2.9.6.17    CHECK PROFILE ..............
                         4 1464
           4.2.9.6.18    MOUNT DISK .................
                         4 1468
           4.2.9.6.19    DISMOUNT DISK ..............
                         4 1471
           4.2.9.6.20    ASSIGN DISK ................
                         4 1474
           4.2.9.6.21    DEASSIGN DISK ..............
                         4 1477
           4.2.9.6.22    INCLUDE A MIRRORED DISK ....
                         4 1480
           4.2.9.6.23    EXCLUDE A MIRRORED DISK ....
                         4 1484
           4.2.9.6.24    GET DISK DATA ..............
                         4 1487
           4.2.9.6.25    GET ROOT MOV ...............
                         4 1490
           4.2.9.6.26    GET ROOT FIX ...............
                         4 1493
           4.2.9.6.27    READ FM FILE ...............
                         4 1496
           4.2.9.6.28    WRITE TD FILE ..............
                         4 1499
           4.2.9.6.29    LOOK UP ....................
                         4 1502
           4.2.9.6.30    DIS MANTLE .................
                         4 1505
           4.2.9.6.31    Copy FILES .................
                         4 1508
           4.2.9.6.32    COPY MODIFIED SW ...........
                         4 1512
           4.2.9.6.33    FIND DIR FILES .............
                         4 1517
           4.2.9.6.34    SET SW VERSIONS ............
                         4 1520
           4.2.9.6.35    PRINT SW VERSIONS OP CMD ...
                         4 1525
           4.2.9.6.36    WDP CONTROL ................
                         4 1528
           4.2.9.6.37    NOTIFY LONG ................
                         4 1533
           4.2.9.6.38    NOTIFY CMD .................
                         4 1536
           4.2.9.6.39    NOTIFY LINE COROUTINE ......
                         4 1539
           4.2.9.6.40    COMMON NOTIFY LINE COROUTINE
                         4 1542
           4.2.9.6.41    COROUTINE COUNT ............
                         4 1545

         4.2.9.7 Subpackage interface ...............
                 4 1547
           4.2.9.7.1 CMI and supervisor commands from
                     4 1547
           4.2.9.7.2 Reply to CMI ...................
                     4 1548


           4.2.9.7.3 Reply to the supervisor ........
                     4 1548
           4.2.9.7.4 Errorreports from EHD ..........
                     4 1548
           4.2.9.7.5 WAMCO to CFH ...................
                     4 1548
           4.2.9.7.6 CFH commands to COPSY coroutins 
                     4 1549
             4.2.9.7.6.1 TO TEMCO ...................
                         4 1549
             4.2.9.7.6.2 TO DEMCO ...................
                         4 1549
             4.2.9.7.6.3 TO CEMCO ...................
                         4 1550
             4.2.9.7.6.4 TO EHD .....................
             4 1550
             4.2.9.7.6.5 TO WAMCO ...................
             4 1550

           4.2.9.7.7 Reply from COPSY coroutines to
                     CFH Commands ...................
                     4 1550
             4.2.9.7.7.1 From TEMCO, DEMCO, CEMCO ...
                         4 1551
             4.2.9.7.7.2 From EHD ...................
                         4 1551

           4.2.9.7.8 CFH to COUNT ...................
                     4 1551
             4.2.9.7.8.1 During set access profiles .
                         4 1551
             4.2.9.7.8.2 During final close down of
                         TEMCO, DEMCO, CEMCO ........
                         4 1551
             4.2.9.7.8.3 During close down of SEM
                         and CMD ....................
                         4 1552

           4.2.9.7.9 CFH to WDP .....................
                     4 1552
           4.2.9.7.10  CFH to WDP ROP ...............
                       4 1552
           4.2.9.7.11  CFH to WDP VDU ...............
                       4 1553

     4.3 MEMORY LAYOUT ..............................
         4 1553
       4.3.1 General Memory Layout of a Process .....
             4 1553
         4.3.2 Memory Layout for SSC ................
         4 1557