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

⟦8d87517ae⟧ Wang Wps File

    Length: 35280 (0x89d0)
    Types: Wang Wps File
    Notes: CPS/SDS/035               
    Names: »2078A «

Derivation

└─⟦a5d18cecd⟧ Bits:30006104 8" Wang WCS floppy, CR 0164A
    └─ ⟦this⟧ »2078A « 

WangText



…0f……08……0f……0c……0f……00……0f…
…0f……06……0e……0b……0e……0f……0e…
…0e……07……0d……0b……0d……0f……0d…
…0d…    …0c……08……0c……09……86…1
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    …02… 
     
     
     
     
     …02…
     
    …02… 
     
     
     
    

…02…CPS/SDS/035

…02…850601…02……02…
SUPERVISOR
 VDU
DETAILED
 DESIGN
 SPECIFICATION…02…ISSUE
 1…02…CAMPS








4.2.2.6  C̲o̲m̲m̲o̲n̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲

         The Common Subpackage Procedures described in this
         section have been grouped as follows:

         a)  S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲i̲/̲f̲ ̲r̲e̲l̲a̲t̲e̲d̲ ̲p̲r̲o̲c̲e̲d̲u̲r̲e̲s̲.̲

             Subsections 4.2.2.6.1 through 4.2.2.6.12.

         b)  V̲D̲U̲ ̲i̲/̲f̲ ̲r̲e̲l̲a̲t̲e̲d̲ ̲p̲r̲o̲c̲e̲d̲u̲r̲e̲s̲.̲

             Subsections 4.2.2.6.13 through 4.2.2.6.17.

         c)  C̲o̲m̲m̲a̲n̲d̲ ̲l̲i̲n̲e̲ ̲i̲n̲p̲u̲t̲ ̲v̲a̲l̲i̲d̲a̲t̲i̲o̲n̲ ̲p̲r̲o̲c̲e̲d̲u̲r̲e̲s̲.̲

             Subsections 4.2.2.6.18 through 4.2.2.6.21

         d)  O̲t̲h̲e̲r̲

             From subsection 4.2.2.6.22 and onwards.



4.2.2.6.1    S̲e̲n̲d̲ ̲S̲V̲C̲O̲ ̲A̲n̲s̲w̲e̲r̲



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

         An answer to a command ifrom SVCO is created with the
         specified answer (CO ̲CMD ̲CC) and sent to SVCO. The
         answer is created in the operation pointed out at call.



4.2.2.6.1.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  SEND ̲SVCO ̲ANSWER

                 (SVUP ̲OP: SVUP ̲COROUTINE ̲OP
                 ANSWER:   CO ̲CMD ̲CC)

         b)  SEND ̲SVCO ̲ANSWER (R0, 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̲

         R0      CO ̲CMD ̲CC                C    D
         R5      POINTER TO OPERATION     C    D
         R6      LINK



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

         R0-R7                            DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package dat
             Refer SFCO subpackage data

             SVUP ̲OP                      C    R
             SVCO ̲SEM                     -    -

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

             Refer source listing



4.2.2.6.1.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The SFCO answer to the SVCO command contained in SVUP
         ̲OP is created and signalled to the SVCO ̲SEM.



4.2.2.6.2    S̲e̲n̲d̲ ̲S̲V̲D̲I̲A̲ ̲C̲m̲d̲



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

         A free coroutine operation is fetched from the SFCO
         operation pool and an operation with contents as specified
         by call parameters is created and sent to SVDIA.

         The operation no is stored in EXP ̲SVDIA ̲NO and SVDIA
         ̲CMD ̲OUT is incremented.


4.2.2.6.2.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  SEND ̲SVDIA ̲CMD

                 (SVDIA ̲CMD:              SVDIA ̲CMD ̲ANS ̲TYPE
                 PARAM1:                  INTEGER
                 PARAM2:                  INTEGER
                 PARAM3:                  INTEGER)

         b)  SEND ̲SVDIA ̲CMD (R0, R1, R2, R3, 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  SVDIA ̲CMD                    C    D
         R1  PARAM1                       C    D
         R2  PARAM2                       C    D
         R3  PARAM3                       C    D
         R6  LINK                         C    D

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

         R0-R7                            DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SFCO subpackage data

             EXP ̲SVDIA ̲NO: INTEGER        -    R
             SVDIA ̲CMD ̲OUT: INTEGER       C    D

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

             Refer source listing



4.2.2.6.2.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         N/A



4.2.2.6.3    S̲e̲n̲d̲ ̲S̲C̲R̲E̲P̲ ̲C̲m̲d̲



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

         A free coroutine operation is fetched from the SFCO
         operation pool and an operation with contents as specified
         by call parameters is created and sent to SCREP.

         SVDIA ̲CMD ̲OUT is incremented.



4.2.2.6.3.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  SEND ̲SCREP ̲CMD

             (SCREP ̲CMD: SCREP ̲CMD ̲ANS ̲TYPE

             PARAM1: INTEGER

             PARAM2: INTEGER

             PARAM3: INTEGER)

         b)  SEND ̲SCREP ̲CMD (R0, R1, R2, R3, 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  SCREP ̲CMD                    C    D
         R1  PARAM1                       C    D
         R2  PARAM2                       C    D
         R3  PARAM3                       C    D
         R6  LINK                         C    D

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

         R0-R7                            DEST





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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             SFCO ̲OP                      -    -
             SCREP ̲SEM                    -    -
             SCREP ̲CMD ̲OUT                C    D

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

             None



4.2.2.6.3.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         N/A



4.2.2.6.4    F̲r̲e̲e̲ ̲S̲F̲C̲O̲ ̲O̲p̲e̲r̲a̲t̲i̲o̲n̲



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

         A SFCO Coroutine operation is returned to the free
         set of SFCO coroutine operations. The count of outstanding
         commands is decremented for the coroutine (SVDIA or
         SCREP) which returned the operation.



4.2.2.6.4.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  FREE ̲SFCO ̲OP

             (SFCO ̲OP: SVUP ̲COROUTINE ̲OP): ERROR ̲OK



         b)  FREE ̲SFCO ̲OP (R5, R6): ERROR ̲OK

         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̲

         R5      POINTER TO OPERATION     C    D
         R6      LINK                     C    D

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

         R0-R7                            DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             NO ̲OF ̲USED ̲SFCO ̲OP: INTEGER  C    R
             SVDIA ̲CMD ̲OUT: INTEGER       C    R
             SCREP ̲CMD ̲OUT: INTEGER       C    R
             SFCO ̲PT ̲SET: ARRAY (SFCO ̲OP ̲
             START ̲INDES..NO ̲OF ̲SVUP ̲OP)
             OF POINTER                   C    R

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

             Refer source listing



4.2.2.6.4.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         It is checked, if the SFCO ̲OP may be inserted in the
         FREE ̲SFCO ̲OP ̲SET, if not a return via the error exit
         takes place. Otherwise the coroutine which returned
         the operation is identified and the count CMD ̲OUT for
         the relevant coroutine is decremented. The SFCO ̲OP
         is returned to the FREE ̲SFCO ̲OP ̲SET and a return via
         the OK exit takes place.



4.2.2.6.5    F̲e̲t̲c̲h̲ ̲S̲F̲C̲O̲ ̲O̲p̲e̲r̲a̲t̲i̲o̲n̲



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

         A SFCO coroutine operation is fetched from the free
         set of SFCO coroutine operations and returned to the
         caller.



4.2.2.6.5.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  FETCH ̲SFCO ̲OP ()

                 (SFCO ̲OP: SVUP ̲COROUTINE ̲OP): ERROR ̲OK

         b)  FETCH ̲SFCO ̲OP(R6, R5): ERROR ̲OK

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

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

         R5      POINTER TO OPERATION     -    R
         R6      LINK                     C    D

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

         R0-R4                            DEST
         R5          Pointer to Operation RETURN
         R6-R7                            DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             NO ̲OF ̲USED ̲SFCO ̲OP: INTEGER  C    R
             SFCO ̲PT ̲SET: ARRAY (SFCO ̲OP ̲
             START ̲INDEX..NO ̲OF ̲SVUP ̲OP)
             OF POINTER                   C    R



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

             Refer source listing



4.2.2.6.5.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         It is checked if the NO ̲OF ̲USED ̲SFCO ̲OP is greater
         or equal the available number of SFCO operations (SFCO
         ̲MAX ̲OP), and if, a return via the error exit takes
         place. Otherwise a SFCO ̲OP is fetched from the FREE
         ̲SFCO ̲OP ̲SET, NO ̲OF ̲USED ̲SFCO ̲OP is incremented and
         a return via the ok exit takes place.



4.2.2.6.6    R̲e̲q̲u̲e̲s̲t̲ ̲F̲/̲C̲ ̲K̲e̲y̲ ̲I̲n̲p̲u̲t̲



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

         Request F/C Key Input opens for communication with
         the supervisor through f/c keys.



4.2.2.6.6.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  REQUEST ̲FC ̲KEY ̲INPUT
         b)  REQUEST ̲FC ̲KEY ̲INPUT (R6)

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

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

         R6  LINK                         C    K

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

         R0-R5, R7                        DEST





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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             SPLIT ̲DIGIT                  C    K
             FC ̲KEY ̲OP ̲PT                 C    K
             FC ̲KEY ̲OUT                   C    R
             SFCO ̲SEM                     C    K

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

             Refer source listing



4.2.2.6.6.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         A RECEIVE ̲CONTROL system call is initiated and the
         counter FC ̲KEY ̲OUT is incremented. If more than one
         input request has been issued TEP ̲INTERNAL ̲ERROR is
         called.



4.2.2.6.7    D̲e̲l̲e̲t̲e̲ ̲F̲/̲C̲ ̲K̲e̲y̲ ̲I̲n̲p̲u̲t̲ ̲R̲e̲q̲u̲e̲s̲t̲



4.2.2.6.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̲

         If the communication with the supervisor through f/c
         keys has been opened, it is closed.



4.2.2.6.7.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  DELETE ̲FC ̲KEY ̲INPUT ̲REQUEST



         b)  DELETE ̲FC ̲KEY ̲INPUT ̲REQUEST (R6)

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

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

         R6  LINK                         C    K

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

         R0-R5, R7                             DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             FC ̲KEY ̲OPPT                  C    K
             FC ̲KEY ̲OUT                   C    R

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

             Refer source listing



4.2.2.6.7.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         If the counter FC ̲KEY ̲OUT equals zero a return to the
         caller takes place immediately, otherwise a cancel
         system call is issued followed by a wait system call,
         FC ̲KEY ̲OUT is decremented.



4.2.2.6.8    S̲e̲t̲ ̲H̲e̲a̲d̲e̲r̲ ̲T̲e̲x̲t̲



4.2.2.6.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̲

         This procedure sets the header text in the header split,
         according to NEW ̲FORMAT, referenced in SEQ ̲REC.



4.2.2.6.8.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  SET ̲HEADER ̲TXT (FORMAT: SEQ ̲FORMAT)(STATE:SEQ ̲STATE)
         b)  SET ̲HEADER ̲TXT (R1, R7, R6)

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

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

         R1      FORMAT: SEQ ̲FORMAT       C    D
         R7      SEQ ̲STATE                -    R
         R6      LINK                     C    K

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

         R0-R5                            DEST
         R6                               KEPT
         R7      STATE                    RETURN



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             None

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

             Refer source listing.



4.2.2.6.8.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         STATE R7 is et to TEXC if the completion code VDU ̲SPLIT
         ̲
         FAILED has been received from the Format Handler, otherwise
         STATE (R7) is set to TCON.




4.2.2.6.9    E̲x̲t̲r̲a̲c̲t̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲



4.2.2.6.9.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 purpose of this procedure is to extract a token
         in the commandline and put it in a specified address.
         The information about the token is taken from the specified
         CMD ̲PARAM entry.

         If the token is shorter than specified, it will be
         truncated, if it is longer it will be blankpadded.



4.2.2.6.9.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         EXTRACT ̲PARAMETER (NUMBER OF CAHR OUTPUT: INTEGER,
         CMD ̲
         PARAM: POINTER, OUTPUT: POINTER)

         EXTRACT ̲PARAMETER (R3, R5, R7, R6)

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

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

         R3  NUMBER OF CHARACTERS, OUTPUT C    K
         R5  POINTER TO CMD ̲PARAM         C    D
         R7  POINTER TO OUTPUT            C    K
         R6  LINK                         C    K

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

         R0-R2, R4, R5                    DEST
         R3, R7, R6                       KEPT



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes



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

             Refer SFCO subpackage data

             IOC ̲HEADER ̲LINE              C    K
             CMD ̲PARAM ̲TABLE              -    R

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

             Refer source listing



4.2.2.6.9.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         N/A





4.2.2.6.10   W̲a̲i̲t̲ ̲S̲F̲C̲O̲ ̲E̲v̲e̲n̲t̲



4.2.2.6.10.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 WAIT ̲SFCO ̲EVENT procedure constitutes the input
         source for the SFCO Subpackage. Input are received
         from the coroutine semaphore SFCO ̲SEM. At call of the
         procedure, the caller specifies the legal input types
         for the current state of processing and the processing
         to be performed on the input types, which shall not
         cause a return to the caller.

         In figure 4.2.2.6.10-1 the identified functional combinations
         of legal/illegal input types have been depicted together
         with an indication of the required processing for each
         combination. Combinations are denoted states.



4.2.2.6.10.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  WAIT ̲SFCO ̲EVENT

                 (WAIT ̲STATE: SFCO ̲STATE ̲TYPE)
                 (SVUP ̲OP: SVUP ̲COROUTINE ̲OP)

         b)  WAIT ̲SFCO ̲EVENT (R0, R5, R6)










                   Figure 4.2.2.6.10-1


         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  WAIT ̲STATE: SFCO ̲STATE ̲TYPE  C    D
         R5  POINTER TO OPERATION         -    R
         R6  LINK                         C    D

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

         R0-R4                            DEST
         R5      Pointer to Operation     RETURN
         R6-R7                            DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             SFCO ̲WAIT ̲STATE              -    R
             SFCO ̲SEM                     -    K
             REOR ̲EXEC                    C    R
             ABRO ̲EXEC                    C    R
             COPY ̲EXEC                    C    R
             VODL ̲EXEC

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

             Refer source listing



4.2.2.6.10.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The procedure has been designed using the State-Action
         Table shown in figure 4.2.2.6.10-1. SFCO ̲WAIT ̲STATE
         is set as specified by the caller and the loop SFCO
         ̲WAIT ̲LOOP is entered.



         In the SFCO ̲WAIT ̲LOOP the input type of the received
         input is determined and then the processing dependent
         of the SFCO ̲WAIT ̲STATE takes place.

         The processing of the input may result in three different
         actions: a return to the waiting point, an exit out
         of the SFCO ̲WAIT ̲LOOP followed by a return to the caller,
         a call of the procedure SVUP ̲INTERNAL ̲ERROR.




4.2.2.6.11   E̲X̲C̲E̲P̲T̲I̲O̲N̲ ̲V̲D̲U̲



4.2.2.6.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̲

         The procedure is called when a VDU split fail has been
         detected by some part of the software, i.e. when the
         connection to the VDU is broken. The procedure awaits
         the SVCO command to arrive and executes the functions
         specified by the caller. Functions which may be specified
         by caller are:

         1)  Send answer to SVCO
         2)  Delete F/C key input request
         3)  Return SVCO command to caller



4.2.2.6.11.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  EXCEPTION ̲VDU
                 (TYPE: 1..3)
                  SVCO ̲OP: SVUP ̲COROUTINE ̲OP): STOP ̲CLOSE

         b)  EXCEPTION ̲VDU (R0, R5, R6): STOP ̲CLOSE

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

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

         R0      TYPE: 1..3               C    D
         R5      POINTER TO OPERATION     -    R
         R6      LINK                     C    D

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

         R0-R4                            DEST
         R5          POINTER TO OPERATION RETURN
         R6-R7                            DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes



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

             Refer SUP package data

             SVCO ̲SEM                     -    K
             SVCO ̲OP                      -    R

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

             Refer source listing



4.2.2.6.11.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         Refer section 4.2.2.6.11-1

         Type 1  includes functions: 1
         Type 2  includes functions: 3
         Type 3  incluses functions: 2,3.

         Procedure exit depends on the command received from
         SVCO. If a stop command is received a stopping exit
         occurs, if a close command is received a closing command
         occurs.



4.2.2.6.12   F̲e̲t̲c̲h̲ ̲a̲n̲d̲ ̲V̲a̲l̲i̲d̲a̲t̲e̲ ̲F̲/̲C̲ ̲K̲e̲y̲



4.2.2.6.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̲

         The f/c key input is fetched. If the set of f/c keys
         currently allowed is empty, the response message 'CAMPS
         busy' is displayed in the response line of the VDU
         Header Area. If the set of f/c keys currently allowed
         is not empty, but the received f/c key not an element
         in the set, the response message' Illegal f/c key entry'
         is displayed. Otherwise, if the f/c key received is
         the ENTER key the current interpretation of the ENTER
         key is determined and the response line of the VDU
         Header area is blanked, if neccessary.





4.2.2.6.12.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  FETCH ̲AND ̲VAL ̲KEY(      )
                 (FC ̲KEY: SUPV ̲FC ̲KEY
                  CC    : ILL ̲LEG ̲TYPE): EXC ̲NORMAL

         b)  FETCH ̲AND ̲VAL ̲KEY(R5,R7,R6): EXC ̲NORMAL

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

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

         R0      FC ̲KEY                   -    R
         R7      CC                       -    R
         R6      LINK                     C    K

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

         R0      FC ̲KEY                   RETURN
         R1-R6                            DEST
         R7      CC                       RETURN



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

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

         Refer CPS prefixes
         Refer SUP package prefixes
         Refer SFCO subpackage prefixes

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

             FC ̲KEY                       -    R
             FC ̲KEY ̲OUT                   C    R
             FC ̲KEY ̲OP ̲PT                 C    K
             FCK ̲SET                      C    K
             CONV ̲ENTER                   C    K
             ERR ̲NO                       -    R
             RESP ̲LINE ̲FULL               C    R
             IOC ̲HEADER ̲LINE              C    K

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

             Refer source listing





4.2.2.6.12.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The procedure has two exits EXCEPTION and NORMAL. An
         EXCEPTION is performed when the completion code VDU
         ̲
         SPLIT ̲FAILED is received from the Format Handler. A
         NORMAL exit is performed otherwise, and the completion
         code returned to the caller indicates whether a legal
         or illegal f/c key has been received.

         The f/c key type received from the Format Handler is
         converted to a logical function key in accordance with
         the table shown in CPS/SDS/035, fig. 4.2.2.6.12-1.
         Further the possible conversions of the ENTER f/c key
         is shown at the bottom of the table.






         F/C KEY IDENTIFI-       LOGICAL F/C KEY
         CATION DELEVERED        IDENTIFICATION
         BY FORMAT HANDLER       ASSIGNED BY SVUP

         ENTER                   ENTER-FC            CONV ̲ENTER

         FU1                     CMD        0…0e…1…0f…

         FK3                     MENU

         FK4                     KAPN

         FK5                     INSL       0…0e…2…0f…

         FK7                     DERM       0…0e…3…0f…

         FK8                     CANCEL

         FK9                     PRINT

         FK10                    DAPN

         FK11                    DELL       0…0e…4…0f…

         FK2, FK6, FK12-FK36     DUMMY

                                 CMD ̲ENTER  0…0e…1…0f…

                                 ERR ̲MSG    0…0e…3…0f…       CONV ̲ENTER

                                 INSL ̲ENTER 0…0e…2…0f…

                                 DELL ̲ENTER 0…0e…4…0f…


         legend: 0…0e…#…0f… logigally related to each other







        Fig. 4.2.2.6.12-1 F/C KEY CONVERSION TABLE



4.2.2.6.13   E̲X̲E̲C̲U̲T̲E̲ ̲D̲I̲S̲P̲L̲A̲Y̲ ̲E̲R̲R̲O̲R̲ ̲M̲E̲S̲S̲A̲G̲E̲ ̲C̲O̲M̲M̲A̲N̲D̲



4.2.2.6.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̲

         Reads the No. of the Error Message to be displayed
         from the command line of the VDU Header area. Validates
         the No. read, displays the requested Error Message
         and blanks the command line.



4.2.2.6.13.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  EXECUTE ̲DERM ̲CMD
                     (CC: ILL ̲LEG ̲TYPE): EXC ̲NORMAL

         b)  EXECUTE ̲DERM ̲CMD(R7,R6): EXC ̲NORMAL

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

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

         R7      CC                       -    R
         R6      LINK                     C    D

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

         R0 - R6                          DEST
         R7  CC                           RETURN



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             CUR ̲MAX ̲RESP ̲NO              C    K

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

             Refer source listing


4.2.2.6.13.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The procedure has two exits. EXC and NORMAL. An EXC
         exit is performed when the completion code VDU ̲SPLIT
         ̲FAILED is received from the Format Handler. A NORMAL
         exit is performed otherwise, and the completion code
         returned to the caller indicates whether a valid input
         was read from the command line (CC = LEG) or an invalid
         NO was found (CC = ILL). Valid inputs are: no input
         or a valid No.



4.2.2.6.14   S̲E̲T̲ ̲C̲U̲R̲S̲O̲R̲



4.2.2.6.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̲

         Positions the cursor either in the VDU Header Area
         or in the VDU Format Area as specified by the caller.
         Positioning in the VDU Header Area is always at the
         first character in the command line field. Positioning
         in the VDU Format Area is always as specified by a
         cursor position variable.



4.2.2.6.14.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  SET ̲CURSOR
                 (VDU ̲SPLIT: CURSOR ̲SPLIT ̲TYPE): EXC ̲NORMAL

         b)  SET ̲CURSOR(R0,R6): EXC ̲NORMAL

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

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

         R0      VDU ̲SPLIT                C    D
         R6      LINK                     C    D

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

         R0-R7                            DEST





4.2.2.6.14.3 D̲a̲t̲a̲ ̲D̲e̲s̲r̲i̲p̲t̲i̲o̲n̲

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             HEADER ̲IFCB                  C    K
             FORMAT ̲IFCB                  C    K
             CURSOR ̲RECORD                C    K
             CMD ̲CURSOR ̲RECORD            C    K

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

             Refer source listing



4.2.2.6.14.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The procedure has two exits: EXC and NORMAL. An EXC
         exit is performed when the completion code VDU ̲SPLIT
         ̲FAILED is received from the Fomat Handler, otherwise
         a NORMAL exit is performed.



4.2.2.6.15   D̲i̲s̲p̲l̲a̲y̲ ̲R̲e̲s̲p̲o̲n̲s̲e̲ ̲M̲e̲s̲s̲a̲g̲e̲



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

         A text string identified by a number is fetched from
         the Response Text Table and displayed in the Response
         Line of the VDU Header Area. If more than one error
         have been found, the number is -1 and the Response
         Line has already been filled out.



4.2.2.6.15.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  DISPLAY ̲RESP ̲MSG
                     (NO: SVUP ̲RESP ̲MSG ̲TYPE): EXC ̲NORMAL



         b)  DISPLAY ̲RESP ̲MSG (R0, R6): EXC ̲NORMAL

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

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

         R0      NO                       C    D
         R6      LINK                     C    K

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

         R0-R7                            DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SFCO subpackage data

             RESP ̲LINE ̲FULL               -    R

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

             Refer source listing



4.2.2.6.15.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The Procedure has two exits: EXC and NORMAL. An EXC
         exit is performed when the Procedure DISPLAY ̲HEADER
         ̲FIELD returns with this completion, otherwise a NORMAL
         exit occurs.



4.2.2.6.16 R̲e̲a̲d̲ ̲C̲o̲m̲m̲a̲n̲d̲ ̲L̲i̲n̲e̲



4.2.2.6.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̲

         Fetches the content of the command line of the VDU
         Header Area.



4.2.2.6.16.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  READ ̲COMMAND ̲LINE(      )
                     (NO ̲OF ̲BYTES: BYTE ̲LENGTH ̲TYPE): EXC ̲NORMAL

         b)  READ ̲COMMAND ̲LINE(R0,R6): EXC ̲NORMAL

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

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

         R0      NO OF BYTES              -    R
         R6      LINK                     C    K

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

         R0      NO ̲OF ̲BYTES
         R1-R5, R7                        RETURN



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data

             HEADER ̲IFCB                  C    K
             VDU ̲HD ̲BLE                   -    R
             CR ̲FIELD ̲DESC                -    R
             HEADER ̲LINE                  -    R

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





4.2.2.6.16.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The procedure has two exits EXC and NORMAL. An EXC
         (exception) exit is performed if the completion code
         VUD ̲SPLIT ̲FAILED is received from the Format Handler,
         otherwise a NORMAL exit is performed.



4.2.2.6.17 D̲I̲S̲P̲L̲A̲Y̲ ̲H̲E̲A̲D̲E̲R̲ ̲F̲I̲E̲L̲D̲



4.2.2.6.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̲

         Outputs a specified text string in the Command line
         or Response line of the VDU Header Area as specified
         by the caller.



4.2.6.17.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  DISPLAY ̲HEADER ̲FIELD
             (LINE ̲NO: HEADER ̲LINE ̲NO ̲TYPE
              FIELD ̲NO: HEADER ̲LINE ̲FIELD ̲TYPE
              BUFFER: ARRAY(0..0) OF CHAR
              SIZE: INTEGER
                   "SIZE(BUFFER")): EXC ̲NORMAL

         b)  DISPLAY ̲HEADER ̲FIELD(R0,R1,R2,R3,R6): EXC ̲NORMAL

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

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

         R0      LINE ̲NO                  C    D
         R1      FIELD ̲NO                 C    D
         R2          Pointer to BUFFER    C    D
         R3      SIZE                     C    D
         R6      LINK                     C    K

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

         R0-R5, R7                        DEST





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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data

             VDU ̲HD ̲BLE                   -    R
             CR ̲FIELD ̲DESC                -    R
             FORMAT ̲IFCB                  C    K
             HEADER ̲IFCB                  C    K

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

             Refer source listing



4.2.2.6.17.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The procedure has two exits EXC and NORMAL. An EXC
         (exception) exit is performed if the completion code
         VDU ̲SPLIT ̲FAILED is received from the Format Handler,
         otherwise a NORMAL exit is performed.



4.2.2.6.18 L̲o̲o̲k̲u̲p̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲



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

         Scans the command line finding the start position of
         each parameter, its length and its type: Alphabethical,
         Numerical or Alpha-Numerical.

         The start position of a parameter is defined as the
         first character met, which is not a comma or a space.
         The end of the parameter is defined through the first
         character met after the start position which is either
         a comma or a space.





4.2.2.6.18.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  LOOKUP ̲PARAMS
                 (CMD ̲LINE ̲LENGTH: INTEGER)
                 (NO ̲OF ̲PARAMS: INTEGER)

         b)  LOOKUP ̲PARAMS(R0,R6)

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

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

         R0      CMD ̲LINE ̲LENGTH          C    R
         R6      LINK                     C    K

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

         R0      NO ̲OF ̲PARAMS                  RETURN
         R1-R5, R7                             DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             CMD ̲PARAM ̲TABLE              -    R
             IOC ̲HEADER ̲LINE              C    K

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

             Refer source listing



4.2.2.6.18.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The procedure works on two data structures HEADER ̲LINE
         and CMD ̲PARAM ̲TABLE. At procedure exit CMD ̲PARAM ̲TABLE
         contains a full description of the HEADER ̲LINE content,
         Refer fig. 4.2.2.6.18-1.








         CMD ̲PARAM ̲TABLE                   HEADER ̲LINE



         ALPHA ̲TYPE                             D
                                                E
                                                V
             4                                  C
             .

         ALPHA ̲TYPE                             S
                                                P
             3                                  R
             .                                  ,

         ALPHA ̲TYPE                             M
                                                S
             3                                  P
             .

         ALPH ̲NUM ̲TYPE                          S
                                                P
                                                E
             6                                  C
             .                                  O
                                                1











    Fig. 4.2.2.6.18-1 Data Structures of LOOKUP ̲PARAMS



4.2.2.6.19 F̲/̲C̲ ̲K̲E̲Y̲ ̲P̲A̲R̲A̲M̲E̲T̲E̲R̲ ̲V̲A̲L̲I̲D̲A̲T̲I̲O̲N̲



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

         Checks that the parameter entered is Numeric, converts
         it from ASCII representation to internal Representation
         and checks that the Value is within the range specified
         by the caller.



4.2.2.6.19.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  FC ̲KEY ̲PARAM ̲VAL
                 (MAX ̲VAL: INTEGER)
                 (ERR ̲NO: SVUP ̲RESP ̲MSG ̲TYPE
                  NO: INTEGER): ERROR ̲OK

         b)  FC ̲KEY ̲PARAM ̲VAL(R0, R1, R2, R6): ERROR ̲OK

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

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

         R0      ERROR NUMBER             -    R
         R1      NUMBER                   -    R
         R2      MAX ̲VAL                  C    D
         R6      LINK                     C    K

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

         R0      ERR ̲NO                   RETURN
         R1      NO                       RETURN
         R2-R5, R7                        DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes



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

             Refer SFCO subpackage data

             CMD ̲PARAM ̲TABLE              -    R
             IOC ̲HEADER ̲LINE              C    K

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

             Refer source listing



4.2.2.6.19.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         Procedure exit occurs to ERROR if an error is found
         in the number. In this case the error number (response
         text table index) is returned in R0.



4.2.2.6.20 S̲i̲m̲p̲l̲e̲ ̲C̲o̲m̲m̲a̲n̲d̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲ ̲C̲h̲e̲c̲k̲



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

         Checks that a specified set of parameters, described
         in CMD ̲PARAM ̲TABLE, is of correct type and length by
         comparing each parameter description with the entry
         in the PARAM ̲TYPE ̲TABLE identified by the SUPV ̲CMD
         ̲REC.



4.2.2.6.20.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  SIMPLE ̲PARAM ̲CHECK
                     (NO ̲OF ̲PARAMS: INTEGER)
                      CC: ILL ̲LEG ̲TYPE)

         b)  SIMPLE ̲PARAM ̲CHECK(R0, R7, R6)

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

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

         R0      NO ̲OF ̲PARAMETERS         C    D
         R7                               -    R
         R6      LINK                     C    K



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

         R0-R6                            DEST
         R7      CC



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP subpackage data
             Refer SFCO subpackage data

             PARAM ̲TYPE ̲TABLE             C    K
             SUPV ̲CMD ̲REC                 C    K
             CMD ̲PARAM ̲TABLE              C    K
             ERR LIST                     -    R
             ERR ̲NO                       -    R

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

             Refer source listing



4.2.2.6.20.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         The Procedure works on four data structures
         PARAM ̲TYPE ̲TABLE, PARAM ̲ATTR, CMD ̲PARAM ̲TABLE and ERR.
         At procedure exit ERR contains a list of Response text
         no's, one for each simple syntax error found. ERR ̲NO
         contains the No of errors detected.

         For each parameter in the CMD ̲PARAM ̲TABLE the procedure
         fetches the syntax type from PARAM ̲ATTR and checks
         the parameter description in the CMD ̲PARAM ̲TABLE against
         the parameter description (specified by the syntax
         type) contained in the PARAM ̲TYPE ̲TABLE. Refer fig.
         4.2.2.6.20-1.



         PARAM ̲TYPE ̲TABLE              PARAM ̲ATTR


         ALPHA ̲TYPE                    NO ̲OF ̲PARAMS

             4                         SYNTAX ̲TYPE

             4                         SYNTAX ̲TYPE

                                                     PARAM ̲TYPES



         ALPHA ̲NUM ̲TYPE

             7

             7

         ALPHA ̲NUM ̲TYPE

             1

             6


         CMD ̲PARAM ̲TABLE



  CMD ̲CODE


         TYPE

         NO ̲OF ̲CHAR

         START ̲POS                     NO ̲OF ̲PARAMS











   Fig. 4.2.2.6.20-1 SIMPLE ̲PARAM ̲CHECK Data Structures




4.2.2.6.21 C̲o̲m̲p̲u̲t̲e̲ ̲E̲r̲r̲o̲r̲ ̲t̲e̲x̲t̲ ̲N̲o̲.̲



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

         Takes the error list and if one error only is contained
         in the list, the error no (= response text no) is returned,
         otherwise a response text is build, containing all
         the error no's listed in the error list and error no
         -1 is returned.



4.2.2.6.21.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  COMPUTE ̲ERR ̲NO
         b)  COMPUTE ̲ERR ̲NO(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̲

         R6      LINK                     C    K

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

         R0-R5, R7                        DEST



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SFCO subpackage data

             ERR ̲NO                       C    R
             ERR ̲LIST                     C    K
             IOC ̲HEADER ̲LINE1             C    R



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

             Refer source listing



4.2.2.6.21.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲



4.2.2.6.22 R̲e̲p̲o̲r̲t̲i̲n̲g̲ ̲o̲f̲ ̲L̲O̲G̲ ̲e̲v̲e̲n̲t̲s̲



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

         Creates a log report based on the current contents
         of the sequence record and initial log data collected,
         sends the log report to the log package (LOG) and awaits
         the answer. If the answer is not a positive acknowledge
         a log report is created and sent again and the answer
         awaited. If the answer is negative a second time logging
         is given up. A negative acknowledge is always reported
         to SSC as a queue error.



4.2.2.6.22.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  REPORT ̲LOG(LOG TYPE: SVUP ̲LOG ̲TYPE)

         b)  REPORT ̲LOG(R0,R6)

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

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

         R0      LOG ̲TYPE                 C    D
         R6      LINK                     C    D

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

         R0-R7                            DEST





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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data

             SVUP ̲SEND ̲PARAMS             -    D
             SVUP ̲SEND ̲Q                  -    D
             ANQ ̲ATTR                     -    D
             SVUP ̲QNAME                   -    D

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

             Refer source listing



4.2.2.6.22.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲



4.2.2.6.23 F̲e̲t̲c̲h̲ ̲S̲e̲q̲u̲e̲n̲c̲e̲ ̲R̲e̲c̲o̲r̲d̲



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

         Fetches a sequence Record from the sequence table maintained
         by TMP using a predefined search key or a search key
         specified by the caller.



4.2.2.6.23.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

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

         a)  FETCH ̲SEQ ̲REC
                     (SEQ ̲TABLE ̲ID: SEQ ̲TABLE ̲ID ̲TYPE
                      FORMAT: SEQ ̲FORMAT
                      CODE: SEQ ̲CODE)



         b)  FETCH ̲SEQ ̲REC(R0, R1, R2, R6)

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

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

         R0      SEQ ̲TABLE ̲ID
         R1      FORMAT
         R2      CODE
         R6      LINK

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

         R0-R7                            (DEST)



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

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

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SFCO subpackage data

             SEQ ̲TMP ̲PARAM                C    R
             SEQ ̲TABLE ̲KEY                C    R

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

             Refer source listing



4.2.2.6.23.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲

         Refer fig. 4.2.2.6.23-1

















                  inds`t skema uden nr.


         Note 1: Table ̲ID is either
                 SVUP ̲SYS ̲SEQ ̲TABLE  or
                 SUUP ̲MSGH ̲SEQ ̲TABLE

         Note 2: SIZE (SEQ ̲REC)  = MAX (SIZE(SWP ̲SYS ̲SEQ),SIZE
                                       (SUUP ̲CIF ̲SEQ)

         Note 3: TMP ̲SEQ ̲KEY has been defined as:
                 EQUIVALENCE (SEQ ̲TABLE ̲KEY,KEY,TMP ̲SEQ ̲KEY:SEQ
                 ̲KEY)


                    Fig. 4.2.2.6.23-1


4.2.2.6.24   I̲n̲i̲t̲i̲a̲t̲e̲ ̲T̲M̲P̲ ̲R̲e̲q̲u̲e̲s̲t̲



4.2.2.6.24.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 procedure initiates TMP ̲REQUEST.



4.2.2.6.24.2 I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲S̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         c̲a̲l̲l̲ ̲s̲p̲e̲c̲i̲f̲i̲c̲a̲t̲i̲o̲n̲

         a)  INIT ̲TMP ̲REQ (TMP ̲PARAM: POINTER)

         b)  INIT ̲TMP ̲REQ (R4, R6)

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

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

         R4      %TMP ̲PARAM       C    D
         R6      LINK             C    D

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

         R0-R7                    DEST



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

         a)  Data References

             Refer CPS prefixes
             Refer SUP package prefixes
             Refer SFCO subpackage prefixes

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

             Refer SUP package data
             Refer SFCO subpackage data

             TMP ̲CALL ̲OUT         C    R
             SFCO ̲SEM             -    -

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

             Refer source listing





4.2.2.6.24.4 P̲r̲o̲c̲e̲d̲u̲r̲e̲ ̲D̲e̲s̲i̲g̲n̲

         N/A



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̲ ̲t̲o̲ ̲S̲V̲C̲O̲

         a)  S̲V̲C̲O̲ ̲S̲F̲C̲O̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲

             The following commands are sent from SVCO to SFCO
             via operation semaphore SFCO ̲SEM:

             START SFCO

             RESTART SFCO

             STOP SFCO

             CLOSE SFCO

         b)  S̲F̲C̲O̲ ̲S̲V̲C̲O̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲

             Completion codes are sent from SFCO TO SVCO for
             the
             following commands:

             START SFCO

             RESTART SFCO

             STOP SFCO

             CLOSE SFCO

             The following completion codes exist:

             OK ̲CC

             ERROR ̲CC

             SPLIT ̲FAILED ̲CC





4.2.2.7.2.   I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲t̲o̲ ̲S̲V̲D̲I̲A̲

         a)  From SFCO to SVDIA

             Refer fig.4.2.2.7.2-1

             Column 1,2,3,and 4 list the content of the coroutine
             operation sent to SVDIA in the operation semaphore
             SVDIA ̲SEM.

             %FORMAT ̲ID denotes a pointer to the data area in
             SFCO holding the format identification to be used.

             %SFCO ̲TMP ̲REC denotes a pointer to the data area
             in SFCO holding the data to be displayed.
             Column 5 (VAR) contains the names of the common
             data structures which SVDIA accesses during execution
             of the SFCO command.

         b)  From SVDIA TO SFCO

             Refer fig. 4.2.2.7.2-1

             Column 1,6,7,8 list the content of the coroutine
             operation sent to SFCO in the operation semaphore
             SFCO ̲SEM.

             % SVDIA ̲TMP ̲RECORD denotes a pointer to the data
             area in SVDIA holding the data to be used during
             command execution by SFCO.

             % VAL ̲ACT ̲RES denotes a pointer to the data structure
             in SVDIA describing the resulting actions to be
             executed by SFCO.
             Refer fig.  4.2.2.7.2-2

             Column 10 (VAR) contains the names of the common
             data areas. FORMAT ̲CMD indicates whether or not
             a new command has been entered via a format. If
             a command has been entered the data area referenced
             by % VAL ̲ACT ̲RES contains a pointer to the command
             next table entry by design or as specified by parameter)
             and the possible parameters.

















































           Fig. 4.2.2.7.2-1 - Fig. 4.2.2.7.2-2


4.2.2.7.3    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲t̲o̲ ̲S̲C̲R̲E̲P̲

         a)  F̲r̲o̲m̲ ̲S̲F̲C̲O̲ ̲t̲o̲ ̲S̲C̲R̲E̲P̲

             Refer fig.4.2.2.7.3-1.

             An operation is sent from SFCO to SCREP through
             the operation semaphore SCREP ̲SEM. A command completion
             report is sent to the SVUP queue CREPQ.

         b)  F̲r̲o̲m̲ ̲S̲C̲R̲E̲P̲ ̲t̲o̲ ̲S̲F̲C̲O̲

             The operation as received from SFCO is returned
             through the operation semaphore SFCO ̲SEM. No completion
             indicating applies.


















































                     Fig. 4.2.2.7.3-1


4.2.2.7.4    I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲t̲o̲ ̲V̲O̲D̲L̲

         a)  F̲r̲o̲m̲ ̲S̲F̲C̲O̲ ̲t̲o̲ ̲V̲O̲D̲L̲

             Volume delete command

         b)  F̲r̲o̲m̲ ̲V̲O̲D̲L̲ ̲T̲O̲ ̲S̲F̲C̲O̲

             The answers listed below are sent to SFCO through
             the operation semaphore SFCO ̲SEM.

             Volume delete command completion code.



4.2.3    V̲D̲U̲ ̲D̲i̲a̲l̲o̲g̲u̲e̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲V̲D̲I̲A̲

         Refer CPS/SDS/039, User VDU Detailed Design.