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

⟦5f21b0499⟧ Wang Wps File

    Length: 20927 (0x51bf)
    Types: Wang Wps File
    Notes: CPS/SDS/033               
    Names: »1810A «

Derivation

└─⟦fd4f47f8f⟧ Bits:30006088 8" Wang WCS floppy, CR 0140A
    └─ ⟦this⟧ »1810A « 

WangText

…05……00……00……00……00…C…02……00……00…C
?…01…?…02…?…07…>…09…>…0a……86…1                                             …02…           …02…   …02…        

…02…CPS/SDS/033

…02…KNB/831101…02……02…
TRAFFIC HANDLING
DETAILED DESIGN SPECIFICATION…02…ISSUE 1…02…CAMPS








4.2.2.5.6    F̲o̲r̲m̲a̲t̲t̲i̲n̲g̲ ̲D̲a̲t̲a̲

         The Formatting Data-elements are mainly associated
         to the formatting procedures.

         C̲o̲n̲s̲t̲a̲n̲t̲s̲:̲

             MAX ̲SECTIONS      = 10;
             IOC ̲BYTE ̲COUNT    = 1
             IOC ̲FLAG          = 2
             IOC ̲RECORD ̲SIZE   = 3
             IOC ̲START ̲BYTE    = #1E
             NORMAL ̲TERMINATED = 1
             FINISHED          = -1
             MAX ̲FL ̲LENGTH     = 69

         T̲y̲p̲e̲s̲:̲

             SEND ̲FUNCTION ̲TYPE= (TRANSMISSION, RI ̲ASSIGNMENT,
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   REPLY,
                                                                   STORAGE,
                                                                   DISTRIBUTION,
                                  FINISH ̲SEND)

             COMMAND ̲TYPE      = (LEGAL ̲COMMAND,ILLEGAL ̲COMMAND)

         V̲a̲r̲i̲a̲b̲l̲e̲s̲:̲

             SECTION ̲LIST      : ARRAY(1..MAX ̲SECTIONS)OF INTEGER
             NO ̲OF ̲SECTIONS    : INTEGER
             SEND ̲CLEAR        : BOOLEAN
             SEND ̲PUNCH        : BOOLEAN
             SECTION ̲SUBJECT   : BOOLEAN
             LOCAL ̲PLA ̲SUBJECT : BOOLEAN
             PLAINDRESS ̲TYPE   : BOOLEAN
             DATA ̲TYPE         : BOOLEAN
             ENCRYPTED ̲TYPE    : BOOLEAN
             ABBREVIATED ̲TYPE  : BOOLEAN
             SERVICE ̲TYPE      : BOOLEAN
             ASM ̲TYPE          : BOOLEAN
             SC ̲TYPE           : BOOLEAN
             CAMPS ̲ORIGINATOR  : BOOLEAN
             RELAY ̲INSTRUCTIONS: BOOLEAN
             SUSDUP ̲PILOT      : BOOLEAN
             READDRESSAL       : BOOLEAN
             SSC ̲COMMAND ̲OBJECT: COMMAND ̲TYPE

         L̲a̲y̲o̲u̲t̲s̲:̲

             During formatting procedures the PLA ̲MASK contained
             in each PLA ̲RI ̲RECORD has a significant role; see
             layout fig. 4.2.2.5.6-1.




figure 4.2.2.5.6-1



4.2.2.5.7    E̲r̲r̲o̲r̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲ ̲T̲y̲p̲e̲s̲

         The following data-elements are associated to the handling
         of Data and Processing Errors.

         T̲y̲p̲e̲s̲

           DATA ̲ERROR ̲TYPE         =  (QEL ̲ERROR,
                                     VIEW ̲ERROR,
                                     UNEXPECTED ̲QEL,
                                     FATAL ̲ERROR ̲STOP,
                                     INCONSISTENT ̲PLA ̲REF,
                                     READ ̲ADDRESS ̲ERR);

         ERROR ̲FUNCTION ̲TYPE     =  (NO ̲ERROR ̲FUNCTION ̲ERR,
                                     RECEIVE ̲FIRST ̲QEL ̲ERR,
                                     GET ̲VIEW ̲ATTRIBUTES ̲ERR,
                                     OPEN ̲VIEW ̲ERR,
                                     READ ̲VIEW ̲ERR,
                                     SEARCH ̲RI ̲ERR,
                                     SEARCH ̲LOCAL ̲PLA ̲ERR,
                                     SEARCH ̲GLOBAL ̲PLA ̲ERR,
                                     SEARCH ̲CIRCUIT ̲ERR,
                                     SEARCH ̲CHANNEL ̲ERR,
                                     SEARCH ̲CONNECTIVITY ̲ERR,
                                     GET ̲GSN ̲ERR,
                                     SEARCH ̲PLA ̲ERR,
                                     DISMANTLE ̲COMMAND ̲ERR,
                                     DISMANTLE ̲STOPPED ̲VIEW
                                     ̲ERR,
                                     SAVE ̲RECEIVED ̲VIEW ̲ERR,
                                     SAVE ̲WORK ̲VIEW ̲ERR,
                                     CREATE ̲VIEW ̲ERR,
                                     WRITE ̲VIEW ̲ERR,
                                     OPEN ̲SEND ̲VIEW ̲ERR,
                                     CLOSE ̲SEND ̲VIEW ̲ERR,
                                     CLOSE ̲VIEW ̲ERR,
                                     RESERVE ̲BUFFER ̲ERR,
                                     WRITE ̲BUFFER ̲ERR,
                                     SEND ̲BUFFER ̲ERR,
                                     DISMANTLE ̲BUFFER ̲ERR,
                                     READ ̲TEXT ̲FIELD ̲ERR,
                                     SEND ̲OTS ̲ERR,
                                     SEND ̲MSO ̲ERR,
                                     SEND ̲MDP ̲ERR,
                                     SEND ̲TCS ̲ERR,
                                     SEND ̲PTP ̲ERR,
                                     SEND ̲FLASH ̲NOTIFICATION
                                     ̲ERR,
                                     SEND ̲SAR ̲ERR,


                                     SEND ̲REPLY ̲ERR,
                                     CREATE ̲CIF ̲VERSION ̲ERR,
                                     SAVE ̲SENT ̲VIEW ̲ERR,
                                     GET ̲ACP ̲127 ̲PARAM ̲ERR,
                                     GET ̲NETWORK ̲PARAM ̲ERR,
                                     RETURN ̲MRSSAGE ̲ERR,
                                     DISMANTLE ̲SENT ̲VIEW ̲ERR,
                                     DISMANTLE ̲RECEIVED ̲VIEW
                                     ̲ERR);


         PLA ̲MASK
         ---------















































         FIG. 4.2.2.5.6.1



4.2.2.6  C̲o̲m̲m̲o̲n̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲

         This section will describe the shared procedures of
         the Conversion Subpackage. 



4.2.2.6.1    C̲o̲m̲m̲o̲n̲ ̲C̲o̲n̲t̲r̲o̲l̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲



4.2.2.6.1.1 D̲a̲t̲a̲ ̲E̲r̲r̲o̲r̲ ̲

         The function of the Data Error procedure is to send
         none acceptable Queue Elements received via the Conversion
         Queue to the GAQ-QUEUE served by SSC for print-out
         at the Operator position.

         The QEL can be sent into the GAQ ̲QUEUE for the following
         reasons:

         -   the parameters of the QEL.HEADER received was illegal.

         -   the expected minimum of fields were not present
             in a received view.

         The reason will be printed together with the contents
         of the QEL.Header and the Message-Contents using the
         USER ̲CC.

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

         DATA ̲ERROR (R5: DATA ̲ERROR ̲TYPE
                     R6: LINK) ( )

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

         GARBLE ̲PARAM : GARBLE ̲PARAMS;



         D̲A̲T̲A̲ ̲E̲R̲R̲O̲R̲  (DATA ̲ERROR)  ()



         USER ̲ACTION = CONTINUE

         ERROR ̲TYPE = QERROR

         QEL = QEL ̲REF

         USING  QERROR ̲INF:

             RECEIVING ̲Q.MAINQUEUE = COQ

             RECEIVING ̲Q.SUBQUEUE = RECEIVE ̲SUBQUEUE

             ORIGINAL ̲SENDER = 1

             USER ̲CC = DATA ̲ERROR


         SEND ̲GARBLE  (USER ̲ACTION,
                       ERROR ̲TYPE,

                       QEL,

                       ERROR ̲INF)   ( ) : OK



         RETURN


4.2.2.6.1.2 P̲r̲o̲c̲e̲s̲s̲i̲n̲g̲ ̲E̲r̲r̲o̲r̲ ̲

         The function of the Processing Error procedure is to
         report a processing error to SSC; the report will in
         most cases result in retirement of the Conversion Process,
         so this module will assign specific registers with
         debugging-values (ERROR ̲FUNCTION) before the report
         is sent.

         If the completion-code returned from the system-call
         matches the acceptable error-code, the module calling
         this module will itself handle the situation; otherwise
         SSC will retire the processing. When the process is
         retired the register contents will be displayed at
         the opertor position; in order to achieve a quick debugging
         facility, R1 will contain the Function-Error-type in
         this dump.

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

         PROCESSING ̲ERROR   (R4: SAVE ̲LINK TMP ̲CALLS
                             R5: ERROR ̲FUNCTION ̲TYPE
                             R7: EXIT ̲CC
                             R6: LINK) ( )



4.2.2.6.1.3 M̲o̲v̲e̲ ̲C̲h̲a̲r̲a̲c̲t̲e̲r̲s̲

         Moves a character ̲string from one location to another.

         The location TO and FROM may be on byte boundary.

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

         MOVE ̲CHARACTER    (R0 : No of characters
                            R1 : From address
                            R2 : From byte index
                            R3 : To address
                            R4 : To byte index
                            R6 : LINK)
                           (R2 : New from index
                            R4 : New to index)




4.2.2.6.1.4 I̲n̲s̲e̲r̲t̲ ̲C̲h̲a̲r̲a̲c̲t̲e̲r̲s̲

         Inserts the wanted character as many times specified
         in the location delivered as input.

         The input location may be on byte boundary

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

         INSERT ̲CHARACTER  (R0 : No of characters,
                            R1 : Start address
                            R2 : Start byte index
                            R3 : Insert character,
                            R6 : LINK) ( )



4.2.2.6.2    C̲o̲m̲m̲o̲n̲ ̲R̲o̲u̲t̲i̲n̲g̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲



4.2.2.6.2.1 C̲h̲e̲c̲k̲ ̲C̲i̲r̲c̲u̲i̲t̲ ̲S̲t̲a̲t̲u̲s̲

         Receives a circuit-number and a pointer to a RI ̲record;
         checks the circuit classification, block-indicator
         and connectivity-status. Returns a Routing-code with
         result. Activates the Routing Report Module if classification
         mismatch (Circuit/Message) and if a circuit is not
         available.

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

             CHECK ̲CIRCUIT ̲STATUS : (R0 : CIRCUIT ̲NO
                                     R1 : RI ̲REC ̲POINTER
                                     R6 : LINK)
                                    (R5 : ROUTING ̲CODE)

         E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲:̲

             CLEAR ̲INSTRUCTION
             PUNCH ̲INSTRUCTION
             ADMINISTRATION.CLASS
             CIRCUIT ̲RESULT
             CONNECTIVITY ̲RESULT


         CHECK ̲CIRCUIT ̲STATUS  (CIRCUIT ̲NO, RI ̲REC ̲POINTER)
                        (ROUTING ̲CODE)


         ROUTING ̲CODE  =  OK

         USING CIRCUIT ̲RESULT (CIRCUIT ̲NO):

             CIRCUIT ̲CLASS LE ADMINISTRATION.CLASS ?

             ROUTING ̲CODE = TOO ̲LOW ̲CIRCUIT ̲CLASS

             CLEAR ̲INSTRUCTION OR PUNCH ̲INSTRUCTION ?

             ROUTING ̲REPORT (CIRCUIT ̲NO, RI ̲REC ̲POINTER,
                                            ROUTING ̲CODE)


             CIRCUIT ̲BLOCKED = FALSE ?

             ROUTING ̲CODE    = CIRCUIT ̲BLOCKED


         USING CONNECTIVITY ̲RESULT (CIRCUIT ̲NO)

             NO ̲OF ̲CHANNELS GE ONE ?

             ROUTING ̲CODE = NO ̲CHANNELS ̲AVAILABLE



         RETURN


4.2.2.6.2.2 C̲h̲e̲c̲k̲ ̲R̲I̲ ̲S̲t̲a̲t̲u̲s̲

         Receives a pointer to a RI ̲Record derived via a search
         in the Glocal PLA ̲Table or RI-Table.

         Checks if the message classification is higher or equal
         to the RI-classification. Also checks if any RI and
         circuit-no is assigned in the RI ̲Record.

         Returns a Routing-code in accordance with the result.

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

             CHECK ̲RI ̲STATUS (R0 : RI ̲REC ̲POINTER
                              R6 : LINK
                             (R1 : CIRCUIT ̲NO
                              R5 : ROUTING ̲CODE)

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

             RI ̲RECORD ̲TYPE
             ADMINISTRATION.CLASS



         CHECK ̲RI ̲STATUS (RI ̲REC ̲POINTER)
                         (CIRCUIT ̲NO, ROUTING ̲CODE)



         ROUTING ̲CODE = OK


         CIRCUIT ̲NO = RI ̲REC ̲POINTER. CIRCUIT

         RI = SPACE ? ROUTING ̲CODE = NO ̲RI ̲ASSIGNED

         CIRCUIT ̲NO = ZERO ? ROUTING ̲CODE = NO ̲CIRCUIT ̲ASSIGNED

         RI ̲REC ̲POINTER.CLASS LE ADMINISTRATION.CLASS



         ROUTING ̲CODE = TOO ̲LOW ̲RI ̲CLASS


         RETURN


4.2.2.6.2.3 U̲p̲d̲a̲t̲e̲ ̲P̲L̲A̲ ̲R̲I̲

         Updates an existing PLA ̲RI ̲record with the following
         contents as specified in the input-parameters,

         -   SELECTED ̲RI
         -   CIRCUIT ̲NO
         -   ROUTING ̲CODE

         The principle for an update is that a routing ̲code
         with higher value (or OK) will cause a new assignment
         of all update-parameters.

         NOTE:   The Routing ̲Error-types must be arranged after
                 significance. The present arrangement is the
                 most easy alternative for handling by the MSO.

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

         UPDATE ̲PLA ̲RI (R0: RI ̲Address,
                        R1: Circuit ̲No
                        R2: Routing ̲CC
                        R4: PLA ̲RI ̲Record No
                        R6: LINK) ( )



4.2.2.6.2.4 C̲o̲m̲p̲a̲r̲e̲ ̲R̲I̲

         Compares the two RI's pointed out via the input-parameters
         with each other.

         Returns an OK or NOT ̲OK completion equal to the compare
         result.

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

         COMPARE ̲RI (R0: address RI
                     R1: address Compare RI
                     R6: LINK)
                    (R2: CC)


4.2.2.6.2.5 L̲o̲c̲a̲t̲e̲ ̲R̲I̲.̲

         Receives a pointer to a PLA ̲RI ̲RECORD (dynamic), it
         then searches forward and compares the selected ̲RI
         with the RI pointed out; if found the PLA ̲RI ̲Record
         number is returned - otherwise a NOT ̲OK completion.

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

             LOCATE ̲RI  (R0 : Address LOCATE ̲RI
                         R1 : FROM PLA ̲RI ̲record NO
                         R6 : LINK)
                        (R1 : LOCATED PLA ̲RI ̲record NO
                         R4 : Address PLA ̲RI ̲record,
                         R5 : CC)


         E̲x̲t̲e̲r̲n̲a̲l̲ ̲D̲a̲t̲a̲:̲

             PLA ̲RI ̲DYNAMIC ̲COUNT
             PLA ̲RI ̲RECORD ̲TYPE



4.2.2.6.3    C̲o̲m̲m̲o̲n̲ ̲F̲o̲r̲m̲a̲t̲t̲i̲n̲g̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲



4.2.2.6.3.1 B̲i̲n̲a̲r̲y̲ ̲t̲o̲ ̲A̲S̲C̲I̲I̲

         Converts a binary value in the range 0 to 9999 into
         the associated ASCII-representation. The number of
         ASCII digits output are then minimum 1 and maximum
         4.

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

         BINARY ̲ASCII: (R0 : Start index
                        R1 : Start address
                        R2 : Binary value
                        R3 : Number of digits
                        R6 : LINK) ( )





4.2.2.6.3.2 L̲o̲c̲a̲t̲e̲ ̲N̲e̲x̲t̲ ̲L̲i̲n̲e̲

         Walks through a range of character ̲strings formatted
         with IOC ̲RECORD ̲Headers.

         Delivers the start ̲byte ̲index of the next line plus
         the line ̲status OK.

         Indicates invalid start with NOT ̲OK and the end of
         range with OK ̲EOLN or NOT ̲OK ̲EOLN.

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

           LOCATE ̲NEXT ̲LINE (R0 : LAST LINE ̲INDEX
                           R1 : STOP INDEX
                           R5 : LAST ̲LINE ̲STATUS
                           R6 : LINK)
                            (R0 : NEXT LINE ̲INDEX
                           R5 : LINE ̲STATUS)



4.2.2.6.3.3 U̲p̲d̲a̲t̲e̲ ̲I̲O̲C̲ ̲R̲e̲c̲o̲r̲d̲

         Updates the 3 byte IOC ̲Record needed in front of each
         format-line during formatting procedures.

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

           UPDATE ̲IOC ̲RECORD (R0 : FL ̲POINTER
                            R2 : Byte ̲count
                            R6 : LINK)
                             (R0 : FL ̲POINTER NEXT FL)


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

         IOC ̲RECORD ̲TYPE



4.2.2.6.3.4 I̲n̲s̲e̲r̲t̲ ̲S̲p̲a̲c̲e̲

         Inserts the number of spaces from the position specified
         at input in the conversion ̲buffer.

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

         INSERT ̲SPACE (R0 : FL ̲index
                       R1 : No ̲of ̲spaces
                       R6 : LINK)
                      (R0 : New FL ̲index)


4.2.2.6.3.5 I̲n̲s̲e̲r̲t̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲

         Inserts the delivered parameter at the location in
         the conversion ̲buffer as specified by input.

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

         INSERT ̲PARAMETER (R0 : FL ̲INDEX
                           R1 : PARAM ̲LENGTH
                           R4 : PARAM ̲ADDRESS
                           R6 : LINK)
                          (R0 : NEW FL ̲INDEX)



4.2.2.6.3.6 F̲o̲r̲m̲a̲t̲ ̲P̲r̲e̲c̲e̲d̲e̲n̲c̲e̲

         Formats the precedence ̲prosign as many times specified,
         on basis of a precedence ̲type, at the location specified
         in the conversion ̲buffer.

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

         FORMAT ̲PRECEDENCE (R0 : FL ̲INDEX
                            R2 : NO ̲OF ̲PROSIGNS
                            R3 : PRECEDENCE ̲TYPE
                            R6 : LINK)
                           (R0 : NEW FL ̲INDEX)



4.2.2.6.3.7 F̲o̲r̲m̲a̲t̲ ̲C̲l̲a̲s̲s̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         Formats the classification ̲prosign as many times specified,
         on basis of a classification type, at the location
         specified in the conversion ̲buffer.

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

         FORMAT ̲CLASSIFICATION (R0 : FL ̲index
                                R2 : NO ̲OF ̲PROSIGNS
                                R3 : CLASSIFICATION ̲TYPE
                                R6 : LINK)
                               (R0 : NEW FL ̲INDEX)



4.2.2.6.3.8 F̲o̲r̲m̲a̲t̲ ̲S̲p̲e̲c̲i̲a̲l̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲

         Formats the special handling prosign as many times
         specified, on basis of a special handling word, at
         the location specified in the conversion ̲buffer. The
         lowest bit associated to a special handling is formatted
         first and the associated bit cleared after the formatting.

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

         FORMAT ̲SPECIAL ̲HANDLING (R0 : FL ̲index,
                                  R2 : NO ̲OF ̲PROSIGNS
                                  R3 : SPEC ̲HANDL ̲MASK
                                  R6 : LINK)
                                 (R0 : NEW FL ̲INDEX)



4.2.2.6.3.9 F̲o̲r̲m̲a̲t̲ ̲R̲I̲

         Formats the RI at the position in the conversion ̲buffer
         specified by the input ̲parameters.

         The length of the RI is allocated on basis of the first
         trailing space.

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

         FORMAT ̲RI  (R0 : FL ̲INDEX
                     R4 : RI ̲ADDRESS
                     R6 : LINK)
                    (R0 : NEW ̲FL ̲INDEX
                     R2 : RI ̲LENGTH)



4.2.2.6.4    C̲o̲m̲m̲o̲n̲ ̲S̲e̲a̲r̲c̲h̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲



4.2.2.6.4.1 C̲o̲l̲l̲e̲c̲t̲ ̲P̲L̲A̲ ̲K̲e̲y̲

         The PLA ̲ref delivered as input via a PLA ̲RI ̲record
         is the key to be collected in the key ̲area before a
         TMP ̲search.

         The PLA ̲ref is appended to the already collected PLA
         ̲ref's provided that the associated PLA ̲RI ̲record does
         not represent,



         -   a ZEN ̲PLA
         -   a dummy REF ̲AIG

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

         COLLECT ̲PLA ̲KEY (R2: NO ̲OF ̲KEYS
                          R4: PLA ̲RI ̲ADDRESS
                          R6: LINK)
                         (R2: NO ̲OF ̲KEYS INCREMENTED
                          R4: LATEST KEY ̲ADDRESS
                          R5: CC)



4.2.2.6.4.2 C̲o̲l̲l̲e̲c̲t̲ ̲R̲I̲ ̲K̲e̲y̲

         The selected ̲RI delivered as input via a PLA ̲RI ̲record
         is the key to be collected in the key ̲area before a
         TMP ̲search.

         The RI is appended to the already collected RI's provided
         that the associated PLA ̲RI ̲record does not represent,

         -   a IGNORE ̲RI
         -   a DELETE ̲RI
         -   a SECONDARY ̲RI
         -   a ZEN ̲PLA
         -   a Dummy REF ̲AIG

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

         COLLECT ̲RI ̲KEY  (R2: NO ̲OF ̲KEYS
                          R4: PLA ̲RI ̲ADDRESS
                          R6: LINK)
                         (R2: NO ̲OF ̲KEYS INCREMENTED
                          R4: LATEST KEY ̲ADDRESS
                          R5: CC)


4.2.2.6.4.3 S̲e̲a̲r̲c̲h̲ ̲G̲l̲o̲b̲a̲l̲ ̲P̲L̲A̲

         Builds up the TMP ̲parameters for a search in the Global
         PLA ̲table using the collected PLA ̲keys.

         Returns after execution of the TMP ̲call with 4 RI ̲records
         associated to each PLA ̲ref as result.

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

         SEARCH ̲GLOBAL ̲PLA (R2: NO ̲OF ̲KEYS
                            R4: RESULT ̲ADDRESS
                            R6: LINK) ( )



4.2.2.6.4.4 S̲e̲a̲r̲c̲h̲ ̲G̲l̲o̲b̲a̲l̲ ̲R̲I̲

         Builds up the TMP ̲parameters for a search in the GLOBAL
         RI ̲table using the collected RI ̲keys.

         Returns after execution of the TMP ̲call with a complete
         RI ̲record as result (RI, RI ̲class, Circuit ̲No).

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

         SEARCH ̲GLOBAL ̲RI (R2: NO ̲OF ̲KEYS
                           R4: RESULT ̲ADDRESS
                           R6: LINK) ( )



         S̲E̲A̲R̲C̲H̲ ̲G̲L̲O̲B̲A̲L̲ ̲R̲I̲ (NO ̲OF ̲RI ̲KEYS) ( )

         SEARCH ̲PRIMARY ̲KEY

             (TABLE ̲ID = RI ̲TABLE

             BUFFER 1 = KEY ̲AREA,

             COUNT = NO ̲OF ̲RI ̲KEYS

             BUFFER ̲2 = RESULT ̲AREA 1

             BUFFER ̲2 LENGTH = MAX ̲RESULT ̲1

             MASK ̲2 = RI ̲RECORD)

             (CC) : ERROR ̲OK


         ERROR ?  PROCESSING ̲ERROR (CC, SEARCH ̲RI, NO ̲ACCEPT)
         ( )


         RETURN


4.2.2.6.4.5 S̲e̲a̲r̲c̲h̲ ̲L̲o̲c̲a̲l̲ ̲P̲L̲A̲ ̲R̲e̲f̲

         The PLA ̲ref received as input is used in a TMP ̲call
         in order to extract the associated HQ ̲number of the
         local PLA ̲table.

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

         SEARCH ̲LOCAL ̲PLA ̲REF (R2: PLA ̲REF
                               R6: LINK)
                              (R3: HQ ̲NUMBER
                               R5: CC)



4.2.2.6.4.6 S̲e̲a̲r̲c̲h̲ ̲A̲d̲d̲r̲e̲s̲s̲

         The PLA ̲Ref already collected in the key ̲area is used
         in a TMP ̲call in order to extract a Plain Language
         Address of the Global PLA ̲table.

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

         SEARCH ̲ADDRESS (R6: LINK)
                        (R4: RESULT ̲ADDRESS,
                         R5: CC)



4.2.2.6.4.7 R̲e̲a̲d̲ ̲C̲i̲r̲c̲u̲i̲t̲ ̲T̲a̲b̲l̲e̲s̲

         Requests TMP in order to output the full contents of
         the Circuit ̲table and the Circuit Connectivity table
         before each Routing.

         The Contents of the Circuit ̲table is placed in the
         buffer RESULT ̲1 while the contents of the Circuit Connectivity
         table is placed in the buffer RESULT ̲2.

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

         READ ̲CIRCUIT ̲TABLES (R6: LINK) ( )


         R̲E̲A̲D̲ ̲C̲I̲R̲C̲U̲I̲T̲ ̲T̲A̲B̲L̲E̲S̲

         SEARCH ̲NEXT ̲PRIMARY ̲KEY

             (TABLE ̲ID = CIRCUIT ̲TABLE,
             ENTRY = NIL
             COUNT = MAX ̲CIRCUITS,
             BUFFER ̲2 = RESULT ̲AREA 1
             BUFFER ̲2 ̲LENGTH = MAX ̲RESULT 2
             MASK2 = NIL)
             (CC) : ERROR ̲OK

         ERROR? PROCESSING ̲ERROR (CC,SEARCH ̲CIRCUIT,NO ̲ACCEPT)()

         SEARCH ̲NEXT ̲PRIMARY ̲KEY

             (TABLE ̲ID = CONNECTIVITY ̲TABLE,
             ENTRY = NIL
             COUNT = MAX ̲CIRCUITS,
             BUFFER ̲2 = RESULT ̲AREA ̲1
             BUFFER ̲2 ̲LENGTH = MAX ̲RESULT 3
             MASK2 = NIL)
             (CC,) : ERROR ̲OK

         ERROR? PROCESSING ̲ERROR (CC,SEARCH ̲CONNECTIVITY,
                                  NO ̲ACCEPT) ()

         RETURN



4.2.2.6.4.8 C̲o̲n̲v̲e̲r̲t̲ ̲F̲i̲l̲i̲n̲g̲ ̲T̲i̲m̲e̲

         Executes the call CONVERT ̲TIME to the Timer Monitor
         in order to convert a binary Time ̲type into an ASCII
         filing time.

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

         CONVERT ̲FILING ̲TIME (R2: Address Time ̲type
                              R6: LINK)
                             (R2: Length Filing ̲time
                              R4: Address Filing ̲time)



4.2.2.6.4.9 C̲o̲n̲v̲e̲r̲t̲ ̲D̲T̲G̲

         Executes the call CONVERT ̲TIME to the Timer Monitor
         in order to convert a binary Time ̲type into an ASCII
         Date Time Group.

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

         CONVERT ̲DTG     (R2: Address TIME ̲TYPE
                          R6: LINK)
                         (R2: LENGTH DTG
                          R4: ADDRESS DTG)



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



4.2.2.7.1    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲M̲D̲P̲

         A̲C̲S̲ ̲t̲o̲ ̲M̲D̲P̲:̲

         a)  Plaindress or data messages for incoming message
             distribution (Local PLA  ̲ Format El).

         b)  Plaindress or data messages for local distribution
             (local SCD - Format E2)



4.2.2.7.2    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲T̲E̲P̲

         A̲C̲S̲ ̲t̲o̲ ̲T̲E̲P̲:̲

         a)  Message service for RI-assignment.

         b)  Security and warning Reports for printout at the
             supervisor position.

         T̲E̲P̲ ̲t̲o̲ ̲A̲C̲S̲:̲

         a)  User prepared plaindress and data messages for
             RI-assignment and conversion.

         b)  Supervisor prepared ASM and service messages for
             RI-validation and conversion. (Return Completion-code
             if not plaindress service message)

         c)  User prepared comments and VDU-pages for conversion
             to SCARS/CCIS El-format. (Return status-code originator).

         d)  Reentering from outgoing message service after
             RI-assignment with a notation indicating whether
             the following subfunctions have been performed:

             -   Punch
             -   Clear.

             (Return Completion Code).

         e)  Supervisor initiated readdressal and rerun.


4.2.2.7.3    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲T̲R̲S̲

         A̲C̲S̲ ̲t̲o̲ ̲T̲R̲S̲:̲

         a)  Messages for transmission to:

             -   NICS TARE
             -   TRC/Point-to-point
             -   SCARS
             -   CCIS

             The messages will be forwarded to the corresponding
             circuit-queue.

         b)  Rerouted messages for transmission and retransmission.
             The messages for retransmission shall be supplied
             with a suspected duplicate pilot (ACP127 or El
             in accordance with format-type).

         c)  Messages to be punched at the dedicated PTP for
             off-line decryption.

         d)  A command indicating that a message of precedence
             flash has been forwarden to a circuit or PTP-queue
             will be sent to the transmission control queue
             in order to initiate preemption (not NICS TARE).

         T̲R̲S̲ ̲t̲o̲ ̲A̲C̲S̲:̲

         a)  Messages for rerouting (any case of channel close).
             It shall be indicated whether the message had been
             partly transmitted or not (if possible).



4.2.2.7.4    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲A̲A̲S̲

         A̲A̲S̲ ̲t̲o̲ ̲A̲C̲S̲

         a)  Complete outgoing messages for Routing and automatic
             release before transmission.

         b)  Plaindress released messages from SCARS/CCIS for
             RI-assignment and conversion.


         c)  Incoming messages for relay based upon a CAMPS
             relevant relay-instruction (NICS TARE, TRC/Point-to-point).

         d)  Incoming message containing SCARS or CCIS relevant
             RI's for external distribution.



4.2.2.7.5    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲A̲R̲

         T̲H̲P̲ ̲t̲o̲ ̲S̲A̲R̲

         Storage of automatically released messages.