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

⟦f2a263b33⟧ Wang Wps File

    Length: 32810 (0x802a)
    Types: Wang Wps File
    Notes: CPS/SDS/029               
    Names: »1739A «

Derivation

└─⟦20fb15aa2⟧ Bits:30006084 8" Wang WCS floppy, CR 0130A
    └─ ⟦this⟧ »1739A « 

WangText

…00……00……00……00……00…E…02……00……00…E
E…06…D…09…D…0c…D…00…D
D…07…C
C…05…B…08…B…0b…B…0f…,
+…08…+…0b…+…86…1                                             …02…           …02…   …02…        

…02…CPS/SDS/029

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








4.1.5.11 C̲r̲e̲a̲t̲e̲ ̲W̲D̲P̲ ̲R̲O̲P̲



4.1.5.11.1   F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         Create the subdevice WDP ̲ROP as a "terminal" onto the
         specified subdevice.



4.1.5.11.2   I̲n̲t̲e̲r̲f̲a̲c̲e̲

         C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  CREATE ̲WDP ̲ROP         (PHYS ̲WDP ̲CON: FDCB ̲INDEX)
                                    (WDP ̲ROP ̲CON: FDCB ̲INDEX)

         b)  CREATE ̲WDP ̲ROP         (R1, R4, R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲

         C̲a̲l̲l̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R1  PHYS ̲WDP ̲CON
         R6  LINK

         R̲e̲t̲u̲r̲n̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R4  WDP ̲ROP ̲CON



4.1.5.11.3   D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         a1) T̲y̲p̲e̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             FDCB ̲INDEX



         a2) D̲a̲t̲a̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             PHYS ̲WDP ̲CON
             WDP ̲ROP ̲CON
             DEVICE ̲REC

             Refer Section 4.1.4.2.1 TMS data

         b)  E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲

             PHYS ̲WDP ̲CON
             WDP ̲ROP ̲CON                       (m)
             DEVICE ̲REC.SDA                    (m)
             DEVICE ̲REC.V ̲SDID.PROFILE ̲TYPE    (m)
             DEVICE ̲REC.V ̲SDID.LOGICAL ̲NO      (m)
             DEVICE ̲REC.SD ̲TYPE                (m)
             DEVICE ̲REC.ACCESS ̲LEVEL           (m)
             DEVICE ̲REC.SELECT ̲BY ̲TMS          (m)
             DEVICE ̲REC.PARAMS                 (m)

         c)  L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲

             CC: INTEGER 
                 "used as completion code.



4.1.5.11.4   P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲C̲R̲E̲A̲T̲E̲ ̲W̲D̲P̲ ̲R̲O̲P̲ ̲D̲e̲s̲i̲g̲n̲

         N̲a̲r̲r̲a̲t̲i̲v̲e̲

         The subdevice WDP ̲ROP is created onto the PHYS ̲WDP
         subdevice.

         F̲l̲o̲w̲g̲r̲a̲m̲

         Refer section 4.1.5.11.4-1.




         b)  E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲

             WDP ̲PHYS ̲CON
             WDP ̲CON                           (m)
             DEVICE ̲REC. SDA                   (m)
             DEVICE ̲REC.U ̲SDID.PROFILE ̲TYPE    (m)
             DEVICE ̲REC.U ̲SDID.LOGICAL ̲NO      (m)
             DEVICE ̲REC.PROTOCOL ̲IO            (m)
             DEVICE ̲REC.ACCESS ̲LEVEL           (m)
             DEVICE ̲REC.SELECT ̲BY ̲TMP          (m)
             DEVICE ̲REC.PARAMS                 (m)

         c)  L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲

             CC: INTEGER
             used as completion code



4.1.5.11.4   P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲C̲R̲E̲A̲T̲E̲ ̲W̲D̲P̲ ̲D̲e̲s̲i̲g̲n̲

         N̲a̲r̲r̲a̲t̲i̲v̲e̲

         The subdevice WDP is created as a "terminal" onto the
         PHYS ̲WDP subdevice.

         F̲l̲o̲w̲g̲r̲a̲m̲

         Refer section 4.1.5.12.4-1.



         PROCEDURE CREATE ̲WDP ̲ROP     (PHYS ̲WDP ̲CON: IFCB ̲INDEX)
                                      (WDP ̲ROP ̲CON:  IFCB ̲INDEX)


         DEVICE ̲REC.SDA = 2

         DEVICE ̲REC. U ̲SDID.PROFILE ̲TYPE = WDPROP ̲P

         DEVICE ̲REC. U ̲SDID.LOGICAL ̲NO = 0

         DEVICE ̲REC.PROTOCOL ̲ID = WDP ̲ROP ̲PROTOCOL

         DEVICE ̲REC.SD ̲TYPE = TERMINAL

         DEVICE ̲REC. ACCESS ̲LEVEL = 0

         DEVICE ̲REC. SELECT ̲BY ̲TMS = NIL

         DEVICE ̲REC. PARAMS = WDP ̲ROP ̲ARAMS.D

         CASE CREATE ̲SUBDEVICE (PHYS ̲WDP ̲CON; DEVICE ̲REC, DEVICE
         ̲SE)
                               (WDP ̲ROP ̲CON, CC): ERROR ̲DONE

              ERROR?  ANALYSE ̲ERROR (CC,1, HW)

              REPORT ̲ERROR(WDP ̲ROP ̲CC, DEVICE ̲REC)

         END CASE

         END CREATE ̲WDP


















                   Figure 4.1.5.11.4-1


4.1.5.12 C̲R̲E̲A̲T̲E̲ ̲W̲D̲P̲



4.1.5.12.1   F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         Create the subdevice WDP as a "terminal" onto the specified
         subdevice.



4.1.5.12.2   I̲n̲t̲e̲r̲f̲a̲c̲e̲

         C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  CREATE ̲WDP ̲ROP           (PHYS ̲WDP ̲CON: FDCB ̲INDEX)
                                      (WDP ̲CON: FDCB ̲INDEX)

         b)  CREATE ̲WDP ̲ROP           (R1, R5, R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲

         C̲a̲l̲l̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R1  PHYS ̲WDP ̲CON
         R6  LINK

         R̲e̲t̲u̲r̲n̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R5  WDP ̲CON



4.1.5.12.3   D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         a1) T̲y̲p̲e̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             FDCB ̲INDEX

         a2) D̲a̲t̲a̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             WDP ̲PHYS ̲CON
             WDP ̲CON
             DEVICE ̲REC

             Refer Section 4.1.4.2.1 TMS data


         PROCEDURE CREATE ̲WDP         (PHYS ̲WDP ̲CON: IFCB ̲INDEX)
                                      (WDP ̲CON:  IFCB ̲INDEX)


         DEVICE ̲REC.SDA = 0

         DEVICE ̲REC. U ̲SDID.PROFILE ̲TYPE = WDP ̲ROP ̲P

         DEVICE ̲REC. U ̲SDID.LOGICAL ̲NO = 0

         DEVICE ̲REC.PROTOCOL ̲ID = WDP ̲PROTOCOL

         DEVICE ̲REC.SD ̲TYPE = TERMINAL

         DEVICE ̲REC. ACCESS ̲LEVEL = 0

         DEVICE ̲REC. SELECT ̲BY ̲TMS = NIL

         DEVICE ̲REC. PARAMS = WDP ̲PRAMS.D

         CASE CREATE ̲SUBDEVICE (PHYS ̲WDP ̲CON; DEVICE ̲REC, DEVICE
         ̲SE)
                               (WDP ̲CON, CC): ERROR ̲DONE

              ERROR?  ANALYSE ̲ERROR (CC,1 DEVICE ̲FAILED)

                      REPORT ̲ERROR (WDP ̲CC, DEVICE ̲REC)

         END CASE

         END CREATE ̲WDP


















                   Figure 4.1.5.12.4-1


4.1.5.13 C̲O̲P̲S̲Y̲ ̲S̲E̲N̲D̲ ̲G̲A̲R̲B̲L̲E̲



4.1.5.13.1   F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         Take an operation of LONG ̲OF ̲TYPE. Set CMD ̲TYPE equal
         to COPSY ̲ERROR. Sets CMD to REFERENCE and copies the
         PARAMS over in the information field of the operation.
         Send the operation to SEH ̲OS. If CAMPS ̲MODE is equal
         to NORMAL or the useraction is give-up it waits on
         the semaphore ERROR ̲S, to which nobody will signal.



4.1.5.13.2   I̲n̲t̲e̲r̲f̲a̲c̲e̲

         C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  COPSY ̲SEND ̲GARBLE    (REFERENCE: INTEGER,
                                   PARAMS: COPSY ̲GARBLE ̲PARAMS)

         b)  COPSY ̲SEND ̲GARBLE (R0, R2, R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲

         C̲a̲l̲l̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R0          Pointer to PARAMS
         R2  REFERENCE
         R6  LINK

         R̲e̲t̲u̲r̲n̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R0-R7                    (destr)



4.1.5.13.3   D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         a1) T̲y̲p̲e̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             COPSY ̲GARBLE ̲PARAMS  see 4.1.4
             GIVE ̲UP element in USER ̲ACTION ̲TYPE see 4.1.4



         a2) D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

             PARAMS,
             REFERENCE            I/F data
             CAMPS ̲MODE,
             LONG ̲OS,             
             SEH ̲OS               
             ERROR ̲S              Sec. 4.1.4

         b)  E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲

             PARAMS.USER ̲ACTION
             PARAMS equivalent with PARAM:ARRAY(1..8) OF INTEGER
             PARAM (I)
             CAMPS ̲MODE
             LONG ̲OS
             SEH ̲OS
             ERROR ̲S

         c)  L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲

             VAR LONG ̲OP:         LONG ̲OP ̲TYPE Sec. 4.1.4
             use to send error-report to SEH



4.1.5.13.4   D̲e̲s̲i̲g̲n̲

         F̲l̲o̲w̲g̲r̲a̲m̲

         See figure 4.1.5.13.4-1





         PROCEDURE

         COPSY ̲SEND ̲GARBLE(REFERENCE:INTEGER, PARAMS:
                          COPSY ̲GARBLE ̲PARAMS

         BEGIN

             WAIT ̲OPSEM(LONG ̲OS)(LONG ̲OP)

             LONG ̲OP.CMD ̲TYPE = COPSY ̲ERROR ̲REPORT

             LONG ̲OP.CMD = REFERENCE

             EQUIVALENCE (PARAMS, PARAM: ARRAY (1..8) OF INTEGER)

             I = O

             LOOP

             I = I+1

             LONG ̲OP.INF(I) = PARAM (I)

             I EQ 8   EXIT

             END LOOP

             SIGNAL ̲OPSEM(SEH ̲OS,LONG ̲OP)

             CAMPS ̲MODE EQ NORMAL LOGOR      ?

             PARAMS.USER ̲ACTION EQ GIVE ̲UP

             INIT ̲SEMAPRHORE (ERROR ̲S, -1)

             WAIT ̲SEMAPHORE(ERROR ̲S)

         END









                   Figure 4.1.4.13.4-1


4.1.5.14 C̲O̲N̲F̲ ̲D̲I̲S̲P̲L̲A̲Y̲



4.1.5.14.1   F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         The configuration table used for the configuration
         display on the WDP ̲VDU is updated and if the WDP ̲VDU
         is present the updating is displayed.



4.1.5.14.2   I̲n̲t̲e̲r̲f̲a̲c̲e̲

         C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  CONF ̲DISPLAY         (OP: CONF ̲CMD
                                  ELEM: CONF ̲TYPE
                                  STATUS: LONG)

         b)  CONF ̲DISPLAY         (R2, R3, R45, R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲

         C̲a̲l̲l̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R2  OP
         R3  ELEM
         R45 STATUS
         R6  LINK

         R̲e̲t̲u̲r̲n̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R0 - R7     destr.



4.1.5.14.3   D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         a1) T̲y̲p̲e̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             CONF ̲CMD
             CONF ̲TYPE
             BLE                  Ref. Sec. 4.1.4



         a2) D̲a̲t̲a̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             OP
             ELEM
             STATUS               I/F DATA
             CONFIG ̲SPLIT         Ref. Sec. 4.1.4

         b)  E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲

               

         c)  L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲

             VAR CONF = ARRAY (CONF ̲TYPE + 1) OF INTEGER
                 BLE ̲CON:BLE
                 DTG ̲BUF = ARRAY (DET ̲TYPE + 3) OF INTEGER
                 OUTBYTES = ARRAY (1..8) OF BYTE
                 VDU ̲CONFIG ̲TEXT: TBD
                 ELEM ̲FIELD = ARRAY (CONF ̲TYPE + 2) OF INTEGER



4.1.5.14.4   D̲e̲s̲i̲g̲n̲ ̲C̲O̲N̲F̲ ̲D̲I̲S̲P̲L̲A̲Y̲

         The common procedure is implemented as a mainprocedure
         CONF ̲DISPLAY and the utility procedure DISPLAY ̲CONF
         ̲FIELDS.

         a)  P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲C̲O̲N̲F̲ ̲D̲I̲S̲P̲L̲A̲Y̲

             N̲a̲r̲r̲a̲t̲i̲v̲e̲

             Update the configuration display table and call
             DISPLAY ̲CONF ̲FIELDS for each field to be updated.

             F̲l̲o̲g̲r̲a̲m̲

             Refer figure 4.1.5.14.4a-1

         b)  P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲I̲S̲P̲L̲A̲Y̲ ̲C̲O̲N̲F̲ ̲F̲I̲E̲L̲D̲S̲

             N̲a̲r̲r̲a̲t̲i̲v̲e̲

             Set up the interface data to be used to the FORMAT
             ̲HANDLER for updating a field on the WDP ̲VDU.

             F̲l̲o̲w̲g̲r̲a̲m̲

             Refer figure 4.1.5.1.4.4 b-1



 PROCEDURE CONF ̲DISPLAY (OP.CONF ̲CMD,ELEM:CONFTYPE,
                         STATUS:LONG)(ER ̲FLAG: BOOLEAN)

 CASE OP OF:

     UP? CONF ELEM = CONF(ELEM)+1

     DOWN?  CONF(ELEM) = CONF (ELEM) - 1

     SET ̲STATUS? CONF(ELEM) = STATUS

     ERROR ̲STATUS? - ERROR ̲NO(3) = STATUS

                     READ ̲TIME (F ̲DTG ̲TYPE)

                               (DTG ̲BUF)

     ALL ̲DISP?

     OTHERS? - COPSY ̲SEND ̲GARBLE (CONTINUE)

 END CASE

 WDP ̲STATUS ̲REC.WDP ̲VDU EQ FALSE?

 OP EQ UP LOGOR DOWN LOGOR SET ̲STATUS? MAX ̲COUNT = ELEM
 + 1

 OP EQ ERROR ̲STATUS?                   MAX ̲COUNT = ELEM
 + 2

 MAX ̲COUNT = NUMBER ̲OF ̲CONFIG ̲SPLIT ̲FIELDS

 LOOP

     DISPLAY ̲CONF ̲FIELD (ELEM)

     ELEM = ELEM + 1

     ELEM EQ MAXCOUNT?   EXIT

 END LOOP


 END CONF ̲DISPLAY




               Figure 4.1.5.14.4a-1


PROCEDURE DISPLAY ̲CONF ̲FIELDS(ELEM:CONF ̲TYPE)

NUMBER ̲OF ̲FIELDS = 1

CASE ELEM OF:

 VDU..CSSI ̲ROP?-       BLE ̲CONF.BYTE ̲SIZE = COUNT ̲FIELD
                       ̲SIZE+OFFSET
                       BLE ̲CONF.ADDRESS = OUTBYTES
                       OUTBYTES (2) = COUNT ̲FIELD.SIZE
                       OUTBYTES (4..5) = CONF.CONF ̲STATUS(ELEM)

 MIRDISK1..OFFL ̲DISK?  BLE ̲CONF.BYTE ̲SIZE = STATUS.SIZE+OFFSET
                       BLE ̲CONF.ADDRESS =
                          DISK ̲TEXT(CONF.CONF ̲STATUS(ELEM))

 TIA1..TIA2? -         BLE ̲CONF.BYTE ̲SIZE = STATUS ̲SIZE
                       + OFFSET
                       BLE.CONF.ADDRESS =
                          HW ̲TEXT(CONF.CONF ̲STATUS(ELEM))

 WDP ̲ROP?-             BLE ̲CONF.BYTE ̲SIZE = STATUS ̲SIZE
                       + OFFSET
                       BLE ̲CONF.ADDRESS =
                          ROP ̲TEXT(CONF.CONF ̲STATUS(ELEM))

 ERROR ̲NO?             BLE ̲CONF.BYTE ̲SIZE = STATUS ̲SIZE
                       + OFFSET
                       BLE ̲CONF.ADDRESS = ERROR ̲NO

 ERROR ̲NO+1?           BLE ̲CONF.BYTE ̲SIZE = DTG ̲SIZE
                       + OFFSET
                       BLE ̲CONF.ADDRESS = DTG ̲BUF(1)

END CASE

FIELD ̲NO = ELEM ̲FIELD (ELEM)

CASE FIELDS ̲OUTPUT     (CONFIG ̲SPLIT, CONFIG ̲FIELDS(FIELD.NO)
                  BLE ̲CONF,12, BLE ̲CONF.BYTE ̲SIZE)(CC):ERROR
                  ̲OK

 ERROR? ANALYSE ̲ERROR (CC,1,) VDU ̲SPLIT ̲FAILED)

END CASE

END DISPLAY ̲CONF ̲FIELDS








              Figure 4.1.5.14.4.b-1



4.1.5.15 R̲E̲P̲O̲R̲T̲ ̲E̲R̲R̲O̲R̲



4.1.5.15.1   F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         The REPORT ̲ERROR module prints on errormessage on the
         WDP ̲ROP.

         If the WDP ̲ROP is out of service i.e.

         -   erroneous or

         -   contains no paper

         the error messages are directed to the supervisor printer.

         However, during operator only mode an emergency closedown
         is performed, if the WDP ̲ROP is out of service.



4.1.5.15.2   I̲n̲t̲e̲r̲f̲a̲c̲e̲

         C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  REPORT ̲ERROR (ROP ̲REPORT: ROP ̲REPORT ̲TYPE)
                     REPORT: REPORT ̲TYPE)

         b)  REPORT ̲ERROR (R0,R1,R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲

         C̲a̲l̲l̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R0  ROP ̲REPORT
         R1  pointer to REPORT
         R6  link

         R̲e̲t̲u̲r̲n̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R0 - R7     destr.





4.1.5.15.3       M̲o̲d̲u̲l̲e̲ ̲C̲o̲m̲p̲o̲n̲e̲n̲t̲s̲

         This module conforms the procedures

         -   REPORT ̲ERROR
         -   WRITE ̲TO ̲WDP ̲ROP
         -   WRITE ̲TO ̲SUPV ̲ROP
         -   CONVERT ̲INTEGER ̲TO ̲HEXAMAL

         and the coroutine

         -   PRINT ̲ERROR ̲REPORT

         The module calls the IOC-procedure

         -   APPEND ̲BYTES

         and the CSF-procedure

         -   ANALYZE ̲ERROR

         For software structure see figure 4.1.5.15.3-1















































                    Fig. 4.1.5.15.3-1
















































                    Fig. 4.1.5.15.3-2


4.1.5.15.4       D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         a1) T̲y̲p̲e̲ ̲a̲n̲d̲ ̲c̲o̲n̲s̲t̲a̲n̲t̲ ̲r̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             ROP ̲REPORT ̲TYPE           see 4.1.4
             REPORT ̲TYPE               see 4.1.4
             ERROR ̲REPORT ̲TYPE         see 4.1.4

         a2) D̲a̲t̲a̲ ̲r̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             ROP ̲REPORT,
             REPORT I/F-data

         b)  E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲

             ROP ̲REPORT
             REPORT.SIZE
             REPORT.REPORT(I)

         L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲

         VAR     ERROR ̲REPORT: ERROR ̲REPORT ̲TYPE
                 "keep the information of a received report
                 used in both REPORT ̲ERROR and PRINT ̲ERROR ̲REPORT

         VAR     PRINT ̲ARRAY(1..204) of BYTE
                 "keep the report to be printed in hexadecimal

         VAR K:  INTEGER
                 "counter

         VAR     SIZE: INTEGER
                 "indicates the number of bytes in PRINT ̲ARRAY,
                 which shall be printed

         VAR     F ̲SPEC: FILE ̲ADDRESS
                 "used in the system call APPEND ̲BYTES

         VAR     BLE: BUFFER ̲LIST ̲ELEMENT
                 "used in the system call APPEND ̲BYTE

         VAR     PRINT ̲BLE: BUFFER ̲LIST ̲ELEMENT
                 "used as pointer to the report, which shall
                 be printed.

         VAR     NO ̲OF ̲LINES: INTEGER
                 "indicates the number -1 of the lines to be
                 printed on the WDP ̲ROP


         VAR     CC: INTEGER
                 "used as completion code

         All local variable are used in the coroutine PRINT
         ̲ERROR ̲REPORT and the procedures, which are called from
         this.

         VAR I:  INTEGER
                 "used as counter in REPORT ̲ERROR



4.1.5.15.5       D̲e̲s̲i̲g̲n̲

         a)  R̲E̲P̲O̲R̲T̲ ̲E̲R̲R̲O̲R̲ ̲

             N̲a̲r̲r̲a̲t̲i̲v̲e̲

             This procedure copied the received report over
             in a coroutine-operation of REPORT ̲TYPE and signal
             the coroutine-operation to REPORT ̲ERROR ̲OS.

             F̲l̲o̲w̲g̲r̲a̲m̲.̲

             See figure 4.1.5.15.5-1.

         b)  P̲R̲I̲N̲T̲ ̲E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲

             N̲a̲r̲r̲a̲t̲i̲v̲e̲

             This coroutine first receive a report from REPORT
             ̲ERROR ̲OS. Thereafter it converts the report from
             integer to hexadecimal. At last it prints the report
             on the WDP ̲ROP or the supervisor printer as described
             in sec. 4.1.5.15.1

             F̲l̲o̲w̲g̲r̲a̲m̲

             See figure 4.1.5.15-2

         c)  W̲R̲I̲T̲E̲ ̲T̲O̲ ̲W̲D̲P̲ ̲R̲O̲P̲

             N̲a̲r̲r̲a̲t̲i̲v̲e̲

             This procedure print the report on the WDP ̲ROP
             at call parameter indicates how long the report
             is. This is done line by line, where a line has
             max. 60 chars.…86…1         …02…   …02…   …02…   …02…             
                …02…                         
         I̲n̲t̲e̲r̲f̲a̲c̲e̲

         C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  WRITE ̲TO ̲WDP ̲ROP(SIZE: INTEGER)(CC:INTEGER)

         b)  WRITE ̲TO ̲WDP ̲ROP(R1, R7, R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲ ̲

         C̲a̲l̲l̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R1  SIZE

         R6  link

         R̲e̲t̲u̲r̲n̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

         R7      CC
         R0 - R6     destr.

         F̲l̲o̲w̲g̲r̲a̲m̲

         See fig. 4.1.5.15.5 3

         d)  W̲R̲I̲T̲E̲ ̲T̲O̲ ̲S̲U̲P̲V̲ ̲R̲O̲P̲

             N̲a̲r̲r̲a̲t̲i̲v̲e̲

             This procedure writes the report on the supervisor
             printer.

         e)  C̲O̲N̲V̲E̲R̲T̲ ̲I̲N̲T̲E̲G̲E̲R̲ ̲T̲O̲ ̲H̲E̲X̲A̲D̲E̲C̲I̲M̲A̲L̲

             This procedure converts an integer to hexadecimal
             written in ASCII.



         PROCEDURE REPORT ̲ERROR(ROP ̲REPORT: ROP ̲REPORT
         ̲TYPE,
                                                                       INF:
                                                                       ARRAY(1..50)OF
                                                                       INTEGER)


         BEGIN


             WAIT ̲OPSEM(ERROR ̲REPORT ̲OS)(ERROR ̲REPORT)

             ERROR ̲REPORT, ROP ̲REPORT = ROP ̲REPORT

             ERROR ̲REPORT. SIZE = REPORT ̲SIZE

             I = 0

             LOOP

                 I = I + 1

                 ERROR ̲REPORT. REPORT(I) = REPORT (I)

                 I EQ REPORT ̲SIZE?     EXIT

             END LOOP

             SIGNAL ̲OPSEM(REPORT ̲ERROR ̲OS, ERROR ̲REPORT)


         END PROCEDURE REPORT ̲ERROR















                fig. 4.1.5.15.5-1


         COROUTINE

         PRINT ̲ERROR ̲REPORT


         BEGIN

             LOOP FOREVER

                 WAIT ̲OPSEM(REPORT ̲ERROR ̲OS)(ERROR
                 ̲REPORT)
                 CONVERT ̲INTEGER ̲TO ̲HEXADECIMAL(ERROR
                 ̲REPORT.ROP ̲REPORT)
                                                                       (PRINT
                                                                       ̲ARRAY(1..4)

                 PRINT ̲ARRAY(5..6) = "     "
                 K = 0
                 LOOP CONVERSION

                     K = K + 1
                     CONVERT ̲INTEGER ̲TO ̲HEXADECIMAL
                     (ERROR ̲REPORT.REPORT(K)(PRINT
                     ̲ARRAY(6xK, 6xK+4))
                     (K MOD IO) EQ 0?  PRINT ̲ARRAY(6xK+5)
                                       = (LF)
                                                                       PRINT
                                                                       ̲ARRAY(6xK+6)
                                                                       =
                                                                       (CR)
                     PRINT ̲ARRAY(6xK+5 in 6xK+6) =
                     "    "
                     K GE ERROR ̲REPORT ̲REPORT ̲SIZE
                         EXIT
                 END LOOP CONVERSION

                 SIZE = (K + 1) x 6
                 WRITE ̲TO ̲WDP ̲ROP (SIZE)(CC)
                 CC NE OK?
                     CAMPS ̲PHASE LE OPERATOR ̲ONLY ̲MODE?
                       PU ̲DOWN

                     ERROR ̲REPORT.ROP ̲REPORT IN ERROR
                     ̲REPORT ̲TYPE?

                                       WRITE TO ̲SUPV
                                       ̲ROP(SIZE)(CC)
                                       CC NE OK?                       PU
                                                                       ̲DOWN

             END LOOP FOREVER

         END COROUTINE PRINT ̲ERROR ̲REPORT






                 Fig. 4.1.5.15-2


         PROCEDURE

         WRITE ̲TO ̲WDP ̲ROP(SIZE; INTEGER)(CC: INTEGER)

         INIT    BLE.KIND = BNLOCALLOWER
             BLE.LINK = ADDRESS(PRINT ̲BLE)
             BLE.BYTE ̲SIZE = 4
             PRINT ̲BLE.KIND = BNLOCALLOWER
             PRINT ̲BLE.LINK = NIC
             PRINT ̲BLE.ADDR = ADDRESS (PRINT ̲ARRAY(1)
             F ̲SEC.FIRST ̲BYTE = 0

         BEGIN

             WAIT ̲OPSEM(LONG ̲OS)(LONG ̲OP)

             LONG ̲OP. CMO ̲TYPE = COPSY ̲REPORT

             LONG ̲OP. CMD = ERROR ̲REPORT

             BLE.ADDR = ADDRESS (LONG ̲OP)

             PRINT ̲BLE. BYTE ̲SIZE = SIZE

             CASE    APPEND ̲BYTE(WDP ̲ROP ̲CON,F ̲SPEC,BLE)(F
                     ̲SPEC,CC) OF

                     ERROR?CASE ANALYZE ̲ERROR(CC,2,HW,PAPER
                     ̲OUT):
                                                                       (HW
                                                                       ̲ERR;PAPER
                                                                       ̲OUT
                                                                       ̲ERR)
                                                                       OF

                                             HW ̲ERR,
                                       PAPER ̲OUT ̲ERR?


                                       END CASE ANALYZE
                                       ̲ERROR

                     OK?

             END CASE APPEND ̲BYTE

         END PROCEDURE WRITE ̲TO ̲WDP ̲ROP






                Fig. 4.1.5.15.5-3


4.1.5.16 P̲U̲ ̲D̲O̲W̲N̲



4.1.5.16.1   F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         The PU ̲DOWN procedure is called when an emergency close-down
         of a PU is to take place.

         The procedure saves a report in an internal Kernel
         memory area, from where it can be retrieved via a
         MAP ̲PROM utility procedure.

         Hereafter the PU is mastercleared i.e. the CPUs are
         stopped.



4.1.5.16.2   I̲n̲t̲e̲r̲f̲a̲c̲e̲

         C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  PU ̲DOWN (PU ̲REPORT: PU ̲REPORT ̲TYPE)

         b)  PU ̲DOWN(R0, R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲

         R0          Pointer to PU ̲REPORT
         R6  LINK



4.1.5.16.3   D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         a1) T̲y̲p̲e̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             PU ̲REPORT ̲TYPE            (SSC.COMMON)

         a2) D̲a̲t̲a̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             PU ̲REPORT                 (I/F)

         b)  E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲

         c)  L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲



4.1.5.16.4   D̲e̲s̲i̲g̲n̲

         The PU ̲DOWN procedure calls the Kernel procedure:

         PU ̲ERROR.



  PROCEDURE


  PU ̲DOWN (PU ̲REPORT:  PU ̲REPORT ̲TYPE)

  BEGIN

      PU ̲ERROR  (PU ̲REPORT)

  END




4.1.5.17 S̲E̲N̲D̲ ̲S̲S̲C̲ ̲R̲E̲P̲L̲Y̲



4.1.5.17.1       F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         Send a reply on a request specified by a qel-reference.
         When the qel/buffer is dismantled.



4.1.5.17.2       I̲n̲t̲e̲r̲f̲a̲c̲e̲

             C̲a̲l̲l̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  SEND ̲SSC ̲REPLY(REP: REPLY ̲TYPE, REFERENCE:QEL ̲REFERENCE)

                                       cc. 0..15)

         b)  SEND ̲SSC ̲REPLY(R0, R2, R7, R6)

         R̲e̲g̲i̲s̲t̲e̲r̲ ̲C̲o̲n̲v̲e̲n̲t̲i̲o̲n̲

         C̲a̲l̲l̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲s̲

             R0  REP
             R2  REFERENCE
             R6  link
             R7  CC

         R̲e̲t̲u̲r̲n̲ ̲R̲e̲g̲i̲s̲t̲e̲r̲

             R0 - R7                   destr.



4.1.5.17.3       D̲a̲t̲a̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         a1) T̲y̲p̲e̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲

             REPLY ̲TYPE                SSC common data
             QEL ̲REFERENCE             DBD

         a2) D̲a̲t̲a̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲

             REP,
             REFERENCE,
             CC                        I/F Data



         b)  E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲

             REP
             REFERENCE
             CC

         c)  L̲o̲c̲a̲l̲ ̲D̲a̲t̲a̲

             VAR QEL ̲PARAMS: SEND ̲PARAMS DBD

                 used to keep the parameter for the reply

             VAR as completion code



4.1.5.17.4 D̲e̲s̲i̲g̲n̲ ̲S̲E̲N̲D̲ ̲S̲S̲C̲ ̲R̲E̲P̲L̲Y̲

 PROCEDURE SEND ̲SSC ̲REPLY(REP:
                    REPLY ̲TYPE,REFERENCE:QEL ̲REFERENCE,CC:INTEGER)

 VAR QEL ̲PARAMS: SEND ̲PARAMS

 VAR CCODE: INTEGER

 BEGIN

     QEL ̲PARAMS.INFORMATION ̲TYPE = FALSE

     QEL ̲PARAMS.CHECKP ̲STATUS =    FALSE

     QEL ̲PARAMS.HEADER.MAINTYPE =  ACK

     QEL ̲PARAMS.HEADER.SUBTYPE =   SSC ̲ACK

     QEL ̲PARAMS.HEADER.FLAG =      CC

     CASE SEND ̲REPLY (QEL ̲PARAMS, NIL, REFERENCE)(CCODE)OF

         ERROR?  ANALYZE ̲ERROR (CCODE)

         OK?

     END CASE SEND ̲REPLY

     CASE REP OF

         BUFFER ̲R?  DISMANTLE ̲BUFFER (QEL)(CCODE)

         QEL ̲R?     DISMANTLE (QEL)(CCODE)

     END CASE REP

 END PROCEDURE SEND ̲SSC ̲REPLY








4.1.6    G̲l̲o̲b̲a̲l̲ ̲D̲a̲t̲a̲ ̲E̲l̲e̲m̲e̲n̲t̲s̲

 The SSC references the following global tables:

 -   Port Tables

     -   PU table
     -   Disk Table
     -   BSM ̲X Table
     -   LTUX Table
     -   LTUX ̲Line Table
     -   LTU Table
     -   LTU ̲line Table

 -   Terminal Table
 -   Device Table
 -   Channel Table
 -   Circuit Table
 -   Password Table
 -   User Profile Table

 SSC references the system parameters:

 -   security parameters
 -   supervisor printers
 -   distribution parameter (atomal printer)
 -   time of day parameters

     -   old clock
     -   current clock

 Also, SSC loads the:

 -   TMP ̲LOAD ̲TABLE
 -   CSF ̲LOAD ̲TABLE

 into TMP respectively CSF data space during system
 start up.

 The SWICD specifies the fields within entries in the
 above tables, which are

 -   initialized
 -   searched
 -   updated

 by SSC





4.1.7    I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲



4.1.7.1  E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲

         Cf. Sec. 3.3.1.



4.1.7.2  P̲a̲c̲k̲a̲g̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲

         The interfaces not presented in this section cf. section
         3.3.2 and CPS/ICD/009 section 4.2.1.



4.1.7.2.1    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲M̲M̲O̲N̲ ̲t̲o̲ ̲C̲O̲P̲S̲Y̲ ̲(̲E̲H̲D̲)̲

         SSC receives a message in SYSE from MMON when a VDU
         process opens a VIEW, and either security interrogation
         or security warning must be performed. The message
         is an OPEN ̲NOTIFICATION.

         Refer SWICD 4.2.3.1.1






4.1.7.2.2    C̲O̲P̲S̲Y̲ ̲(̲T̲E̲M̲C̲O̲)̲ ̲t̲o̲ ̲M̲M̲O̲N̲

         TEMCO sends an answer on a MMON-request to a MMON Answer
         Synchronization Element, indicating in a CC if open
         is allowed. The answer is an OPEN ̲NOTIFICATION ̲ANSWER.

         Refer SWICD 4.2.3.1.2



4.1.7.3  S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲

         The SSC contains the following subpackage interfaces:

         -   CFH - TEMCO - CFH

         -   CFH - DEMCO - CFH

         -   CFH - CEMCO - CFH

         -   CFH - WAMCO

         -   WAMCO - CFH

         -   EHD - CFH

         -   EHD - TEMCO

         -   EHD - DEMCO

         -   EHD - WAMCO

         -   WAMCO - WDP

         -   WDP - WAMCO

         -   CFH - WDP

         -   CFH - WDP ̲ROP

         -   CMI - WDP ̲ROP

         -   CMI - EHD

         -   EHD PSE reports



4.1.7.3.1    C̲F̲H̲ ̲T̲E̲M̲C̲O̲ ̲C̲F̲H̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         a)  C̲F̲H̲ ̲T̲E̲M̲C̲O̲

             The Configuration Handler (CFH) sends in an operation
             of SHORT ̲OP ̲TYPE commands to a TEMCO operation
             semaphore VDU ̲OS.



             CMD ̲TYPE = CFH ̲CMD
             CMD = CFH ̲SUBTYPE
             REFERENCE = NIL
             CMD ̲TYPE = CFH ̲CMD
             CMD = CFH ̲SUBTYPE
             REFERENCE = (time to close down in minutes)

         b)  T̲E̲M̲C̲O̲-̲C̲F̲H̲

             After execution of the command SET ̲ACCESS ̲PROFILES
             or CLOSE ̲FINAL TEMCO increments the semaphore CFH
             ̲S.



4.1.7.3.2    C̲F̲H̲-̲D̲E̲M̲C̲O̲-̲C̲F̲H̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲

         a)  C̲F̲H̲-̲D̲E̲M̲C̲O̲

             The configuration handler (CFH) sends in an operation
             of SHORT ̲OP ̲TYPE commands to a DEMCO operation
             semaphore SAD ̲OS.

             CMD ̲TYPE = CFH ̲CMD
             CMD = CFH ̲SUBTYPE  (INSERT ̲SUPV, is not applicable)
             REFERENCE = NIL

         b)  D̲E̲M̲C̲O̲-̲C̲F̲H̲

             After execution of the command SET ̲ACCESS ̲PROFILES
             or CLOSE ̲FINAL DEMCO increments the semaphore CFH
             ̲S.



4.1.7.3.3    C̲F̲H̲-̲C̲E̲M̲C̲O̲-̲C̲F̲H̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲

         a)  C̲F̲H̲-̲C̲E̲M̲C̲O̲

             The Configuration Handler (CHF) sends in an operation
             of SHORT ̲OP ̲TYPE commands to a CEMCO operation
             semaphore EXC ̲OS.

             CMD ̲TYPE = CFH ̲CMD
             CMD = CFH ̲SUBTYPE (START ̲SUPV,STOP ̲SUPV,INSERT
             ̲SUPV
                                  is not applicable)
             REFERENCE = NIL

         b)  C̲E̲M̲C̲O̲-̲C̲F̲H̲

             After execution of the command SET ̲ACCESS ̲PROFILES
             or CLOSE ̲FINAL CEMCO increments the semaphore CFH
             ̲S.


4.1.7.3.4    C̲F̲H̲-̲W̲A̲M̲C̲O̲

         The CFH sends start up commands to the WAMCO ̲OS in
         a long operation (LONG ̲OP ̲TYPE)

         CMD ̲TYPE =          CFH ̲WAMCO ̲CMD
         CMD =               START ̲AC..START ̲SB



4.1.7.3.5    W̲A̲M̲C̲O̲-̲C̲F̲H̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         WAMCO signals an operation of the type LONG ̲OP ̲WDP
         ̲TYPE (ref. 4.1.4) to the CFH ̲OS semaphore.

         L ̲CMD ̲TYPE =        WDP ̲CMD
         CMD =               WDP ̲REP ̲COMMAND
         INF ref. subsection.



4.1.7.3.5.1 C̲M̲D̲ ̲=̲ ̲Y̲O̲U̲ ̲A̲R̲E̲

         As a reply to the "who am I" command this WDP ̲REP ̲COMMAND
         is returned.

         "INF = PU ̲NO        Refer 4.1.4.7.



4.1.7.3.5.2 C̲M̲D̲ ̲=̲ ̲C̲C̲B̲ ̲R̲E̲P̲O̲R̲T̲

         If a change of either the digital or analog status
         is detected by the WDP, the command type is sent to
         the CFH via WAMCO.

         INF (1) = WDP ̲INFO  refer 4.1.4.7

         a)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲G̲O̲ ̲S̲B̲ ̲A̲C̲

             INF(2) =        PU..TDX ref. sec. 4.1.4
             INF(3) =        ANALOG..NO ̲KEEP ̲ALIVE
             INF(4) =        DUMMY
             INF(5..14) =    OPERATOR ̲INFORMATION
                             ref section 4.2.3.4.5.3 c
                             (ANALOG/DIGITAL buffer)
             INF(15..28) =   DTG ̲TYPE



         b)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲S̲B̲ ̲P̲U̲ ̲D̲O̲W̲N̲,̲ ̲S̲B̲ ̲C̲U̲ ̲D̲O̲W̲N̲ ̲S̲B̲ ̲C̲U̲ ̲U̲P̲,̲ ̲N̲O̲N̲ ̲A̲C̲
             ̲T̲D̲X̲ ̲D̲O̲W̲N̲;̲ ̲N̲O̲N̲ ̲A̲C̲ ̲T̲D̲X̲ ̲U̲P̲

             INF(2) =        ANALOG..NO ̲KEEP ̲ALIVE Refer section
                             4.1.4
             INF(3..4) =     DUMMY
             INF (5..14) =   OPERATOR ̲INFORMATION
                             ref sec. 4.2.3.4.5.3 c
                             (ANALOG/DIGITAL Buffer)

         c)  I̲N̲F̲ ̲(̲1̲)̲ ̲=̲ ̲B̲S̲M̲:̲X̲ ̲D̲O̲W̲N̲

             INF(2) =        1..MAX ̲BSM.XS

             INF(3) =        ANALOG..DIGITAL Ref. sec. 4.1.4

             INF(4) =        DUMMY

             INF(5..14) =    OPERATOR ̲INFORMATION
                             ref sec. 4.2.3.4.5.3.c

         d)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲W̲A̲R̲N̲I̲N̲G̲

             INF(2) =        TEMP..MANUAL ̲SWITCH Ref. sec. 4.1.4
             INF(3) =        UNIT ̲TYPE ref. sec. 4.1.4
             INF(4) =        1..MAX ̲BSM.XS,
             INF(5..10) =    OPERATOR ̲INFORMATION
                             ref. sec. 4.2.3.4.3c

         e)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲N̲O̲R̲M̲A̲L̲ ̲A̲G̲A̲I̲N̲

             INF(2) =        TEMP..ANALOG ref. 4.1.4
             INF(3) =        UNIT ̲TYPE    ref. 4.1.4
             INF(4) =        1..MAX ̲BSM.XS
             INF(5.14) =     OPERATOR ̲INFORMATION ref. sec.
                             4.2.3.4.5 c

         f)  I̲N̲F̲ ̲(̲1̲)̲ ̲=̲ ̲S̲B̲ ̲P̲U̲ ̲U̲P̲



4.1.7.3.5.3 C̲M̲D̲ ̲=̲ ̲R̲E̲P̲O̲R̲T̲ ̲N̲U̲M̲B̲E̲R̲

         After each print out on the WDP ̲ROP the report numbers
         are sent to the CFH, which returns them subsequent
         to WDP ̲UP.

         If the error report number is incremented, the CFH
         updates the configuration display.

         INF = WDP ̲ROP.NUMBERS         ref. 4.1.4.7


4.1.7.3.6    E̲H̲D̲-̲C̲F̲H̲

         The CMD coroutine sends

         -   CMI commands
         -   SUPV commands
         -   TIMEOUT

         which it has received in the SYQ to the CFH ̲OS in a
         long operation

         CMD is identical to the sub-type in the queue element.

         FLAG is identical to the flag value in the queue element.

         REFERENCE identifies the queue element.

         INF corresponds to the queue element INFO or associated
         buffer contents.



4.1.7.3.6.1 C̲M̲I̲ ̲&̲ ̲T̲I̲M̲E̲O̲U̲T̲ ̲C̲o̲m̲m̲a̲n̲d̲s̲ (SW ICD 4.2.2.1)

         CMD ̲TYPE:           CMI ̲CMD ̲L "Element in L ̲COMMAND
                             ̲TYPE
                                                refer sec. 4.1.4
         CMD:                CMI ̲COMMANDS ̲TO ̲COPSY



4.1.7.3.6.2 S̲U̲P̲V̲ ̲C̲o̲m̲m̲a̲n̲d̲s̲ (SW ICD 4.2.1.1)

         CMD ̲TYPE =          SUPV ̲CMD ̲L

         CMS =               CAMPS ̲GO (element in SUPERVISOR
                             ̲SSC ̲COMMAND in DBD).

         The only supervisor command to the CFH is CAMPS ̲GO.

         FLAG and REFERENCE are identical.





4.1.7.3.6.3 T̲i̲m̲e̲ ̲O̲u̲t̲

         CFH request a timeout in the SYQ and specifies

         -   FINAL ̲CLOSE ̲DOWN ̲EVEN

         in the TIME ̲OUT ̲REQUEST.EVENT ̲ID.

         When receiving this CMD will send a long operation
         to CFH ̲OS, where

         CMD ̲TYPE = CMI ̲CMD ̲L and
         CMD =      CLOSE ̲DOWN ̲FINAL (taken from SSC ̲INTERNAL
                                        type)

         EHD sends HW error reports in operation LONG ̲OP ̲TYPE
         to CFH ̲OS

         CMD ̲TYPE = DEVICE ̲ERROR

         CMD =      FMS ̲R..TMS ̲R

         In the information field there is a copy of the report,
         which EHD has received.


4.1.7.3.7    C̲F̲H̲ ̲E̲H̲D̲

         C̲F̲H̲ ̲C̲M̲D̲

         The CFH sends

         -   starts
         -   stops

         commands in a short operation (SHORT ̲OP ̲TYPE) to CMD
         ̲OS with

         CMD ̲TYPE = CFH ̲CMD
         CMD =      START ̲COR..STOP ̲COR

         CMD increments CFH-S, when having terminated processing
         after reception of the STOP ̲COR command.



         C̲F̲H̲ ̲S̲E̲H̲

         The CFH sends

         -   starts
         -   stops

         commands to SEH ̲OS in a operation of LONG ̲OP ̲TYPE with
         

         CMD ̲TYPE = CFH ̲LONG ̲CMD
         CMD      = CLOSE ̲COR..START ̲SEH

         SEH increments CFH ̲S, when having terminated processing
         after reception of the CLOSE ̲COR command.



4.1.7.3.8    E̲H̲D̲-̲T̲E̲M̲C̲O̲

         The command dispatcher in EHD sends in an operation
         of SHORT ̲OP ̲TYPE commands to a TEMCO operation semaphore
         VDU ̲OS.

         CMD ̲TYPE =          SUPV ̲CMD
         CMD =               BLOCK ̲TERMINAL..TERMINAL ̲PROFILE
                             ̲
                                                        CHANGES
         REFERENCE =         QEL ̲REFERENCE

         ACCEPT ̲SAD, NON ̲ACCEPT ̲SAD, ACCEPT ̲EXC, NON ̲ACCEPT
         ̲EXC not applicable for CMD.

         CMD ̲TYPE =          MMON ̲CMD
         CMD =               MMON ̲SUBTYPE

         REFERENCE =         MMON ̲REF
         CMD ̲TYPE =          TEP ̲CMD
         CMD =               RELEASE ̲SECURITY ̲INTERROGATION
         REFERENCE =         QEL ̲REFERENCE
         CMD ̲TYPE =          IOC ̲CMD

         CMD =               IOC ̲SUBTYPE
         REFERENCE =         NIL





4.1.7.3.9    E̲H̲D̲-̲D̲E̲M̲C̲O̲

         The command dispatcher (EHD) sends in an operation
         of SHORT ̲OP ̲TYPE commands to a DEMCO operation semaphore
         SAD ̲OS.

         CMD ̲TYPE =          SUPV ̲CMD
         REFERENCE =         QEL ̲REFERENCE
         CMD =               QEL ̲REFERENCE
         CMD 0               ACCEPT ̲SAD..DEVICE ̲PROFILE ̲CHANGE

         ACCEPT ̲EXC,NON ̲ACCEPT ̲EXC,TERMINAL ̲PROFILE ̲CHANGE not
         applicable.



4.1.7.3.10   E̲H̲D̲-̲C̲E̲M̲C̲O̲

         The command dispatcher in EHD sends in an operation
         of SHORT ̲OP ̲TYPE commands to a CEMCO operation semaphore
         EXC ̲OS.

         CMD ̲TYPE =          SUPV ̲CMD
         CMD =               ACCEPT ̲EXC..DEVICE ̲PROFILE ̲CHANGE
         REFERENCE =         QEL ̲REFERENCE

         TERMINAL ̲PROFILE ̲CHANGE not applicable
         CMD ̲TYPE  =         SUPV ̲CMD
         CMD =               CIRCUIT ̲PROFILE ̲CHANGE
         REFERENCE =         QEL ̲REFERENCE
         INFORMATION =       LOGICAL ̲CIRCUIT ̲NO ̲TYPE



4.1.7.3.11   E̲H̲D̲-̲W̲A̲M̲C̲O̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         The EHD sends information received from the synchrnication
         element DEVICE ̲SE and with the PROFILE ̲TYPE = PHYS
         ̲WDP ̲P..WDP ̲ROP ̲P to the WAMCO ̲OS in a long operation.



4.1.7.3.11.1 E̲H̲D̲-̲R̲e̲p̲o̲r̲t̲s̲

         CMD ̲TYPE =          DEVICE ̲ERROR
         CMD =               PHYS ̲WDP..WDP ̲ROP ̲P



         The EHD report is in the information field. The layout
         of the report is shown in sec. 4.1.7.3.17.



4.1.7.3.12   W̲A̲M̲C̲O̲-̲W̲D̲P̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         The WAMCO interfaces to the WDP via the WDP ̲LOGIC ̲CONN
         which is a user connection. The data format is of the
         type LONG ̲OP ̲WDP ̲TYPE.

         CMD ̲TYPE = COPSY ̲CMD ̲L

         CMD = WDP ̲CON ̲COMMAND

         Control not applicable.



4.1.7.3.12.1 C̲M̲D̲ ̲=̲ ̲W̲H̲O̲ ̲A̲M̲ ̲I̲

         This command is sent to the WDP when the WDP is reported
         back in operation.

         INF(1..16) = WDP ̲ROP ̲NUMBERS

         TYPE WDP ̲ROP ̲NUMBER =

             RECORD
                 SERIAL,
                 ERROR,
                 PRINT,
                 TRANS: ARRAY(1..4) OF CHAR
             END



4.1.7.3.12.2 C̲M̲D̲ ̲=̲ ̲C̲O̲N̲F̲I̲G̲U̲R̲A̲T̲I̲O̲N̲

         When the WDP is identified the configuration table
         is sent.

         INF(1..MAX ̲BSM-XS) = CONFIG ̲TABLE ̲TYPE





4.1.7.3.12.3 C̲M̲D̲=̲G̲O̲ ̲C̲A̲M̲P̲S̲ ̲W̲D̲P̲

         From now on keep alive messages are sent.

         INF(1..14) = DTG ̲TYPE (ref. CSF.TMON)



4.1.7.3.12.4 C̲M̲D̲ ̲=̲ ̲K̲E̲E̲P̲ ̲A̲L̲I̲V̲E̲

         The command is used by the PU to identify itself.

         Every minute the time of day is included in the message

         INF(1..14)= DTG ̲TYPE



4.1.7.3.13   W̲D̲P̲ ̲W̲A̲M̲C̲O̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         WAMCO receives data from the WDP via the user-connection
         (WAMCO ̲LOGIC ̲CON). The data are read into an operation
         of the type LONG ̲OP ̲WDP ̲TYPE reserved from the LONG
         ̲OP ̲SEM semaphore.

         The operation is signalled onto the CFH ̲OS semaphore
         (ref. WAMCO ̲CFH interface Sec. 4.1.7.2.4).



4.1.7.3.14   C̲F̲H̲-̲W̲D̲P̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         The CFH interfaces to the WDP via the WDP ̲LOGIC ̲CONN
         which is a user connection. The data format is of the
         type LONG ̲OP ̲WDP ̲TYPE

         CMD ̲TYPE =  COPSY ̲CMD ̲L
         CMD =       WDP ̲CON ̲COMMAND
         (KEEP ̲ALIVE, GO ̲CAMPS ̲WDP not applicable)



4.1.7.3.14.1 C̲M̲D̲ ̲=̲ ̲W̲H̲O̲ ̲A̲M̲ ̲I̲

         Only used by the CFH subsequent to a start up, no report
         numbers included.

         Refer section 4.1.7.2.12.1.


4.1.7.3.14.2 C̲M̲D̲ ̲=̲ ̲C̲O̲N̲F̲I̲G̲U̲R̲A̲T̲I̲O̲N̲

         Only used by the CFH subsequent to a start up.

         On line refer section 4.1.7.2.12.2.



4.1.7.3.14.3 C̲M̲D̲ ̲=̲ ̲C̲O̲N̲T̲R̲O̲L̲

         The following commands are sent from the CFH to the
         WDP for changing the digital output status on a CCB
         unit (BSM ̲X or CCA).

         a)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲S̲W̲I̲T̲C̲H̲O̲V̲E̲R̲

             Command the WDP to switchover from the ACTIVE to
             the STANDBY ̲PU.

         b)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲R̲E̲S̲E̲T̲

             Command the WDP to RESET the PU specified in INF(2).

             INF(2)=PU ̲NO

         c)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲B̲S̲M̲X̲ ̲S̲W̲I̲T̲C̲H̲

             INF(2) =        (NONE ̲BUS, ACTIVE ̲BUS, OTHER ̲BUS)
             INF(3) =        BITSET ̲BSMX ̲L (BSMX 1..7)
             INF(4) =        BITSET ̲BSMC ̲H (BSMX 8..14)



             The bit mask specifies the BSMX(s) to be controlled.

              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲  INF(3)    (INF(4))

                                         BSM-X 1   (8)

                                         BSM-X 2   (9)

                                         BSM-X 3   (10)

                                         BSM-X 4   (11)

                                         BSM-X 5   (12)

                                         BSM-X 6   (13)

                                         BSM-X 7   (14)

             0 = no control    1 = control

         d)  I̲N̲F̲(̲1̲)̲ ̲=̲ ̲I̲O̲ ̲S̲W̲I̲T̲C̲H̲

             SWITCH IO ̲BUS ̲A OR/AND IO ̲BUS ̲B

             INF(2) = (IO ̲A ̲NOT ̲IO ̲B, IO ̲NOT ̲A ̲IO ̲B, IO ̲A ̲IO
             ̲B)



4.1.7.3.15   C̲F̲H̲ ̲-̲ ̲W̲D̲P̲ ̲R̲O̲P̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         The CFH interfaces to the WDP ̲ROP via the user connection
         WDP ̲ROP ̲CONN. The data format is of the type LONG ̲OP
         ̲TYPE

         CMD ̲TYPE =  COPSY ̲REPORT
         CMD =       PRINT ̲TYPE

         Only REPORT, ERROR ̲REPORT applicable

         INF =       PRINT ̲OUT ̲BUFFER



4.1.7.3.16   C̲M̲I̲ ̲W̲D̲P̲ ̲R̲O̲P̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲

         The CMI logs the command (ICD 010) initiated and command
         terminated. The CMI interfaces to the WDP ̲ROP via the
         user connection WDP ̲ROP ̲CONN. The data format is of
         the type LONG ̲OP ̲WDP ̲TYPE.

         CMD ̲TYPE =  CMI ̲LOG

         CMD =       PRINT ̲TYPE

         Only LOG ̲INF, LOG ̲COM applicable

         INF =       LOG (ref. ICD 010 appendix B)





4.1.7.3.17   E̲H̲D̲ ̲P̲S̲E̲ ̲R̲e̲p̲o̲r̲t̲s̲

         P̲S̲E̲ ̲R̲E̲P̲O̲R̲T̲

          ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

word  0   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲T̲Y̲P̲E̲ ̲O̲F̲ ̲I̲N̲F̲O̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      1   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲O̲B̲J̲E̲C̲T̲ ̲I̲N̲D̲E̲X̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      2   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲P̲R̲I̲M̲A̲R̲Y̲ ̲C̲A̲U̲S̲E̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      3   ̲ ̲ ̲ ̲ ̲ ̲ ̲S̲E̲C̲O̲N̲D̲A̲R̲Y̲ ̲C̲A̲U̲S̲E̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      4   ̲ ̲ ̲ ̲ ̲ ̲ ̲T̲E̲R̲T̲I̲A̲R̲Y̲ ̲C̲A̲U̲S̲E̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      5   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲P̲R̲P̲C̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      6   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲P̲S̲W̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      7   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲E̲X̲R̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      8   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲B̲A̲S̲E̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

      9   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲P̲R̲O̲G̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
                                            TAKEN FROM USER
 CONTEXT
     10   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲0̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

     11   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲1̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

     12   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲2̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

     13   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲3̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

     14   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲4̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

     15   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲5̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

     16   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲6̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

     17   ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲R̲7̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲



         The primary cause is the standard CC. Given this the
         different causes for retire can be found:

         -   child own retire

         -   child retired by

             -   CSF/TMP
             -   DAMOS
             -   SEND ̲GARBLE (CSF)

         -   PU HW error