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

⟦46683b83b⟧ Wang Wps File

    Length: 15886 (0x3e0e)
    Types: Wang Wps File
    Notes: Spelunked
    Names: »~ORPHAN59.00«

Derivation

└─⟦5da7e0279⟧ Bits:30006225 8" Wang WCS floppy, CR 0210A
    └─ ⟦this⟧ »~ORPHAN59.00« 

WangText



;…07…:…08…:…0c…:…00…:…01…:…07…9…0c…9…01…9…05…8…08……86…1
      
      
      
      
      
      
      
   …02…   
      
  …02…   …02… 
      
 

…02…CPS/SDS/004

…02…BHJ/810801…02……02…
SYSTEM
 STATUS
 AND CONTROL
 
…02……02…CAMPS






4.2.7    C̲o̲m̲m̲a̲n̲d̲ ̲I̲n̲t̲e̲r̲p̲r̲e̲t̲e̲r̲ ̲(̲C̲M̲I̲)̲



4.2.7.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 CMI serves the commands and format fields sent
         from the operator VDU.

         When a command is received and valdated, the CMI sends
         the requested format and the actual data to the operator
         VDU.  The operator will now update the format and hereafter
         the updated fields are returned to the CMI.  When the
         fields are validated, they are given over to COPSY
         for eecution.

         The last step in the fulfillment of a reconfiguration,
         is to return a log to the operator LP.

         The log contains information of the command executed
         or rejected and the time of execution (DATE and TIME).
          The initialization of the CMI an the validation of
         the operator VDU input is given in the following subsections.

         The functional breakdown of the CMI is shown in fig.
         4.2.7.1-1.…86…1         …02…   …02…   …02…   …02…                     
                              















































Fig. 4.2.7.1-1…01…FUNCTIONAL DECOMPOSITION…86…1         …02…   …02…   …02…   …02…                          
                 
4.2.7.1.1    I̲n̲i̲t̲i̲a̲l̲i̲z̲a̲t̲i̲o̲n̲

         The CMI receives a start up command via its input queue
         CMIQ.

         Having received the start up command, the coroutines
         in the CMI are started.

         The start-p command specifies user connections to the:

         -   WDP-VDU command split
         -   WDP-VDU format split
         -   WDP-LP

         to be offered by CMI.



4.2.7.1.2    D̲e̲t̲e̲r̲m̲i̲n̲e̲ ̲F̲o̲r̲m̲a̲t̲ ̲T̲y̲p̲e̲

         The commands from the command line are divided into:

         -   request of menu formats
             request of control formats

         When the commands are interpreted, the format ID is
         calculated.

         If a command is illegal, an error message is returned
         to the operator, and a new command has to be entered.



4.2.7.1.3    D̲i̲s̲p̲l̲a̲y̲ ̲F̲o̲r̲m̲a̲t̲

         The format speified by the command is via the Format
         handler sent to the VDU and if a control format is
         displayed, the unprotected fields and a PORT-ID is
         updated with the actual data.




4.2.7.1.4    V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲

         When the operator has updated the format then the unprotected
         fields are read. The fields are checked for syntax
         and semantic errors, before a control recordis handed
         over to COPSY.  When COPSY has executed the control
         specified, the VDU is unlocked and the operator can
         now enter new commands.

         If the operator has entered an illegal character in
         an unprotected field, a warning is sent to him and
         the crsor is positioned in the actual field.

         The operator can reject his choice of command (until
         it is sent to COPSY) by depressing the function key
         CANCEL.

         During COPSY execution, the operator is notified in
         the response line, that it is not possile to cancel
         the current command.

         The following subsection describes the semantic checks
         to be done.

         The functional breakdown of validation is given in
         fig. 4.2.7.1.1.4-1.

















































Fig. 4.2.7.1.1.4-1…86…1         …02…   …02…   …02…   …02…                                    
       
4.2.7.1.4.1  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲L̲T̲U̲X̲-̲L̲I̲N̲E̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲L̲X̲L̲N̲)̲

         When an LTUX line is to be inserted in the configuration,
         the following checks take place:

         -   Type of device against LTUX
         -   Seed against device
         -   Status of device

         To accept the type of device (e.g. VDU, MTP, PTR, OCR),
         it is checked that the LTUX includes the device type
         specified.  However, any type of device is accepted
         if the status of the device is "out of service.  It
         is checked that the speed specified to the device is
         legal.

         To accept any reconfiguration, the device has to be
         taken "out of service" or its status has to be error.



4.2.2.1.4.2  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲L̲T̲U̲X̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲L̲T̲U̲X̲)̲

         When an LTUX has to be nserted in the configuration,
         the following checks take place:

         -   type of LTUX against devices connected
         -   status of LTUX

         To accept the LTUX type, it has to fit with the devices
         (e.g. VDU, LP) connected to this LTUX (only devices
         "in service"). If the types do not fit, the operator
         is notified to set the devices "out of service" or
         insert the right type of LTUX.

         The status of an LTUX can either be "in service" or
         "out of service".  If one or more of the LTUX lines
         does not fit with theLTUX type, the status of the LTUX
         has to be set out of service.

         To accept a reconfiguration, the LTUX has to be taken
         "out of service" or its status has to be error.



4.2.7.1.4.3  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲B̲S̲M̲-̲X̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲B̲S̲M̲X̲)̲

         During validation of the data from the BSM-X format,
         the status is checked against the status of the TDX
         Bus.  If status is set "Ofline", an offline TDX bus
         has to exist.



4.2.7.1.4.4  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲T̲D̲X̲ ̲B̲u̲s̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲T̲D̲X̲B̲)̲

         For the TDX format all combinations of the status (error
         cannot be set) are allowed if one of the TDX buses
         is set active.



4.2.7.1.4.5  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲L̲U̲ ̲L̲i̲n̲e̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲L̲T̲L̲N̲)̲

         It shall be controlled that the type of LTU line inserted
         (SCARS, CCIS, NICS TARE, VDU or LP) suits the LTU to
         which it is connected.  Any type of line can be stated
         as long as status of the line is set disable.  Error
         statuscannot be specified by the operator.



4.2.7.4.1.6  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲L̲T̲U̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲L̲T̲U̲U̲)̲

         When the data for the LTU is specified, the following
         parameters are checked:

         -   type
         -   status

         The type has to suit the LTU line(s) connected to the
         LTU elsethe status has to be set "out of service".
          The status of the LTU line can be set active, offline
         (standby, manual) or out of service.




4.2.7.1.4.7  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲V̲o̲l̲u̲m̲e̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲V̲O̲L̲U̲)̲

         When the operator has specified a volume to be mounted,
         the following conditions are checked:

         -   disk status
         -   volume name
         -   mont/dismount

         It is checked (in COPSY) that the volume name specified
         corresponds to the volume name on the actually loaded
         disk pack.

         The status of the disk on which the volume is to be
         mounted has to be online.



4.2.7.1.4.8  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲D̲i̲s̲ ̲D̲r̲i̲v̲e̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲D̲D̲R̲I̲)̲

         To accept disk drive format, the following is checked:

         -   disk status

         If only one mirrored disk exists, it is not allowed
         to take it offline.  Error status cannot be specified.



4.2.7.1.4.9  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲S̲t̲a̲r̲t̲-̲u̲p̲ ̲F̲o̲r̲m̲a̲t̲(̲S̲T̲A̲C̲)̲

         When a PU is started up as ACTIVE, the following is
         checked:

         -   state of PU specified
         -   mode to start from
         -   type of application software to be loaded

         It is checked if an ACTIVE PU already exists (by the
         watchdog).



4.2.7.1.4.10  V̲a̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲S̲w̲i̲t̲c̲h̲o̲v̲e̲r̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲S̲W̲C̲H̲)̲

         This format only needs syntax check of the numbers
         specified in the unprotected format fields.




4.2.7.1.4.11  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲C̲l̲o̲s̲e̲-̲d̲o̲w̲n̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲C̲L̲O̲S̲)̲

         This format only needs syntax check of the numbers
         specified in the unprotected format fields.



4.2.7.1.4.12  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲S̲t̲a̲r̲t̲-̲u̲p̲ ̲S̲t̲a̲n̲d̲b̲y̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲S̲T̲S̲B̲)̲

         Syntax check of the numbers in the format fields.



4.2.7.1.4.13  V̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲S̲e̲t̲ ̲T̲i̲m̲e̲ ̲o̲f̲ ̲D̲a̲y̲ ̲F̲o̲r̲m̲a̲t̲ ̲(̲S̲T̲O̲D̲)̲

         The following parameters are checked:

         -   month, the same as in the PU
         -   day, the same as in the PU
             hour, the same as in the PU
         -   minute, see below
         -   second, 00 - 60 valid

         The time of day set by the operator must not differ
         from the PU clock with more than 8 minutes.



4.2.7.1.4.14  P̲R̲I̲N̲T̲

         Syntax only.



4.2.7.1.4.15  S̲e̲t̲ ̲N̲O̲R̲M̲A̲L̲/̲A̲T̲ ̲R̲I̲S̲K̲ ̲M̲d̲e̲

         Syntax only.




4.2.7.2  S̲o̲f̲t̲w̲a̲r̲e̲ ̲S̲t̲r̲u̲c̲t̲u̲r̲e̲

         The CMI functions are implemented in one process.

         The process is divided into a main program and a number
         of procedures.  Ref. fig. 4.2.7.2-1.  The min program
         serves the input queue from COPSY and the user connection
         to the WDP.

         When input from the operator VDU is identified, control
         is given over to the VDU-INPUT procedure.

         If the status of a LP or VDU is changed COPSY informs
         the CMI viathe input queue.

















































Fig. 4.2.7.2-1…01…Software Structure…86…1         …02…   …02…   …02…   …02…                             
              
4.2.7.3  D̲a̲t̲a̲ ̲F̲l̲o̲w̲ ̲a̲n̲d̲ ̲C̲o̲n̲t̲r̲o̲l̲ ̲L̲o̲g̲i̲c̲

         The CMI transfers data from the operator VDU and when
         the data have been validated, they are given over to
         COPSY which executes the control.  hen control is executed,
         a reply is returned from COPSY to the CMI.  CMI sends
         a log to the operator LP specifying the control executed.
          The interface to the CMI from COPSY and the WDP is
         shown in fig. 4.2.7.3-1.  The data flow and control
         logic i shown in the HIPO chart fig. 4.2.7.3-2 and
         the flow charts fig. 4.2.7.3-3 to 4.2.7.3-11…86…1     
            …02…   …02…   …02…   …02…                                      
             















































Figs. 4.2.7.3-1…01…CMI Block Diagram…86…1         …02…   …02…   …02…   …02…                             
              














































Fig. 4.2.7.3-2…01…Command Interpreter…86…1         …02…   …02…   …02…   …02…                             
              










         MAIN-PROGRAM-CMI (7.0)


          LOOP:

             TEST INPUT-TYPE

             CASE INPUT-TYPE:


                   VDU? - PERFOR SYNTAX & SEMANTIC PROCEDURE


                   COPSY? - PERFORM INITIALIZE PROCEDURE 


             END INPUT-TYPE


         END LOOP:

         END MAIN-PROGRAM-CMI















Fig. 4.2.7.3-3…86…1         …02…   …02…   …02…   …02…                                         
        





         SYNTAX & SEMANTIC PROCEDURE (7.1)


         CASE VDU-INPUT-TYPE:


             FUNCTION KEY? - PERFORM IDENTIFY-FUNCTION KEY PROCEDURE


             CMD?          - PERFORM DETERM-FORM PROCEDURE
                             COMMAND FALSE?

                             PERFORM SPECIFY-FORMAT PROCEDURE



             DATA?        - PERFORM VALIDATE-FORMAT PROCEDURE


                     FIELDS DATA OK? - PERFORM CONTROL PROCEDURE


                                         PERFORM LOG POCEDURE



         END VDU-INPUT-TYPE


         PERFORM VDU-CONTROL PROCEDURE


         END SYNTAX & SEMANTIC PROCEDURE








                      Fig. 4.2.7.3-4







         IDENTIFY - FUNCTION KEY PROCEDURE (7.1.5)



         ENTER KEY? - CMD SPLIT? - VDU INPUT TYPE = CMD


                      VDU INPUT TYPE = DATA


                      CONTROL = INIT


         COMAND KEY? - CONTROL = CLEAR



         CONTROL = NO - ACTION




         END IDENTIFY FUNCTION KEY



















Fig. 4.2.7.3-5…86…1         …02…   …02…   …02…   …02…                                         
        




         SPECIFY - FORMAT PROCEDURE (7.1.2)


         READ COMMAND


         CASE COMMAND:


              HIME? - FORMAT = 1

              TDXS? - FORMAT = 2

              IOSY? - FORMAT = 3

              PUSY? - FORMAT = 4

              SOFT - FORMAT = 5

              WDCM? - FORMAT = 6


                                   CONTROL = MENU



             LXLX? - FORMAT = 7

             LTUX? - FORMAT = 8

             BSMX? - FORMAT = 9

             LTLN? - FORMAT = 10

             LTUU? - FORMAT = 11

             DDRI? - FORMAT = 12


                                   CONTROL = FORM-SPLI

                                   CHECK ID = TRUE

         CONTINUE

Fig. 4.2.7.3-6a…86…1         …02…   …02…   …02…   …02…                                        
         





             CASE CMD CONTINUED


             TDXB ? FORMAT = 13

             VOLU ? FORMAT = 14

             STAC ? FORMAT = 15

             SWCH ? FORMAT = 16

             CLOSE ? FORMAT = 17

             STSB ? FORMAT = 18

             STOD ? FORMT = 19

             LMOS ? FORMAT = 20

             STRM ? FORMAT = 21

             PRSS ? FORMAT = 22

             MODE ? FORMAT = 23


                                   CONTROL  = FORM-SPLIT

                                   CHECK ID = FALSE

             OTHERS?  DISPLAY "ILLEGAL CMD"

             CMD = FALSE

             CONTROL = ILLEGAL


         EN CMD

         END SPECIFY - FORMAT



Fig. 4.2.7.3-6b…86…1         …02…   …02…   …02…   …02…                                        
         





         DISPLAY-FORMAT PROCEDURE (7.1.3)


         CHECK-ID = TRUE?           GET DATA FROM CONFIG. TABLE


                                    NO DATA?  DISPLAY "ILLEGAL
                     ID"

                                             CONTROL = ILLEGAL



         GET FORMAT

         OUTPUT FORMAT

         CONTROL = FORMAT? - OUTPUT FIELDS


         END DISPLAY FORMAT























Fig. 4.2.7.3-7…86…1         …02…   …02…   …02…   …02…                                         
        




         VALIDATE - FORMAT PROCEDURE (7.1.4)


         CASE FORMAT:


              7 ? - PERFORM LTUX LINE PROCEDURE

              8 ? - PERFORM LTUX PROCEDURE

              9 ? - PERFORM BSM-X PROCEDURE

             10 ? - PRFORM LTU-LINE PROCEDURE 

             11 ? - PERFORM LTU PROCEDURE

             12 ? - PERFORM DISK DRIVE PROCEDURE

             13 ? - PERFORM TDX-BUS PROCEDURE

             14 ? - PERFORM VOLUME PROCEDURE

             15 ? - PERFORM START ACTIVE PROCEDURE

             16 ? - PERFORM SWITCHOVER PROCEDURE
             17 ? - PERFORM CLOSE DOWN PROCEDURE

             18 ? - PERFORM START SB PROCEDURE

             19 ? - PERFORM SET TIME PROCEDURE

             20 ? - PERFORM LOAD MODE PROCEDURE

             21 ? - PERFORM SET TRACE PROCEDURE

             22 ? - PERFORM PRINT PROCEDURE

             23 ? - PERFORM MODE PROEDURE


         END FORMAT

         END VALIDATE - FORMAT

Fig. 4.2.7.3-8…86…1         …02…   …02…   …02…   …02…                                         
        





         EXECUTE - CONTROL PROCEDURE (7.1.7)


         SEND CONTROL RECORD TO COPSY


         WAIT ANSWER (TIME)


         TIME OUT ? - ANSWER = NOK



         END EXECUTE - CONTROL




























Fig. 4.2.7.3-9…86…1         …02…   …02…   …02…   …02…                                         
        





         LOG PROCEDURE (7.2)


         STORE TIME INTO BUFFER


         STORE COMMAND-DATA INTO BUFFER


         ANSWER = OK? - COMPLETED INTO BUFFER


         STORE "REJECTED" INTO BUFFER


         CONTROL = ILLGAL


         DISPLAY "COMMAND REJECTED"




         LP - DOWN ?


         SEND BUFFER TO LP


         END LOG













Fig. 4.2.7.3-10…86…1         …02…   …02…   …02…   …02…                                         
         
         VDU         CONTROL PROCEDURE (7.1.6)


         CASE CONTROL:

              INIT ? - PARAM = TRANSMIT, VDU-LOCK


              CLEAR? - PARAM? = CMD LINE,CLEAR CMO,CLEAR FORM,
                                VDU UNLOCK
                       VDU - INPUT TYPE = FUNCTION KEY


              MENU? - PARAM = CMD LINE, CLEAR CMD, VDU UNLOCK

                      VDU INPUT TYPE = FUNCTION KEY


             FORM-SPLIT? - PARAM = FIRST FIELD, VDU UNLOCK

                           VDU INPUT TYPE = FUNCTION KEY


             ILLEGAL? - PARAM  CMD LINE, VDU UNLOCK

                        VDU INPUT TYPE = FUNCTION KEY



             NO-VALID? - PARAM = FIELD#, VDU UNLOCK

                         VDU INPUT TYPE = FUNCTION KEY



         SEND VDU PARAM



         END CONTROL

         END VDU CONTROL




Fig. 4.2.7.3-11…86…1         …02…   …02…   …02…   …02…                                     
      
4.2.7.4  S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲D̲a̲t̲a̲

         The data pertinent to this subpackage are contained
         in the VDU table.

         The data used in the validation ref. sec. 4.1.4.


             VDU TABLE
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

             VDU STATE   LP STATE
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

               VDU INPUT TYPE
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

                  CONTROL
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

                 INPUT TYPE
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

                  CHECK ID
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

                  COMMAND
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

                  FIELDS DATA
              ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲



         VDU-INPUT-TYPE = FUNCTION KEY, CMD, DATA

         CONTROL = INIT, CLEAR, MENU, FORM-SPLIT, ILLEGAL, NO.
         
                   VALID

         INPUT TYPE = COPSY, VDU

         CHECK ID = FALSE, TRUE

         COMMAND = FALSE, TRU

         FIELDS DATA = FALSE, TRUE

         VDU STATE = UP, DOWN

         LP STATE = UP, DOWN…86…1         …02…   …02…   …02…   …02…            
                                       
4.2.7.5  I̲n̲t̲e̲r̲f̲a̲c̲e̲

         Refer to sec. 4.1.6.3.3.




4.2.8    W̲a̲t̲c̲h̲d̲o̲g̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲(̲W̲D̲S̲P̲)̲



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

         The WDSP contains the functions defined in fig. 4.2.8.1-1.

         The WDSP receives via the V24 lines informationfrom
         the PUs and the operator VDU.  Via the control CCB
         the CCB driver scans the status in the different crates
         via digital input ports, and if a discrepancy between
         the expected status and the scanned status exists,
         a report is issued.  Furthermor, the WDSP checks that
         the PU periodically sends "keep alive", if a PU stops
         sending "keep alive" the WDP will take the following
         action if:

         -   An active PU with a standby PU exists:  switchover

         -   A standby PU with an active PU exists:  notify
             a