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

⟦049b1e0a8⟧ Wang Wps File

    Length: 70153 (0x11209)
    Types: Wang Wps File
    Notes: CPS/DBD/001               
    Names: »1163A «

Derivation

└─⟦17a651644⟧ Bits:30006115 8" Wang WCS floppy, CR 0184A
    └─ ⟦this⟧ »1163A « 

WangText

B…00……00……00……00…5…0a……00……00…5…0b…5
4…0d…4…07…3…0f…3…01…2…08…2…0e…2 1…0b…1…00…1 0…09…0…0f…0
0…07…/…0d…/…00…/…02…/…07….…0a….…0b….…0e….…0f….…02….
-…08…-…0d……86…1                                             …02…           …02…   …02…        

…02…CPS/DBD/001

…02…850201…02…
DATABASE DESIGN DOCUMENT
…02…ISSUE 2.1…02…CAMPS







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



   1  PURPOSE AND SCOPE .............................
      1

   2  APPLICABLE DOCUMENTS AND REFERENCES ...........
      2

     2.1  APPLICABLE DOCUMENTS ......................
        2
     2.2  PROJECT REFERENCES ........................
        3
     2.3  TERMS .....................................
        3
     2.4  ABBREVIATIONS .............................
        3

   3  DATA DEFINITIONS AND CONVENTIONS ..............
      7

     3.1  DATA TYPES ................................
        7
       3.1.1  Standard Types ........................
          7
       3.1.2  Scalar Types ..........................
          8
       3.1.3  Subrange Types ........................
          8
       3.1.4  Structured Types ......................
          9
         3.1.4.1  Array Types .......................
            9
         3.1.4.2  Record Types ......................
            9

       3.1.5  Pointer ...............................
         10
       3.1.6  Reference .............................
         10

     3.2  DEFINITION OF VARIABLES AND CONSTANTS .... 
       11
       3.2.1  Definition of Variables ...............
         11
       3.2.2  Constant Definitions ..................
         11

     3.3  NAMING CONVENTION FOR DATA ITEMS ..........
       11
     3.4  GRAPHICAL PRESENTATION OF DATA ............
       11
       3.4.1  Bit Level Diagrams ....................
         12
       3.4.2  Character Level Diagrams ..............
         12
       3.4.3  Word Level Diagrams ...................
         12
       3.4.4  Graphical Presentation of Relations
              Between Data Structures (Example only) 
               14

     3.5   DECLARATION OF VARIABLES .................
             15

   4  TYPES AND CONSTANTS ...........................
     21


    5  SYSTEM DATA ..................................
     22

     5.1  SYSTEM PARAMETERS .........................
       22
       5.1.1  Distribution Parameters ...............
         23
       5.1.2  Channel Parameters ....................
         24
       5.1.3  ACP127-Parameters .....................
         26
       5.1.4  Device Parameters .....................
         27
       5.1.5  Time Parameters .......................
         29
       5.1.6  CAMPS S/W Status ......................
         29
       5.1.7  Network Parameters ....................
         29
       5.1.8  Security Parameters ...................
         30
       5.1.9  Flash Queue Timeout Parameter .........
               30

     5.2  CONFIGURATION TABLES ......................
       30
       5.2.1  S/W Configuration Tables ..............
         30
       5.2.2  H/W Configuration Tables ..............
         31

     5.3  PROFILES ..................................
       31
       5.3.1  User Tables ...........................
         36
       5.3.2  Terminal Tables .......................
         38
       5.3.3  Device Tables .........................
         41
       5.3.4  Channel Tables ........................
         42

     5.4  GLOBAL SERIAL NUMBERS .....................
       46
     5.5  REPORT FORMATS ............................
       46
       5.5.1  Application Reports ...................
         47

     5.6  SYSTEM CALL ERROR CODES ...................
       58

   6  CAMPS ROUTING AND DISTRIBUTION TABLES .........
     77

     6.1  SIC-TABLES ................................
       77
     6.2  SDL-TABLE .................................
       80
     6.3  SCD-TABLE .................................
       81
     6.4  AIG-TABLES ................................
       81
     6.5  PLA-TABLES ................................
       82
     6.6  LOCAL PLA-TABLE ...........................
       84
     6.7  RI-TABLE ..................................
       84
     6.8  LOCAL RI-TABLE ............................
       85

   7  QUEUES ........................................
     86

     7.1  QUEUE CONCEPT .............................
       86
       7.1.1  Queue Structure .......................
         86
       7.1.2  Queue Attributes ......................
         88
       7.1.3  Queue Groups ..........................
         88
       7.1.4  Queue Capabilities ....................
         88
       7.1.5  Queue References ......................
         89
       7.1.6  Queue Elements ........................
         91
       7.1.7  QEL Attributes ........................
         92
       7.1.8  Queue References Examples .............
         92


     7.2  DEFINITION OF ALL QUEUES ..................
       93
       7.2.1  SSC Queue Description .................
         94
       7.2.2  TEP Queue Description .................
         99
       7.2.3  LOG Queue Description .................
        116
       7.2.4  THP Queue Description .................
        118
       7.2.5  MDP Queue Description .................
        126
       7.2.6  SAR Queue Description .................
        126
       7.2.7  STP Queue Description .................
        128
       7.2.8  CSF Queue Description .................
        129

     7.3  DEFINITION OF ALL QUEUE GROUPS ............
      130
       7.3.1  User VDU Command Queues ...............
        130
       7.3.2  User VDU Receive Queues ...............
        130
       7.3.3  User VDU Release Queues ...............
        130
       7.3.4  User VDU Response Queues ..............
        130
       7.3.5  Printer Command  Queues ...............
        131
       7.3.6  Printer Print Queues ..................
        131
       7.3.7  Channel Command Queues ................
        131
       7.3.8  Circuit Queues ........................
        131
       7.3.9  User VDU System Queues ................
        131
       7.3.10 Printer System Queues .................
        132
       7.3.11 Transport System Queues ...............
        132
       7.3.12 Supervisory System Queues .............
        132
       7.3.13 MSOS Command Queues ...................
        133
       7.3.14 MDOS Command Queues ...................
        133
       7.3.15 PTR Command Queues ....................
        133

     7.4  DEFINITION OF ALL QUEUE CAPABILITIES ......
      133

     7.5  DEFINITION OF MAINTYPE AND SUBTYPE
          FOR ALL Q ELEMENTS ........................
          153

   8  SUBPROCESSES AND PROCESS PROFILES .............
    206

     8.1  SUBPROCESS CONCEPTS .......................
      206
     8.2  ACCESS PROFILE ............................
      206
     8.3  DEFINITION OF ALL SUBPROCESSES ............
      208
       8.3.1  TEP SUBPROCESSES ......................
        209
       8.3.2  THP SUBPROCESSES ......................
        216
       8.3.3  MDP SUBPROCESSES ......................
        224
       8.3.4  SAR SUBPROCESSES ......................
        225
       8.3.5  LOG SUBPROCESSES ......................
        226
       8.3.6  STP SUBPROCESSES ......................
        227
       8.3.7  SSC SUBPROCESSES ......................
        228
       8.3.8  TMP SUBPROCESSES ......................
        231
       8.3.9  CSF SUBPROCESSES ......................
        232


   9  OTHER TMP TABLE ...............................
    234

     9.1  TEP COMMAND TABLE .........................
      234
     9.2  RESPONSE TEXT TABLE (Direct Access) .......
      234
     9.3  TEP SEQUENCE TABLES .......................
      235
     9.4  MMI CONTROL TABLES ........................
      235
     9.5  OPERATING SIGNAL TABLE ....................
      236
     9.6  SPECIAL HANDLING TABLE ....................
      236

   10 CAMPS FORMATS .................................
    237

     10.1 CAMPS INTERNAL MESSAGE FORMAT .............
      241
       10.1.1 Administration Field ..................
        244
       10.1.2 SCD List Field ........................
        260
       10.1.3 Address Field .........................
        263
       10.1.4 Text Preamble Field ...................
        267
       10.1.5 Text Field ............................
        270
       10.1.6 PLA/RI Field ..........................
        273
       10.1.7 Queue List Field ......................
        281
       10.1.8 RI Assignment Field ...................
        287

     10.2 CAMPS EXTERNAL MESSAGE FORMAT .............
      294
       10.2.1 Text Field ............................
        295
       10.2.2 ACP127 Parameter Field ................
        295
       10.2.3 ACP127 Header Field ...................
        303
       10.2.4 ACP127 Correction/Text Preamble Field .
        303

     10.3 CAMPS INTERNAL INFORMATION FORMAT .........
      304
       10.3.1  LOG Records ..........................
        304
       10.3.2  Storage and Retrieval catalogue
               Display ..............................
                310
       10.3.3  Message Status Formats ...............
                316
       10.3.4  Statistics CIF Information ...........
                362
       10.3.5  Technical Error Report ...............
                370

   11 FILES ........................................ 
    371

   12 TRACE AND PERFORMANCE MONITORING RECORDS ......
    440



                   1̲ ̲ ̲P̲U̲R̲P̲O̲S̲E̲ ̲A̲N̲D̲ ̲S̲C̲O̲P̲E̲



         The purpose of the CPS/DBD/001 is to define all tables,
         files and data areas shared by more than one S/W package.

         The CPS/DBD/001 is complementary to the "CAMPS S/W
         Interface Control Document, CPS/ICD/009" in defining
         all aspects of interaction between packages.











          2̲ ̲ ̲A̲P̲P̲L̲I̲C̲A̲B̲L̲E̲ ̲D̲O̲C̲U̲M̲E̲N̲T̲S̲ ̲A̲N̲D̲ ̲R̲E̲F̲E̲R̲E̲N̲C̲E̲S̲



2.1      A̲P̲P̲L̲I̲C̲A̲B̲L̲E̲ ̲D̲O̲C̲U̲M̲E̲N̲T̲S̲

         CAMPS System Requirements
         CPS/210/SYS/0001

         User Procedures and Associated Formats 
         CPS/230/ICD/0001

         Supervisor Commands and Procedures
         CPS/230/ICD/0002

         ACP127 NATO Supp. 3 Procedures
         CPS/230/ICD/0003

         NICS/TARE Interface Control Document
         CPS/ICD/004

         SCARS II Interface Control Document
         CPS/ICD/005

         ACE CCIS Interface Control Document
         CPS/ICD/006

         TRC, Point-to-point Connection
         Interface Control Document
         CPS/ICD/007

         OCR Interface Control Document
         CPS/ICD/009

         CAMPS System Design Spec.                      CPS/SDS/001
         CAMPS System Functions Detailed Design Spec.   CPS/SDS/024
         Message Management Detailed Design Spec.       CPS/SDS/025
         Table Management Detailed Design Spec.         CPS/SDS/026
         Input Output Control Detailed Design Spec.     CPS/SDS/028
         System Status and Control Detailed Design Spec.CPS/SDS/029
         Storage and Retrieval Detailed Design Spec.    CPS/SDS/030
         Statistics Detailed Design Spec.               CPS/SDS/031
         Logging Detailed Design Spec.                  CPS/SDS/032
         Traffic Handling Detailed Design Spec.         CPS/SDS/033
         Message Distribution Detailed Design Spec.     CPS/SDS/034
         Supervisor VDU Detailed Design Spec.           CPS/SDS/035
         Supervisor Printer Detailed Design Spec.       CPS/SDS/036
         User VDU Detailed Design Spec.                 CPS/SDS/039
         OCR Detailed Design Spec.                      CPS/SDS/040
         Printer Detailed Design Spec.                  CPS/SDS/041
         Message Service VDU                            CPS/SDS/048





2.2      P̲R̲O̲J̲E̲C̲T̲ ̲R̲E̲F̲E̲R̲E̲N̲C̲E̲S̲

         N/A.



2.3      T̲E̲R̲M̲S̲

         Please refer to CPS/SDS/001 section 1.3.1 "Terms".



2.4      A̲B̲B̲R̲E̲V̲I̲A̲T̲I̲O̲N̲S̲

         ACP127      Allied Communication Procedures No. 127
         AIG         Address Indicator Group
         APP         Applications
         BFD         Directory types within SFM
         BFD         Basic File Directory
         BPS         Bit Per Second
         CAMPS       Computer Aided Message Processing System
         CCIS        Command & Control Information System
         CCITT       The International Telegraph and Telephone
                     Consultative Committee
         CH          Channel
         CHPT-IRATE  Check Point Incoming Message Rate
         CHPT-ORATE  Check Point Outgoing Message Rate
         CIA         Data Channel Interface Adapter
         CIF         CAMPS Information File
         CMI         Command Interpreter
         COPSY       CAMPS Operating System
         CPS         CAMPS
         CPU         Central Processing Unit
         CR          Carriage Return
         CRC         Cyclic Redundancy Check
         CSF         In CPS/SDS/001 is the abbreviation used
                     to identify the CAMPS System Functions,
                     but CSF is also used to identify the Central
                     Supply Facility in logistics of CAMPS
         CSN         Channel Serial Number (Identical to TSN)
         CSSI        CAMPS Software Support Installation
         CTS/A       Cosmic Top Secret/Atomal
         CU          Channel Unit
         DAMOS       CR80D Advanced Multiprocessor Operating
                     System
         DCB         CR80D Control Bus
         DCE         Data Circuit-terminating Equipment
         DCN         Document Control Number
         DD          Device Designator
         DEC         Data Exchange Channel


         DEV         Development
         DMA         Direct Memory Access
         DMB         CR80D Main Bus
         DM&T        Distribution Monitoring and Test Equipment
         DSMT        Development, Software, Maintenance, Test
         DTE         Data Terminal Equipment
         DTG         Data Time Group
         EDC         Error Detection and Correction
         EMI-racks   Electromagnetic Interference
         EOL         End Of Line
         EOLF        End Of Line Feed
         ETC         Et Cetera
         FIFO        First In, First Out
         FMS         File Management System
         HDB         Historical Data Base
         HDLC        High Level Data Link Control
         HQ          Headquarters
         HW          Hardware
         ICB         Item Control Block
         ICD         Interface Control Document
         ICHSN       Incoming Channel Serial Number
         IDF         Intermediate Distribution Frame
         IF I/F      Interface
         IID         Item Identification
         IMQ         Incoming Message Queue
         IO I/O      Input/Output
         IOC         Input/Output Control Package
         IOS         I/O System
         ISQ         Incoming Storage Queue
         ITA         International Telegraph Alphabet
         ITEM REF ID Item Reference Identity
         KER         Kernel Package
         LAPB        Link Access Protocol B
         LF          Line Feed
         LOG         Log and Accountability Package
         LSI         Large Scale Integrated Circuits
         LTU         Line Termination Unit
         LTUX        Line Termination Unit Wired to the TDX
                     bus
         MAP         Memory Mapping Unit
         MBT         Main Bus Termination Module
         MC          Master Clear
         MCB         Message Control Block
         MCQ         MDCO Queue
         MDCO        Message Distribution Control Operator
         MDP         Message Distribution Package
         MIA         Map Interface Adapter
         MID         Message Identification
         MMON        Message Monitor
         MMS         Message Management System within SFM


         MRQ         Message Routing Queue
         MSA         Message Service Assistance
         MSG         Message
         MSO         Message Service Operator
         MSP         Medium Speed Tele Printer
         MSQ         Message Service Queue
         MSTP        Medium Speed Tele Printer
         MTBF        Mean Time Between Failure
         MTTR        Mean Time To Repair
         M&D         Maintenance and Diagnostics
         NA          Not Applicable
         NAK         Negative Acknowledgement
         NICS        NATO Integrated Communication System
         OCHSN       Outgoing Channel Serial Number
         OLP         Off-line Software Package
         OMQ         Outgoing Message Queue
         OU          Off-line Utilities
         PLA         Plain Language Address
         PLA#        Plain Language Address Reference Number
         PM          Page Manager
         PSU         Power Supply
         PTP         Paper Tape Puncher
         PTR         Paper Tape Reader
         PU          Processor Unit
         P-to-P      Point to Point
         QEL         Queue Element (Identical to QUEL)
         QER         Queue Element Reference
         QMON        Queue Monitor
         QUEL        Queue Element (Identical to QEL)
         RAM         Random Access Memory
         RF          Radio Frequency
         RI          Routing Indicator
         RLQ         Message Release Queue
         ROP         Receive Only Printer
         RRQ         Retrieve Request Queue
         RSN         Release Serial Number (Identical to SSN)
         RTCM        Real Time Clock Module
         SAR         Storage and Retrieval
         SCARS       Status Control Alerting and Reporting System
         SCD         Staff Cell Designator
         SD&T        Software Development and Test
         SDL         Standard Distribution List
         SDS         CAMPS System Design Specification
         SEL         Synchronization Element
         SFD         Directory types within SFM
         SFM         Storage and File Management Package
         SIC         Subject Indicator Code
         SID         Segment Identifier
         SOTF        Start of Transmission Function


         SRS         System Requirements Specification
         SSC         Status System and Control
         SSN         Station Serial Number (Identical to RSN)
         SSP         Support Software Package
         STA         Statistics Package (Identical to STP)
         STI         Supra-TDX Bus Interface
         STP         Statistics Package
         SUPV        Supervisor
         SVQ         Supervisor Queue
         SW          Software
         TARE        Telegraph Automatic Relay Equipment
         TBD         To Be Defined
         TC          Transfer Counter
         TD          Terminal designator
         TDX         Telecommunication Data Exchange
         TEMCO       Terminal Monitoring and Control
         TEP         Terminal Package
         TG          Table Generation (Software in SSP)
         THP         Traffic Handling Package
         THS         Terminal Handling System
         TIA         TDX Bus Interface Adapter
         TM          Terminal Manager
         TMP         Table Management Package
         TOC         Time of Occurrence
         TP          Tele Printer
         TRANSID     Transaction Identification
         TRC         Tape Relay Center
         TS          Time Stamp
         TSN         Transmission Serial Number (Identical to
                     CSN)
         UGI         User Group Identification
         VDU         Visual Display Unit
         WDP         Watchdog Processor
         X25         Protocol Name
         Z80         Zilog 80


           3̲ ̲ ̲D̲A̲T̲A̲ ̲D̲E̲F̲I̲N̲I̲T̲I̲O̲N̲S̲ ̲A̲N̲D̲ ̲C̲O̲N̲V̲E̲N̲T̲I̲O̲N̲S̲



         This section defines general guidelines for the definition
         and conventions which apply to the database design
         document.

         The subjects which are specified are:

         -   data types:
             -   standard
             -   scalar
             -   subrange
             -   structured

         -   constant and variable definitions

         -   graphical presentation of data:
             -   bit, character and word level
             -   logical relationships between data structures



3.1      D̲A̲T̲A̲ ̲T̲Y̲P̲E̲S̲



3.1.1    S̲t̲a̲n̲d̲a̲r̲d̲ ̲T̲y̲p̲e̲s̲

         The standard types of SWELL represent the units accessible
         in one instruction of the CR80.

         a)  B̲Y̲T̲E̲

             BYTE    is an unsigned integer, which can be held
                     in one byte (8 bits) and therefore lies
                     in the range  0:255 .

             CHAR    is equivalent to byte.

         b)  I̲N̲T̲E̲G̲E̲R̲

             INTEGER is an integer, which can be held in one
                     word.



         c)  L̲O̲N̲G̲

             LONG    is an integer, which can be held in two
                     words (32 bits).
                     The type is "declared" as:
                     LONG = RECORD
                               LEAST, MOST:  INTEGER
                            END



3.1.2    S̲c̲a̲l̲a̲r̲ ̲T̲y̲p̲e̲s̲

         A scalar type defines an ordered set of values by enumeration
         of identifiers which denote these values.

          scalar type  ::=(  identifier   ,   identifier   )

         Example:

         (MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,
         SUNDAY).

         The values of a scalar type are equal to the constants
         0, 1, 2, ..., i.e. the identifieres of the example
         could have been declared as

         CONST   MONDAY = 0;
                 TUESDAY = 1  etc.



3.1.3    S̲u̲b̲r̲a̲n̲g̲e̲ ̲T̲y̲p̲e̲s̲

         A type may be defined as a subrange of another scalar
         type by indication of the least and the largest value
         in the subrange. The first constant specifies the lower
         bound, and must not be greater than the upper bound.

          subrange type  ::=  constant expression .. constant
         expression

         The base of a subrange type is INTEGER.

         Examples: 1..10
                   'A'..'Z'
                   MONDAY..FRIDAY





3.1.4    S̲t̲r̲u̲c̲t̲u̲r̲e̲d̲ ̲T̲y̲p̲e̲s̲

         A structured type is characterized by the types of
         its components and by its structuring method.

          structured type  ::= array type   record type



3.1.4.1  A̲r̲r̲a̲y̲ ̲T̲y̲p̲e̲s̲

         An array type is a structure consisting of a fixed
         number of components, which are all of the same type,
         called the component type.  The elements of the array
         are designated by indices, values belonging to the
         so-called index type.

          array type  ::= array   index type  of  component
         type
          component type ::=  type

         Examples:

         ARRAY  1..10  OF #0000..#0FFF
         ARRAY  'S'..'Z'  OF INTEGER
         ARRAY  WEEKDAY  OF WORKHOURS
         ARRAY  WEEKDAY  OF RECORD
                              BREAKFAST: INTEGER;
                              LUNCH:     INTEGER;
                              DINNER:    INTEGER
                            END



3.1.4.2  R̲e̲c̲o̲r̲d̲ ̲T̲y̲p̲e̲s̲

         A record type is a structure consisting of a fixed
         number of components, possibly of different types.
         The record type definition specifies for each component,
         called a f̲i̲e̲l̲d̲, its type and an identifier which denotes
         it. The scope of these field identifiers is the record
         definitions itself.

          record type  ::=  RECORD  field list  END
                                               1
          field list   ::=  fields  ;  fields  0
          fields       ::=  field identifier  ,  field identifier
         :  type



         Examples:

         RECORD
            DAY       :  1..31;
            MONTH     :  1..12;
            YEAR      :  INTEGER
         END

         RECORD
            NAME, FIRST NAME: ARRAY  1.. NAMELENGTH  OF CHAR;
            AGE: BYTE;
            MARRIED: BYTE
         END



3.1.5    P̲o̲i̲n̲t̲e̲r̲

         A pointer is an unsigned integer used as an address.
         The range is 0..#FFFF.

         Note that the pointer type is not supported in SWELL,
         where pointers are of INTEGER type.

         Examples:

         RETURNADDRESS:  POINTER;
         NEXT ̲ELEMENT:   POINTER;



3.1.6    R̲e̲f̲e̲r̲e̲n̲c̲e̲

         A reference is an indirect address of some object.
         It is used to identify the object to the unit which
         is responsible for the object.

         A r̲e̲f̲e̲r̲e̲n̲c̲e̲ is an unsigned integer in the range 0..65535.

         A s̲h̲o̲r̲t̲ ̲r̲e̲f̲e̲r̲e̲n̲c̲e̲ is an unsigned integer in the range
         0..255.

         Examples:

         QUEUE ̲ELEMENT:  REFERENCE;
         SUBQUEUE ̲ID:    SHORT REFERENCE;





3.2      D̲E̲F̲I̲N̲I̲T̲I̲O̲N̲ ̲O̲F̲ ̲V̲A̲R̲I̲A̲B̲L̲E̲S̲ ̲A̲N̲D̲ ̲C̲O̲N̲S̲T̲A̲N̲T̲S̲



3.2.1    D̲e̲f̲i̲n̲i̲t̲i̲o̲n̲ ̲o̲f̲ ̲V̲a̲r̲i̲a̲b̲l̲e̲s̲

         Variable definitions consist of a list of identifiers
         denoting the variables, followed by their type.

          variable declaration  ::=  identifer  , identifier
          :
          type

         Examples:

         I,J : INTEGER
         OPERATOR: (PLUS, MINUS, TIMES)
         CLASSTABLE: ARRAY  0..127  OF CLASSTYPE



3.2.2    C̲o̲n̲s̲t̲a̲n̲t̲ ̲D̲e̲f̲i̲n̲i̲t̲i̲o̲n̲s̲

         A constant definition introduces an identifier as a
         synonym to a constant.

          constant definition  ::=
                      identifier = constant expression

         Examples:

         LASTINDEX = N - 1;
         MIL       = - 1;
         AREA      = LENGTH * WIDTH;



3.3      N̲A̲M̲I̲N̲G̲ ̲C̲O̲N̲V̲E̲N̲T̲I̲O̲N̲ ̲F̲O̲R̲ ̲D̲A̲T̲A̲ ̲I̲T̲E̲M̲S̲

         Data items shall be named with data names describing
         the content/use of the item. If the name consists of
         more than one word, the words shall be separated by
         underscore ' ̲'.



3.4      G̲R̲A̲P̲H̲I̲C̲A̲L̲ ̲P̲R̲E̲S̲E̲N̲T̲A̲T̲I̲O̲N̲ ̲O̲F̲ ̲D̲A̲T̲A̲





3.4.1    B̲i̲t̲ ̲L̲e̲v̲e̲l̲ ̲D̲i̲a̲g̲r̲a̲m̲s̲

         Whenever a computer word or register is not used as
         an entity but split into fields, possibly to the level
         of a single bit, a diagram of the following form shall
         be used to enhance the description:

         15              10  9                   0

             FIELD A              FIELD B

         The rightmost end of the diagram shall represent the
         least significant bit, and the leftmost the most significant
         bit.

         Bits shall be numbered from 0 to 15 with the lowest
         number designating the least significant bit.



3.4.2    C̲h̲a̲r̲a̲c̲t̲e̲r̲ ̲L̲e̲v̲e̲l̲ ̲D̲i̲a̲g̲r̲a̲m̲s̲

         Data items consisting of character strings, that is
         mainly keyboard or card input and CRT or printer output
         may be described by diagrams of the following form.

         1 2 3 4 5 ...........                             
             n

         FIELD A     FIELD B    FIELD C          FIELD D

         The character appearing first in the input or output
         string shall be shown in the lefthand end of the diagram.

         The characters of the string shall be numbered consecutively
         beginning with number 1 (one).



3.4.3    W̲o̲r̲d̲ ̲L̲e̲v̲e̲l̲ ̲D̲i̲a̲g̲r̲a̲m̲s̲

         Word level diagrams shall be used to enhance description
         of all data items of more than one word size of tables
         and of whole memory layouts.



         The diagrams shall have the following form:

         0

                                         ITEM I

         3

         4



                                         ITEM II



         m

         m+1

                                         ITEM III

         n

         The relative size of the boxes shall as close as possible
         resemble the relative size of the data items illustrated.

         The numbering shall be per word and range from 0 through
         n illustrating in total n+1 words.

         The lowest number shall be placed at the top of the
         drawing.





3.4.4    G̲r̲a̲p̲h̲i̲c̲a̲l̲ ̲P̲r̲e̲s̲e̲n̲t̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲R̲e̲l̲a̲t̲i̲o̲n̲s̲ ̲B̲e̲t̲w̲e̲e̲n̲ ̲D̲a̲t̲a̲ ̲S̲t̲r̲u̲c̲t̲u̲r̲e̲s̲
         ̲(̲E̲x̲a̲m̲p̲l̲e̲ ̲o̲n̲l̲y̲)̲







         NAME
                                    0
S̲F̲D̲      FILE A                B̲F̲D̲                a file


         FILE C                     1


         FILE B                     2             


                                    3


                                    4


3.5      D̲e̲c̲l̲a̲r̲a̲t̲i̲o̲n̲ ̲o̲f̲ ̲V̲a̲r̲i̲a̲b̲l̲e̲s̲

         Declarations Variables are specified by use of the
         following notation:

         VAR  IDENTIFIER       :    TYPE
                                    Reference to type def.
         INIT  IDENTIFIER      =    INITVALUE

         CONST IDENTIFIER      =    CONSTANT EXPRESSION

         narrative description

         For common types and constants:

         the section, where the type or constant is defined,
         is denoted.

         INIT and CONST definitions are only included where
         relevant.

         Single type definitions are defined directly.

         For arrays and records, word level diagrams may also
         be used.

         For records containing different formats the different
         records are defined separately. A general type definition
         is specified at first. Refer to example 3.



         C̲o̲m̲m̲o̲n̲ ̲t̲y̲p̲e̲s̲ are specified by use of the following
         notation:

         TYPE    IDENTIFIER    =    TYPE
         CONST   IDENTIFIER    =    CONSTANT EXPRESSION
                                    "Reference to constant def.of
                                    "narrative description

         C̲O̲M̲M̲O̲N̲ ̲C̲O̲N̲S̲T̲A̲N̲T̲S̲ are specified by use of the following
         notation:

         CONST   IDENTIFIER    =    CONSTANT EXPRESSION
                                    "Reference to constant def.of
                                    "narrative description


         Common types and constants are always defined at the
         level where the type/const is used at the level and/or
         in 1 or more places at the next lower level, and where
         the type/const is not used in parallel or higher levels.

         Types/Constants common to CAMPS packages are specified
         in section 4 of this document.



         E̲x̲a̲m̲p̲l̲e̲ ̲1̲

         VAR     MAX ̲FREE ̲CP:       1.  MAX ̲CPS;

         CONST   MAX ̲CPS=4

         INIT    MAX ̲FREE ̲CP        = 1;

         No. of outstanding checkpoints


         E̲x̲a̲m̲p̲l̲e̲ ̲2̲

         VAR     CLASS ̲TABLE:  ARRAY   0..127   OF
                                    RECORD
                                     GROUP:  1..10;
                                     VALUE:  LONG;
                                    END;




         WORD LEVEL DIAGRAM:



                 0             CLASS ̲TYPE






                 127




                 1             GROUP

                 2
                               VALUE
                 3


         E̲X̲A̲M̲P̲L̲E̲ ̲3̲

         TYPE    CP ̲TYPE =     (LOG1, LOG2, CIF1, CIF2)
 
         CONST   MAX ̲LOG = 5

         LOG ̲CHECKPOINT = RECORD
                               RECORD ̲TYPE: LOG1..LOG2;
                               CP ̲DATA: ARRAY  1..MAX ̲LOG
                                        OF INTEGER;


                          END;

         CIF ̲CHECKPOINT = RECORD
                               RECORD ̲TYPE: CIF1.CIF2
                               CP ̲DATA: RECORD
                                          CP ̲NO:  (1..150);
                                          DATA: ARRAY (1..512)
                                                  OF INTEGER;
                                        END;


                          END;

         "The field RECORD ̲TYPE DEFINES if the record 
         "is of type LOG ̲CHECKPOINT OR CIF ̲CHECKPOINT



         WORD ̲LEVEL ̲DIAGRAM:



                 1        CP ̲TYPE = LOG

                 2

                               CP ̲DATA

                 6



                 1        CR ̲TYPE = CIF


                 2             CP ̲NO

                 3

                               CP ̲DATA


             512+2


         E̲X̲A̲M̲P̲L̲E̲ ̲4

         TYPE    START ̲UP ̲TYPE = (DEAD1, DEAD2, COLD, WARM1,
                 WARM 2, WARM 3); 

         Specification of CAMPS start up types


         E̲X̲A̲M̲P̲L̲E̲ ̲5̲

         TYPE PU ̲COMMAND = RECORD
                               HEADER: COLD..WARM2;

                               TEXT:  ARRAY (1. MAX ̲PU ̲CMD ̲TEXT
                               ̲LENGTH) OF INTEGER;


                          END


         CONST MAX ̲PU ̲CMD ̲TEXT ̲LENGTH = 100;

         Specification of PU command type.


         E̲X̲A̲M̲P̲L̲E̲ ̲6̲

         CONST MAX ̲VDUs = 32;

         Maximum no of VDUs at any CAMPS site.

         This const is in section 4.



                  4̲ ̲ ̲T̲Y̲P̲E̲ ̲A̲N̲D̲ ̲C̲O̲N̲S̲T̲A̲N̲T̲S̲



         See Appendix A.
         CPS ̲PREFIX.D










                      5̲ ̲ ̲S̲Y̲S̲T̲E̲M̲ ̲D̲A̲T̲A̲



         The System Data are specific for the particular CAMPS
         SITE.

         They can be divided into:

         -   System Parameters

         -   Configuration Parameters

         -   Profiles

         -   Global Serial Numbers

         -   Reports

         -   System call error codes



5.1      S̲Y̲S̲T̲E̲M̲ ̲P̲A̲R̲A̲M̲E̲T̲E̲R̲

         System Parameters are parameters of various types maintained
         by TMP. The parameters may be updated or read by the
         packages due to their capabilities.

         Following System parameters are identified:

             Distribution parameter 
             TRC PTOP parameter 
             NICS-TARE parameter 
             SCARS CCIS parameter 
             ACP 127 parameter 
             Low speed print parameter 
             Medium speed print parameter 
             Special Handling parameter
             Dedicated Punch parameter 
             Time of day parameters
             CAMPS SW status parameter
             STP Print Parameter
             Supervisor printer parameter
             Network Parameter
             Security parameter 
             FLASH ̲QUEUE Timeout Parameter

         The PARAMETER ̲ID ̲TYPE in which these parameter IDs
         are specified is defined in section 4 CPS ̲PREFIX.D*SYS
         ̲PARAM ̲MON together with the definitions of the parameter
         records. In the following the contents of each record
         will be described.





5.1.1    D̲i̲s̲t̲r̲i̲b̲u̲t̲i̲o̲n̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         This record contains the following fields. 

         a)  M̲D̲C̲O̲ ̲U̲N̲C̲L̲A̲S̲S̲I̲F̲I̲E̲D̲

             This is a boolean which specifies whether Incoming
             Messages of classification UNCLASSIFIED shall be
             sent to the MDCO (TRUE) or shall be distributed
             normal (FALSE).

         b)  M̲D̲C̲O̲ ̲R̲E̲S̲T̲R̲I̲C̲T̲E̲D̲

             As above for Incoming Messages of classification
             

             RESTRICTED  

         c)  M̲D̲C̲O̲ ̲C̲O̲N̲F̲I̲D̲E̲N̲T̲I̲A̲L̲

             As above for Incoming Messages of classification

             CONFIDENTIAL

         d)  M̲D̲C̲O̲ ̲S̲E̲C̲R̲E̲T̲

             As above for Incoming Messages of classification

             SECRET

         e)  M̲D̲C̲O̲ ̲C̲T̲S̲

             As above for Incoming Messages of classification

             COSMIC TOP SECRET

         f)  C̲R̲I̲S̲I̲S̲ ̲S̲W̲I̲T̲C̲H̲

             This switch specifies by TRUE that distribution
             by SICs shall be performed on basis of the CRISIS
             SIC TABLE.

         g)  Q̲U̲I̲E̲T̲ ̲H̲O̲U̲R̲S̲ ̲S̲W̲I̲T̲C̲H̲

             This switch specifies by TRUE that alternative
             distribution shall be performed to the DUTY OFFICER.

         h)  Q̲U̲I̲E̲T̲ ̲H̲O̲U̲R̲S̲ ̲L̲O̲G̲I̲C̲A̲L̲ ̲T̲E̲R̲M̲ ̲N̲O̲

             This field specifies the logical terminal number
             of the current Quiet Hours terminal position.



         i)  A̲T̲O̲M̲A̲L̲ ̲P̲R̲I̲N̲T̲ ̲L̲O̲G̲I̲C̲A̲L̲ ̲D̲E̲V̲ ̲N̲O̲

             This field specifies the logical Device number
             of the current ATOMAL printer.



5.1.2    C̲h̲a̲n̲n̲e̲l̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         Three types of channel parameter records are defined:

         -   TRC POINT TO POINT channel parameters

         -   NICS ̲TARE channel parameters

         -   SCARS CCIS channel parameters

         Each of the records are described in the following.



5.1.2.1  T̲R̲C̲/̲P̲O̲I̲N̲T̲ ̲T̲O̲ ̲P̲O̲I̲N̲T̲ ̲C̲h̲a̲n̲n̲e̲l̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The TRC POINT TO POINT parameter contains following
         fields:

         a)  T̲I̲M̲E̲ ̲L̲I̲M̲I̲T̲ ̲I̲N̲C̲O̲M̲

             This field specifies the time limit before sending
             a selfaddressed channel check. If no message had
             been received on an Incoming channel within the
             time limit a selfaddressed channel check message
             shall be sent on the corresponding outgoing channel.

         b)  T̲I̲M̲E̲ ̲L̲I̲M̲I̲T̲ ̲F̲L̲A̲S̲H̲

             This field specifies the time limit before a FLASH
             ASM shall be received on an Incoming channel after
             transmission of a FLASH message on the corre-
             sponding outgoing channel.

         c)  I̲D̲E̲N̲T̲I̲C̲A̲L̲ ̲A̲S̲M̲

             This field is a boolean, it specifies by TRUE that
             an ASM shall be generated automatically if more
             than 140 consecutive identical characters are received
             from a TRC Point to Point channel.

         d)  P̲R̲E̲E̲M̲T̲ ̲D̲E̲L̲A̲Y̲

             This field specifies the time before preemption
             shall be performed on an outgoing channel.



5.1.2.2  N̲I̲C̲S̲ ̲T̲A̲R̲E̲ ̲C̲h̲a̲n̲n̲e̲l̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The NICS TARE Channel Parameters contains following
         fields.

         a)  T̲I̲M̲E̲ ̲L̲I̲M̲I̲T̲ ̲I̲N̲C̲O̲M̲

             This field is a switch which specifies that an
             channel continuity message shall be expected from
             NICS TARE every 6 minutes if no message is received
             in the time periode.

         b)  T̲I̲M̲E̲ ̲L̲I̲M̲I̲T̲ ̲F̲L̲A̲S̲H̲

             This field specifies the time limit before a FLASH
             ASM shall be received on an Incoming channel after
             transmission of a FLASH Message on the corresponding
             outgoing channel.

         c)  C̲O̲N̲T̲I̲N̲U̲I̲T̲Y̲ ̲M̲E̲S̲S̲A̲G̲E̲S̲

             This field specifies the time limit before a channel
             continuity message shall be sent. If no message
             had been transmitted on an outgoing channel within
             the time limit a channel continuity ASM shall be
             sent.



5.1.2.3  S̲C̲A̲R̲S̲ ̲C̲C̲I̲S̲ ̲C̲h̲a̲n̲n̲e̲l̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The SCARS CCIS Channel Parameter Record contains following
         fields.

         a)  T̲I̲M̲E̲ ̲L̲I̲M̲I̲T̲ ̲I̲N̲C̲O̲M̲

             This field specified the time limit within which
             a channel check ASM shall be transmitted. If no
             message had been received on an Incoming channel
             within the time limit a channel check ASM shall
             be transmitted on the corresponding outgoing channel.

         b)  T̲I̲M̲E̲ ̲L̲I̲M̲I̲T̲ ̲A̲C̲K̲N̲O̲W̲L̲

             This field specifies the time limit in which a
             Transaction acknowledgement from SCARS CCIS shall
             be expected. When a message is transmitted to SCARS
             CCIS a transaction acknowledgement will be expected
             on the corresponding Incoming Channel within the
             time limit. 



         c)  R̲E̲T̲R̲A̲N̲S̲M̲I̲S̲S̲I̲O̲N̲

             This field specifies the number of retransmissions
             which shall be performed on a SCARS CCIS channel.

         d)  P̲R̲E̲E̲M̲P̲T̲ ̲D̲E̲L̲A̲Y̲

             This field specifies the time before preemption
             shall be performed on an outgoing channel.



5.1.3    A̲C̲P̲ ̲1̲2̲7̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The ACP 127 parameter record contains following fields.
         

         a)  N̲O̲ ̲O̲F̲ ̲S̲P̲A̲C̲E̲

             This field specifies for outgoing messages whether
             5 or 18 spaces shall be inserted in FL1 between
             the TSN and UUHH.

         b)  S̲E̲P̲A̲R̲A̲T̲E̲ ̲R̲U̲

             This field is a boolean which specifies by TRUE
             that separate FL2 lines shall be created for RIs
             starting with R and U.

         c)  Z̲G̲C̲ ̲I̲N̲S̲

             This field is a boolean which specifies by TRUE
             that a ZGC operating signal shall be inserted in
             FL4 on an outgoing message.

         d)  Y̲E̲A̲R̲ ̲I̲N̲S̲E̲R̲T̲I̲O̲N̲

             This field is a boolean which specifies by TRUE
             that the year shall be inserted in the DTG in FL5
             of an outgoing message.

         e)  T̲I̲M̲E̲ ̲Z̲O̲N̲E̲

             This field specifies the timezone value to be inserted
             in the DTG in FL5 of an outgoing message.




5.1.4    D̲e̲v̲i̲c̲e̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         Seven types of Device parameter records are defined

         -   Low Speed Print Parameters
         -   Medium Speed Print Parameters
         -   Special Print Parameters
         -   Punch Parameters
         -   Reader Parameters
         -   STP Print Control Parameters
         -   Supervisor Printer Parameters

         Each of the records are described in the following.



5.1.4.1  L̲o̲w̲ ̲S̲p̲e̲e̲d̲ ̲P̲r̲i̲n̲t̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The Low speed Print Parameters contain following fields.

         a)  L̲I̲N̲E̲S̲ ̲P̲E̲R̲ ̲P̲A̲G̲E̲

             This field contains the number of lines which shall
             be printed per page.

         b)  L̲I̲N̲E̲S̲ ̲B̲E̲T̲W̲E̲E̲N̲ ̲P̲A̲G̲E̲S̲

             This field contains the number of linefeeds which
             will be executed between Print of two pages.

         c)  P̲R̲E̲E̲M̲P̲T̲ ̲D̲E̲L̲A̲Y̲

             This field specifies the time before preemption
             shall be performed on the printers.



5.1.4.2  M̲e̲d̲i̲u̲m̲ ̲S̲p̲e̲e̲d̲ ̲P̲r̲i̲n̲t̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The Medium Speed Print Parameter record is equal to
         the Low Speed Print Parameter record as described above.



5.1.4.3  S̲p̲e̲c̲i̲a̲l̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲ ̲P̲r̲i̲n̲t̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲

         This parameter contains only one field. It specifies
         the Special Handling Instructions which shall cause
         the Special Handling Global Serial Number to be incremented
         by one.





5.1.4.4  P̲u̲n̲c̲h̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The Punch Parameter record contains following fields.

         a)  D̲E̲C̲ ̲P̲U̲N̲C̲H̲ ̲D̲D̲

             This field specifies the logical device number
             of the dedicated PUNCH.

         b)  P̲R̲E̲E̲M̲P̲T̲ ̲D̲E̲L̲A̲Y̲

             This field specifies the time before preemption
             shall be performed on the PUNCH.



5.1.4.5  R̲E̲A̲D̲E̲R̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲

         This parameter contains only one field, it specifies
         the logical device number of the dedicated PTR.



5.1.4.6  S̲T̲P̲ ̲P̲r̲i̲n̲t̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲

         This parameter contains only one field, it is a boolean
         which by TRUE specifies that statistics shall be delivered
         for print each 24 hours.



5.1.4.7  S̲u̲p̲e̲r̲v̲i̲s̲o̲r̲ ̲P̲r̲i̲n̲t̲e̲r̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The Supervisor Printer Parameters contain following
         fields:

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

             This field specifies the logical device number
             for the dedicated Report printer.

         b)  S̲U̲P̲V̲ ̲D̲D̲

             This field specifies the logical device number
             for the dedicated Supervisor printer.

         c)  L̲O̲G̲ ̲D̲D̲

             This field specifies the logical device number
             for the dedicated LOG printer.



         d)  S̲T̲A̲T̲ ̲D̲D̲

             This field specifies the logical device number
             for the dedicated statistics printer.



5.1.5    T̲i̲m̲e̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         Two time parameters are defined

         -   OLD Clock parameter
         -   Current Clock parameter



5.1.5.1  O̲L̲D̲ ̲C̲l̲o̲c̲k̲ ̲p̲a̲r̲a̲m̲e̲t̲e̲r̲

         This parameter contains only one field. The field contains
         a DTG. This DTG is Updated with the current clock parameter
         each time a startup is performed. The current clock
         contains at startup time the breakdown time.



5.1.5.2  C̲u̲r̲r̲e̲n̲t̲ ̲C̲l̲o̲c̲k̲ ̲p̲a̲r̲a̲m̲e̲t̲e̲r̲

         This parameter contains only one field. The field contains
         a DTG. This DTG is Updated each minute.



5.1.6    C̲A̲M̲P̲S̲ ̲S̲W̲ ̲s̲t̲a̲t̲u̲s̲

         This parameter contains only one field, it specifies
         whether the software is running in Normal or At risk
         mode. 



5.1.7    N̲e̲t̲w̲o̲r̲k̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         This parameter contains an array from 1 to max number
         of networks. Each field in the array contains a DE
         RI. On basis of the network on which the message shall
         be sent the belonging DE RI is selected in the array.
         





5.1.8    S̲e̲c̲u̲r̲i̲t̲y̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲s̲

         The Security Parameter record contains following fields.
         

         a)  I̲N̲T̲E̲R̲R̲O̲G̲A̲T̲I̲O̲N̲ ̲P̲R̲O̲F̲I̲L̲E̲

             This field contains an access profile in which
             only the classification part is used. It specifies
             the lowest classification on which Security Interrogation
             shall be performed.

         b)  W̲A̲R̲N̲I̲N̲G̲ ̲P̲R̲O̲F̲I̲L̲E̲

             This field contains on access profile in which
             the classification and Special Handling part is
             used. It specifies the lowest classification and
             the Special Handling Instructions for which the
             warning text shall be presented and the warning
             code be entered.

         c)  W̲A̲R̲N̲I̲N̲G̲ ̲C̲O̲D̲E̲

             This field contains the warning code which shall
             be entered during a security warning.

         d)  W̲A̲R̲N̲I̲N̲G̲ ̲T̲E̲X̲T̲

             This field contains the warning text which shall
             be displayed during a Security Warning.



5.1.9    F̲l̲a̲s̲h̲ ̲Q̲u̲e̲u̲e̲ ̲T̲i̲m̲e̲o̲u̲t̲ ̲P̲a̲r̲a̲m̲e̲t̲e̲r̲

         Specifies timeout value for flash queue.



5.2      C̲O̲N̲F̲I̲G̲U̲R̲A̲T̲I̲O̲N̲ ̲T̲A̲B̲L̲E̲S̲



5.2.1    S̲W̲ ̲C̲o̲n̲f̲i̲g̲u̲r̲a̲t̲i̲o̲n̲ ̲T̲a̲b̲l̲e̲s̲

         See section 4. (CPS ̲PREFIX.D * SSC ̲SYS ̲CONF) for description
         and Record layout.





5.2.2    H̲W̲ ̲C̲o̲n̲f̲i̲g̲u̲r̲a̲t̲i̲o̲n̲ ̲T̲a̲b̲l̲e̲s̲

         See section 4. (CPS ̲PREFIX.D * HW ̲CONF ̲TABLES) for
         description and Record layout.



5.3      P̲R̲O̲F̲I̲L̲E̲S̲

         This section handles:

         -USER
         -TERMINAL
         -DEVICE
         -CHANNEL
         -CIRCUIT
         related tables administered by TMP.

         Terminal, device, channel and circuit tables have an
         internal layout as described below.

         The tables are designed to contain the maximum (wired)
         configuration (the "MAX" constants) (refer to figures
         overleaf).

         The device type is inserted at system generation and
         can not be changed by the supervisor.

         The site dependent configuration is defined by the
         
         "NO ̲OF" CONSTANTS. It is a supervisor SW responsibility
         to ensure that a configuration does not exceed the
         actual site configuration.






         T̲e̲r̲m̲i̲n̲a̲l̲ ̲t̲a̲b̲l̲e̲ ̲l̲a̲y̲o̲u̲t̲





         MAX ̲SUPVS



         MAX ̲MASSES                               NO ̲OF ̲MASSES



         MAX ̲VDUS                                 NO ̲OF ̲VDUS



         MAX ̲USER ̲VDUS                            NO ̲OF ̲USER
                                                  ̲VDUS

















         Profile 1 and 2 are the supervisor profiles.









                   D̲e̲v̲i̲c̲e̲ ̲t̲a̲b̲l̲e̲ ̲l̲a̲y̲o̲u̲t̲








         MAX ̲MTP ̲ROPS                         NO ̲OF ̲MTP ̲ROPS



         MAX ̲LTPS                             NO ̲OF ̲LTP ̲ROPS
                                              = 10

         MAX ̲LTPS                             NO ̲OF ̲LTP ̲ROPS
                                              =  8



         MAX ̲DEDICATED ̲OCRS                   NO ̲OF ̲DEDICATED
                                              ̲OCRS



         MAX ̲DEDICATED ̲PTRS                   NO ̲OF ̲DEDICATED
                                              ̲PTRS



         MAX ̲DEDICATED ̲PTPS                   NO ̲OF ̲DEDICATED
                                              ̲PTPS






                   C̲h̲a̲n̲n̲e̲l̲ ̲t̲a̲b̲l̲e̲ ̲l̲a̲y̲o̲u̲t̲









         MAX ̲NICS ̲TARE ̲EXCS                 NO ̲OF ̲NICS ̲TARE
                                            ̲EXCS





         MAX ̲SCARS ̲EXCS                     NO ̲OF ̲SCARS ̲EXCS





         MAX ̲CCIS ̲EXCS                      NO ̲OF ̲CCIS ̲EXCS





         MAX ̲TRC ̲PTOP ̲EXCS                  NO ̲OF ̲TRC ̲PTOP ̲EXCS






                   C̲i̲r̲c̲u̲i̲t̲ ̲t̲a̲b̲l̲e̲ ̲l̲a̲y̲o̲u̲t̲









         MAX ̲NICS ̲TARE ̲CIRCS                NO ̲OF ̲NICS ̲TARE
                                            ̲CIRCS





         MAX ̲SCARS ̲CIRCS                    NO ̲OF ̲SCARS ̲CIRCS





         MAX ̲CCIS ̲CIRCS                     NO ̲OF ̲CCIS ̲CIRCS





         MAX ̲TRC ̲PTOP ̲CIRCS                 NO ̲OF ̲TRC ̲PTOP ̲CIRCS






5.3.1    U̲S̲E̲R̲ ̲T̲a̲b̲l̲e̲s̲

         Two tables are related to the user 

         -   PASSWORD Table

         -   USER Profile Table

         Each of the tables are described in the following.



5.3.1.1  P̲A̲S̲S̲W̲O̲R̲D̲ ̲T̲a̲b̲l̲e̲

         This Table contains an array from one to "MAX USERS"
         of Passwords. References to the entries are contained
         in each user profile in the user profile table. For
         definition of the Password record refer section 4.
         
         CPS ̲PREFIX.D * CPS ̲PROFILES.

         The logical Table definitions are as follows:

         PASSWORD ̲TABLE = ARRAY (1..MAX ̲USERS) OF PASSWORD ̲REC;



5.3.1.2  U̲S̲E̲R̲ ̲P̲r̲o̲f̲i̲l̲e̲ ̲T̲a̲b̲l̲e̲

         This table contains an array from one to "MAX ̲USER"
         of USER Profiles. Each entry in an USER Profile is
         described in the following. For Record definition refer
         section 4. CPS ̲PREFIX.D * CPS ̲PROFILES

         The logical Table definition is as follows:

         USER ̲TABLE = ARRAY (1..MAX ̲USERS) OF USER ̲PROFILE;

         a)  L̲O̲C̲K̲

             This field is a boolean which by TRUE specifies
             the access to the profile because change is performed
             in the profile at the moment.

         b)  U̲S̲E̲R̲ ̲I̲D̲

             This field contains a three letter USER ID. The
             USER ID in each profile is unique. This field may
             only be changed if the SIGN field is OFF.



         c)  S̲I̲G̲N̲

             This is a switch which by ON specifies that this
             user is signed on.

         d)  C̲L̲A̲S̲S̲

             This field contains the maximum classification
             of the user. It may only be changed if the SIGN
             field is OFF.

         e)  S̲H̲

             This field contains the Special Handling categories
             which the user is allowed to access. Maximum four
             Special Handling categories must be specified.
             This field only applies if the user works in user
             mode, if he works as Supervisor, MSO or MDCO it
             will be ignored. It may only be changed if the
             SIGN field is OFF.

         f)  C̲A̲P̲

             This field specifies the functional capabilities
             allowed to the user. At least one of the following
             shall be specified, any combination is acceptable
             

             - Supervisor
             - MDCO
             - MSO
             - User

             This field may only be changed if the SIGN field
             is OFF

         g)  U̲S̲E̲R̲ ̲C̲A̲P̲

             This field is used if the previous field contains
             user CAP. It specifies the User capabilities allowed
             to the User. At least one of the following shall
             be specified if user is speified in the functional
             CAP, any combination is acceptable

                 - Preparation
                 - Reception
                 - Release

             This field may only be changed if the SIGN field
             is OFF.





         h)  E̲X̲E̲R̲C̲I̲S̲E̲

             This is a Boolean which by TRUE specifies that
             the user is only allowed to receive exercise messages.
             It may only be changed if the SIGN field is OFF.

         i)  P̲A̲S̲S̲W̲O̲R̲D̲ ̲R̲E̲F̲

             This field contains a reference to the associated
             PASSWORD in the PASSWORD Table. The reference is
             entered during the system generation and can not
             be changed when the system is running.

         j)  P̲A̲S̲S̲W̲O̲R̲D̲ ̲A̲M̲E̲N̲D̲E̲D̲

             This field contains a Time Stamp of TIME ̲TYPE,
             it specifies the point in time where the Password
             was specified last.

         k)  P̲A̲S̲S̲W̲O̲R̲D̲ ̲E̲X̲P̲I̲R̲E̲D̲

             This field contains a scalar type which specifies
             the number of days before a new PASSWORD shall
             be entered. The semantic is as follows. If a zero
             is entered no expiration of the password will take
             place. In one to five is entered the PASSWORD AMENDED
             Time stamp will be checked against current time,
             if the number of days between the two time stamps
             exceeds the value specified in this field the sign
             on will be rejected.

         l)  A̲S̲S̲O̲C̲I̲A̲T̲E̲D̲ ̲R̲E̲L̲E̲A̲S̲E̲ ̲P̲O̲S̲I̲T̲I̲O̲N̲

             This field contains the logical terminal number
             for the associated Release position, it can only
             be changed if the SIGN field is OFF.



5.3.2    T̲E̲R̲M̲I̲N̲A̲L̲ ̲T̲a̲b̲l̲e̲

         This table contains an array from one to "MAX ̲VDUS"
         of TERMINAL Profiles. Each entry in a TERMINAL Profile
         is described in the following. For Record layout difinition
         refer section 4. CPS ̲PREFIX.D* CPS ̲PROFILES. A terminal
         shall be BLOCKED before any of the fields may be changed,
         except the fields SIGN and BLOCKED. 



         These conditions only apply if the supervisor capability
         is not included in the functional capability field.
         Whereas if it includes the supervisor capability following
         conditions apply. BLOCKED is always FALSE and PORT
         ID can not be changed. ASSG equal YES and SIGN equal
         ON then all other fields may be changed. If these conditions
         are not fulfilled only the SIGN and ASSG fields must
         be changed.

         The logical Table difinition is as follows:

         TERMINAL ̲TABLE = ARRAY (1..MAX ̲VDUS) OF TERMINAL ̲PROFILE;

         a)  L̲T̲ ̲N̲O̲

             This field contains the three letter terminal designator
             for the terminal which is connected to this profile.

         b)  I̲D̲

             This field contains the three letter terminal designator
             for the terminal which is connected to this profile.

         c)  C̲L̲A̲S̲S̲

             This field contains the maximum classification
             for the terminal.

         d)  S̲H̲

             This field contains the Special Handling Categories
             which must be accessed from the Terminal. Maximum
             four special Handling Categories must be specified.
             It applies only when the terminal works in user
             mode. If the Terminal works in supervisor, MSO
             or MDCO mode, it will be ignored.

         e)  C̲A̲P̲

             This field specifies the functional capabilities
             which must be performed on the terminal at least
             one of the following shall be specified and any
             combination is acceptable.

             -   Supervisor
             -   MDCO
             -   MSO
             -   User



         f)  U̲S̲E̲R̲ ̲C̲A̲P̲

             This field specifies the user capabilities allowed
             to this terminal. At least one of the following
             shall be specified if user is specified in the
             functional CAP, any combination is acceptable

             -   Preparation
             -   Reception
             -   Release

         g)  C̲U̲R̲R̲E̲N̲T̲ ̲C̲A̲P̲

             This field specifies the current functional capability
             for the terminal.

         h)  K̲E̲Y̲ ̲S̲T̲A̲T̲U̲S̲

             This field specifies if the key is on or off.

         i)  S̲I̲G̲N̲

             This field contains a switch which by ON specifies
             that the terminal is signed on.

         j)  B̲L̲O̲C̲K̲E̲D̲

             This is a boolean which by TRUE specifies that
             the terminal is blocked. Terminals with supervisor
             CAP can not be blocked.

         k)  A̲S̲S̲G̲

             This field is only significant for profiles which
             contain supervisor CAP in its functional capabilities.
             It is a boolean which specifies if the terminal
             is assigned as the current supervisor position.

         l)  P̲O̲R̲T̲ ̲I̲D̲

             This field specifies the VDU Port ID for the associated
             terminal. If the profile contains supervisor CAP
             in its functional capabilities this field may not
             be changed.

         m)  U̲S̲E̲R̲S̲

             This field contains an array from one to "MAX USERS
             PR TP" of USER IDs.



         n)  S̲C̲D̲s̲

             This field contains an array from one to "MAX SCDs
             PR TP" of SCDs.

         o)  A̲S̲S̲O̲C̲I̲A̲T̲E̲D̲ ̲P̲R̲I̲N̲T̲E̲R̲

             This field contains the logical device number for
             the associated shared printer.



5.3.3    D̲E̲V̲I̲C̲E̲ ̲T̲a̲b̲l̲e̲s̲

         This Table contains an array from one to "MAX ̲SADs"
         of DEVICE Profiles. Each entry in a Device Profile
         is described in the following. For Record layout definition
         refer section 4 (CPS ̲PREFIX.D* CPS ̲PROFILES).

         The logical Table definition is as follows:

         DEVICE ̲TABLE = ARRAY (1..MAX ̲SADS) OF DEVICE ̲PROFILE;

         A Device shall be disconnected by setting connected
         equal FALSE before any changes must apply.

         a)  L̲D̲ ̲N̲O̲

             This field contains the logical Device number for
             the device which is connected to this profile.

         b)  D̲D̲

             This fiels contains the three letter device designator
             for the device which is connected to this profile.

         c)  D̲E̲V̲I̲C̲E̲ ̲T̲Y̲P̲E̲

             This field specifies the device type, it can be
             one of the following:

                 - PTP
                 - PTR
                 - OCR
                 - MTP ̲ROP
                 - LTP



         d)  L̲T̲P̲ ̲M̲O̲D̲E̲

             This field specifies whether an LTP is working
             as a ROP or as a PTR.

         e)  C̲L̲A̲S̲S̲

             This field specifies the maximum classification
             for the Device.

         f)  C̲O̲N̲N̲E̲C̲T̲E̲D̲

             This field is a Boolean which by TRUE specifies
             that the device is connected.

         g)  P̲O̲R̲T̲ ̲I̲D̲

             This field specifies the SAD Port ID for the associated
             device.

         h)  N̲O̲ ̲O̲F̲ ̲P̲L̲Y̲S̲

             This field specifies the no of plys for the printer
             associated to this profile.



5.3.4    C̲H̲A̲N̲N̲E̲L̲ ̲T̲a̲b̲l̲e̲

         Four tables are related to the Channels:

             - CHANNEL Profile Table
             - ACP 127 CHANNEL Table
             - CIRCUIT connectivity Table
             - CIRCUIT Table

         Each of the tables are described in the following.



5.3.4.1  C̲H̲A̲N̲N̲E̲L̲ ̲P̲r̲o̲f̲i̲l̲e̲ ̲T̲a̲b̲l̲e̲

         This table contains an array from one to "MAX ̲EXCS"
         of CHANNEL Profiles. Each entry in a CHANNEL Profile
         is described in the following. For Record layout definitions
         refer section 4 CPS ̲PREFIX.D* CPS ̲PROFILES. The logical
         Table definition is as follows:



         CHANNEL ̲TABLE = ARRAY (1..MAX ̲EXCS) OF CHANNEL PROFILE;
         A channel shall be disconnected before any change must
         apply in the profile.

         a)  L̲C̲ ̲N̲O̲

             This field contains the logical Channel number
             for the channel which is connected to this profile.

         b)  I̲N̲ ̲C̲D̲

             This field contains the three letter Channel designator
             for the Incoming Channel which is connected to
             this profile.

         c)  O̲U̲T̲ ̲C̲D̲

             This field contains the three letter channel designator
             for the Outgoing Channel which is connected to
             this profile.

         d)  C̲O̲N̲N̲E̲C̲T̲E̲D̲

             This field contains a Boolean which by TRUE specifies
             that the Channel is connected. This field shall
             be TRUE before status can be set open in the associated
             ACP 127 CHANNEL status record.

         e)  P̲O̲R̲T̲ ̲I̲D̲

             This specifies the Channel Port ID for the associated
             channel.

         f)  C̲I̲R̲C̲U̲I̲T̲ ̲N̲O̲

             This field specifies the circuit to which the channel
             is associated. It is specified by the logical circuit
             number.

         g)  T̲O̲ ̲R̲I̲

             This field contains the RI which is inserted in
             FL2 of automatic generated ASM when they are sent
             out via this channel.





5.3.4.2  A̲C̲P̲ ̲1̲2̲7̲ ̲C̲H̲A̲N̲N̲E̲L̲ ̲T̲a̲b̲l̲e̲

         This table contains an array from one to "MAX ̲EXCS"
         of ACP 127 CHANNEL Status records. Each entry in a
         Record is described in the following. For Record layout
         refer section 4 CPS ̲PREFIX.D*CPS ̲PROFILES. The logical
         Table definition is as follows:

         CHANNEL ̲ACP ̲STATUS ̲TABLE = ARRAY (1..MAX ̲EXCS) OF 
                                    ACP ̲127 ̲CHANNEL ̲STATUS;

         a)  I̲N̲ ̲S̲T̲A̲T̲U̲S̲

             This field contains a switch which by OPEN specifies
             that the Incoming channel is open. The field reflects
             the supervisor decisions for open and close. The
             status must only be set open if the connected field
             in the associated profile is TRUE.

         b) O̲U̲T̲ ̲S̲T̲A̲T̲U̲S̲

             This field is identical to the IN STATUS field
             but it specifies the status of the outgoing channel.



5.3.4.3  C̲I̲R̲C̲U̲I̲T̲ ̲c̲o̲n̲n̲e̲c̲t̲i̲v̲i̲t̲y̲ ̲T̲a̲b̲l̲e̲

         This Table contains an array from one to "MAX ̲CIRCUITS"
         of CHANNELS pr circuit. It specifies for each circuit
         no. of channels (within the circuit) which have been
         queued for outgoing traffic. For Record definition
         refer section 4 CPS ̲PREFIX.D*CPS ̲PROFILES.

         The logical Table definition is as follows:

         CIRCUIT ̲CONNECTIVITY ̲TABLE = ARRAY (1..MAX ̲CIRCUITS)
         OF
                     MAX ̲CHANNELS ̲PR ̲CIRCUIT;



5.3.4.4  C̲I̲R̲C̲U̲I̲T̲ ̲T̲a̲b̲l̲e̲

         This table contains an array from one to "MAX ̲CIRCUITS"
         of CIRCUIT Profiles. Updates in one of the profiles
         are only allowed if the current number of connected
         channels to the circuit are zero. This is specified
         in the CIRCUIT connectivity table. Each entry in a
         Record is described in the following. For Record definition
         refer section 4 CPS ̲PREFIX.D* CPS ̲PROFILES.



         The logical Table definition is as follows:

         CIRCUIT ̲TABLE = ARRAY (1..MAX ̲CIRCUITS) OF CIRCUIT
         ̲PROFILE;

         a)  L̲C̲R̲ ̲N̲O̲

             This field contains the logical circuit number
             for the circuit which is connected to the profile.

         b)  C̲I̲R̲C̲U̲I̲T̲ ̲T̲Y̲P̲E̲

             This field contains the Circuit type for the circuit
             which is connected to the profile. It can be one
             of the following:

             -   NICS ̲TARE
             -   SCARS
             -   CCIS
             -   TRC, POINT TO POINT

         c)  C̲L̲A̲S̲S̲

             This field contains the circuit classification
             for the circuit which is connected to the profile.

         d)  B̲L̲O̲C̲K̲ ̲Q̲

             This is a Boolean which by TRUE specifies that
             the circuit Queue connected to the profile is Blocked.

         e)  N̲E̲T̲W̲O̲R̲K̲

             This field contains the Network type for the circuit
             which is connected to the profile it can be one
             of the following:

             -   NICS TARE
                 LOW1
                 LOW2        TRC POINT TO POINT
                 LOW3
                 SCARS
                 CCIS





5.4      G̲L̲O̲B̲A̲L̲ ̲S̲E̲R̲I̲A̲L̲ ̲N̲U̲M̲B̲E̲R̲S̲

         Global Serial Numbers (GSN) are three or four digit
         numbers which may be increased by one each time they
         are read.

         The GSN groups known by the system are:

         -   TRANSACTION ̲GSN 
         -   TRANSMISSION ̲GSN 
         -   RELEASE ̲GSN 
         -   SPECIAL ̲HANDL ̲GSN 
         -   REPORT ̲GSN 
         -   SYSTEM ̲PRINT ̲GSN 
         -   PTP ̲DOCUMENT ̲GSN 
         -   ERROR ̲REPORT ̲GSN  

         When a GSN is requested an GSN ̲ID is given as input.
         A GSN ̲ID specifies the current GSN group and the GSN
         index within the group. Each group can contain upto
         72 number serials, the current serial is specified
         on basis of the GSN Index.

         As output is given an INTEGER and a GSN Text. This
         text is 4 digits. In three digit GSNs first char will
         be a space.

         For TYPE definitions refer section 4 CPS ̲PREFIX.D*GSN
         ̲
         MON.



5.5      R̲E̲P̲O̲R̲T̲ ̲F̲O̲R̲M̲A̲T̲S̲

         The reports handled by the system can be divided into
         two groups:

         -   Applications Reports
         -   Technical Error Reports

         The applications Reports are the reports which occur
         on basic of data processing.

         The Technical Error Reports are the reports which occur
         on basis of Software or Hardware errors.

         The reports are described in the following.





5.5.1    A̲p̲p̲l̲i̲c̲a̲t̲i̲o̲n̲ ̲R̲e̲p̲o̲r̲t̲s̲

         The application reports will, when they are sent in
         the system, contain following fields:

         -   Time Stamp field (Long)
         -   Text reference field (Integer)
         -   Report data field (21 char)

         For layout of this record refer section 4 CPS ̲PREFIX.D*
         CPS ̲APP ̲GENERAL. The Report data field is formatted
         by the originating package so it can be printed without
         any conversion or change. If the field is not used
         or only a part of it is used then the remaining part
         shall be spaced out.

         On the following pages are specified all application
         reports shown by the system. Each report specification
         contains following fields:

         T̲e̲x̲t̲ ̲R̲e̲f̲:

         This field contains the logical report number for the
         specified report. This number is used as index to TMP
         when the associated Report text is requested in the
         Response Text Table.

         R̲e̲p̲o̲r̲t̲ ̲T̲e̲x̲t̲:

         This field contains the Report Text for the specified
         report. It is given as output from the Response Text
         Table.

         R̲e̲p̲o̲r̲t̲ ̲D̲a̲t̲a̲:

         This field specifies the Report Data associated to
         the specified report. The specification of this field
         is as described above.













                        12 Reports




5.6      S̲y̲s̲t̲e̲m̲ ̲c̲a̲l̲l̲ ̲e̲r̲r̲o̲r̲ ̲c̲o̲d̲e̲s̲

         This section contains all completion codes given as
         output from a system call. The code is divided into
         two groups.

         -   Information completion codes
         -   Fatal error completion codes

         The Information completion codes will be returned to
         calling application process whereas if a Fatal error
         completion code occurs, the calling application process
         will be retired and the cc will be sent to SSC. For
         further description refer CPS/ICD/009 section 6.3.

         Each code is described in the tables above. A table
         entry contains following fields:

         -   originating subpackage
         -   completion code name
         -   a narrative description of the cc
         -   Type: Informative or Fatal
         -   completion code value





  MMS Completion Codes


  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲ ̲V̲a̲l̲u̲e̲ ̲

  Command      Repeated            new CMD issued       F     
  Handling     command             before comp. of old
                                   

               Buffer size error   buffer too small     F

  CIF          Field info error    field info of view   F
  Handling                         attributes are in-
                                   consistent

               Illegal view ref.                        F

               None existing CIF                        F

               CIF not permanent   none of the field    F
                                   groups are permanent

               Not latest version  not latest version   F
                                   of CIF

               Stopped             CIF is stopped       F

               View id overflow    max no of views pr.  F
                                   CIF exceeded

               View not check-
               pointed                                  F

               No matching look    no passive handles   F
                                   exist for the CIF

               Unknown view name                        F

               CIF not in STS      the CIF does not     F
                                   reside in STS

               Security violation  command              F
                                   rejected due to
                                   security check

               LAST Handle         returned if the      I
                                   deletion of the 
                                   handle will lead to
                                   deletion of the CIF





  MMS Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  Storage and  Illegal view ref.                        F

  Retrieval    None existing CIF                        F

               Store not allowed   all field groups     F
                                   in CIF are temporary
                                   or CIF has not been
                                   checkpointed

               Illegal dump        dump is allready     F
                                   in progress

               Not dumpfile        the specified file   F
                                   is not a dump file

               DCM error code      disk error - probab- I
                                   ly because offline-
                                   volume is not 
                                   mounted

               Not initiated       an Init Dump         F
                                   is missing

               Dumnp error         a previously issued  F
                                   Init Dump completed
                                   unsuccessfully

               Not found           the view cannot      F
                                   be found

               Empty segment       the specified dump   F
                                   file segment is 
                                   empty





  MMS Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  Checkpoint   End restore         no more CIF's to     I
  and                              be restored
  Recovery
               Illegal view ref.                        F

               None existing CIF                        F

               Not permanent       all field groups     F
                                   of CIF are temporary
               MMS file not open

  Disk IO      Illegal view ref.                        F

               None existing CIF                        F

               Buffer size error   buffer too small     I

               Security violation  command              F
                                   rejected due to 
                                   security check





  STP Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  STATISTICS
  COLLECTION

               OK                  In case where collec-      I
                                   tion has been perfor-
                                   med error free

               POINTER ̲ERROR:      In case where the
                                   buffer               F
                                   pointer is erroneous

               PARAM ̲ERROR:        In case where group
                                   no,                  F
                                   subgroup no or record
                                   no is erroneous


  TMP Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  SEARCH       OK                  A request has been
                                                              I
  UPDATE                           completed
  TMP ̲MONITOR

  SEARCH       END ̲OF ̲TABLE        End of a table is
                                                              I
                                   reached and it is
                                   thus
                                   not possible two search
                                   for more keys

  SEARCH       BUFFER2 ̲FULL        Outputbuffer is too
                                   short                I
                                   to hold the total
                                   output

  UPDATE       TABLE ̲FULL          The Table is full
                                   and no               I
                                   more entries may be
                                   in-
                                   serted

  UPDATE       OVERFLOW ̲FULL       The overflow-block
                                   of this              I
                                   table is full and
                                   the re-
                                   jected update request
                                   can
                                   not be made before
                                   the table
                                   has been reorganized

  UPDATE       ALLREADY ̲LOCKED     A lock request is
                                   rejected             I
                                   because the table
                                   has 
                                   allready been locked




  TMP Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  UPDATE       NOT ̲LOCKED          An unlock request
                                   is                   I
                                   rejected because the
                                   
                                   table is not locked

  UPDATE       ABANDONED           A previous requested I
                                   reorganization has
                                   
                                   been stopped

  UPDATE       REJECTED            A requested function I
  TMP ̲MONITOR                      has been rejected

  TMP ̲MONITOR  ILLEGAL ̲GSN ̲TYPE    The GSN to be up-    I
                                   dated is not of same
                                   type as specified
                                   new GSN value

  UPDATE       VOLUME ̲NOT ̲MOUNTED  SYS ̲GEN. Volume is   I
                                   not mounted

  UPDATE       FILE ̲ACCESS ̲ERROR   TMP is not able to   I
                                   access SYS ̲GEN Volume

  SEARCH       PARAMETER ̲          Caller has specified F
  UPDATE       ADDRESS ̲            an input pointer 
  TMP ̲MONITOR  ERROR               refer rending data
                                   outside
                                   his own data area

  SEARCH       PRIVILEGE ̲ERROR     Caller is not        F
                                   allowed to perform
                                   requested function

  SEARCH       TABLE ̲ID ̲ERROR      Caller has speci-    F
  UPDATE                           fied a not existing
                                   table

  SEARCH       PARAMETER ̲          Input parameters     F
  UPDATE       DISCREPANCY         are not in accor-
  TMP ̲MONITOR                      dance with the inter-
                                   face specification




  TMP Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  SEARCH       BUFFER2 ̲TOO ̲SHORT   Caller has specified F
                                   a too short output-
                                   buffer in spite of
                                   that output length
                                   is 
                                   a defined value

  SEARCH       UNDEFINED ̲KEY       Caller has specified
  UPDATE                           an undefined primary
                                   key in a request re-
                                   quiring an existing
                                   key
                                   as input

  UPDATE       DUBLICATE ̲KEY       Caller has tried to
                                   in-
                                   sert a new primary
                                   key
                                   which allready were
                                   existing

  SEARCH       MAP ̲ERROR           Data area shared with
                                   applica-   F
  UPDATE                           tion can not be mapped
                                   in.

  SEARCH       RESPONSE ̲ERROR      It is not possible
                                   to send       F
  UPDATE                           a response on a request

  SEARCH       DISK ̲READ ̲ERROR     A disk read has failed
                                             F

  SEARCH       IMPOSSIBLE          An unknown error has
                                               F
  UPDATE                           occurred

  TMP ̲MONITOR  GSN ̲ID ̲ERROR        An unknown GSN ̲IP
                                   has            F
  UPDATE                           been specified  

  TMP ̲MONITOR  ILLEGAL ̲FUNCTION    An unknown function
                                   has          F
                                   been specified

  TMP ̲MONITOR  INTERNAL ̲ERROR      An unknown error has
                                               F
                                   occurred


  CSF Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  UTILITY      QEL CLAIMS EX-      The QEL CLAIM of     F
  FUNCTIONS    CEEDED              calling subprocess
                                   is exceeded

               BUFFER SIZE ERROR   An illegal BUFFER    F
                                   SIZE is specified
                                   in call

               PARAM ADDRESS       A pointer used to
                                                        F
                                                        
                                                        
                                                        
                                                        
               ERROR               specify a parameter
                                   points to an address
                                   outside the logical
                                   data space of calling
                                   process

               POOL EMPTY          No free element of   I
                                   specified Resource
                                   exists

               BUFFER REFERENCE    The reference is     F
               ERROR               outside the valid
                                   range or
                                   Caller is not owner
                                   of the buffer
                                   or
                                   OBJECT ̲TYPE of QEL
                                   is not of type 
                                   BUFFER



  CSF Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

               SIZE ERROR          The specified BUFFER I
                                   is smaller than
                                   specified SIZE

               SUBPROCESS          reference out        F
                ̲REF ̲ERROR          of valid range

               VAR ̲RESERVED        The specified        I
                                   variable is
                                   reserved

               VAR ̲REFERENCE       The specified        F
               ERROR               variable is illegal

               ARRAY ̲REFERENCE
                ̲ERROR                                   F
  


  CSF Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  QMON         PROFILE CHECK       The QEL profile ex-  I
                                   ceeds the profile
                                   of
                                   calling subprocess

               QUEUE EMPTY         The specified QUEUE  I
                                   does not contain any
                                   QELs

               CANCELLED           An earlier call is   I
                                   cancelled

               QUEUE REFERENCE     The reference does   F
                                                        
                                                        
                                                        
                                                        
               ERROR               does not reference
                                   a QUEUE within the
                                   
                                   capability array of
                                   calling subprocess

               QEL CLAIMS          The QEL claim of     F
               EXCEEDED            calling subprocess
                                   is exceeded

               WAIT NOT ALLOWED    WAIT is not allowed  F
                                   on specified QUEUE

               NO CAPABILITY       The caller is not    F
                                   allowed to use the
                                     
                                   function on speci-
                                   fied QUEUE

               QMON CALL ERROR     The specified QUEUE  F
                                   call does not exist




  CSF Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

               QEL                 The reference is     F
               ERROR               outside the valid
                                   range
                                   or
                                   caller is not owner
                                   of the QEL

               VIEW NOT CLOSED     A QEL referencing    F
                                   a View is not 
                                   closed before use
                                   of RETURN

               OBJECT TYPE ERROR   The QEL is of type   F
                                   BUFFER or VIEW and
                                   cannot be dismantled
                                   by QMON

               BLOCKED QUEUE                            I

               NO CAPABILITY TO    The caller has no    F
               ANSWER QUEUE        capability to the
                                   specified ANSWER
                                   QUEUE

               QEL NOT FUNCTION ̲   The specified QEL    F
               REQUEST             is not a FUNCTION
                                   ̲
                                   REQUEST and there-
                                   fore no destination
                                   Queue exists

               QEL PROFILE CHECK   The specified al-    F
               ON ALTERNATIVE      ternative Queue
               QUEUE               cannot be used due
                                   to a profile check

               CAPABILITY INDEX    CAPABILITY INDEX     F
               ERROR               is outside the valid
                                   range of specified
                                   subprocess

               SUBPROCESS          The SUBPROCESS ̲ID
                                                        F
               REFERENCE ERROR     is not within the
                                   valid range



  CSF Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

               ACCEPTED WITH       The threshold is     I
               WARNING             changed as specified
                                   with a warning indi-
                                   cating that the new
                                   Threshold Warning
                                   all-
                                   ready is exceeded.
               NOT ̲ACCEPTED                             I

  TMON         ILLEGAL TIME        The specified TIME   F
                                   is not valid

               ILLEGAL FORMAT
               TYPE

               ILLEGAL CONVER-
               SION TYPE           Some discrepancy     F
                                   exists between 
                                   specified CONVER-
                                   SION and specified
                                   IN ̲TIME

  MMON         VIEW NOT OPEN       An attempt to close
                                                        F
                                   a View, which is not
                                   opened, is made

               VIEW ALLREADY       An attempt to open
                                                        F
               OPEN                a View, which is 
                                   allready opened, is
                                   made

               OPEN NOT ACCEPTED   An open request is
                                                        I
                                   rejected by parent
                                   due to a SECURITY
                                   WARNING and SECURITY
                                   INTERROGATION profile
                                   check

               STOPPED             An attempt to open   I
                                   a View referencing
                                   a 
                                   stopped CIF is made

               NOT ACTIVE CIF      The referenced CIF   I
                                   is not active



  CSF Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  MMON         VIEW NOT SAVED      The View must be     F
                                   checkpointed before
                                   use of the function

               INIT DUMP NOT       An attempt to dump   F
               USED                a CIF sequence with-
                                   out initializing the
                                   dumpfile is made

               VIEW REFERENCE      The reference is     F
               ERROR               outside the valid
                                   range
                                   or
                                   caller is not owner
                                   of the QEL 
                                   or
                                   OBJECT ̲TYPE of QEL
                                   is not of type VIEW

               BUFFER SIZE ERROR   The specified buffer F
                                   used to get check-
                                   point information
                                   from MMS is not big
                                   enough



  CSF Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲s̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  COMMON       ILLEGAL COMMON                           F
               FUNCTION

  SCM          ILLEGAL SCM
               FUNCTION                                 F

               NO RESOURCES        The POOL of free     F
                                   SOCBs is empty

               ILLEGAL SO                               F
               REFERENCE

               ILLEGAL SS ̲ID       The SS ̲ID is not     F
                                   within valid range

               ILLEGAL PCF
               FUNCTION                                 F

  COMMON          
  PROCEDURES   PRIVILEGE ERROR     An unallowed attempt
                                   F
                                   to use a privileged
                                   function is made

               CSF ̲ERROR           Internal             F
                                   CSF Error


  IOC/IOS Completion Codes

  Originating                                           Type  Value
  S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲ ̲F̲/̲I̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲

    TMS       MORE ̲DATA       READ ̲BYTES when logical     I
                              data unit not complete
  
    TMS       CANCELLED       After a cancel              I
  
    TMS       DISCONNECTED    When SSC has removed the    I
                              interface future accesses
                              
                              gets this completion
 
    LTUX      TIME ̲OUT        READ ̲BYTES Halted           I
                              message (TRC, PTR etc.)
  
    LTUX      SOFT ̲INTER-     READ ̲BYTES                  I
              RUPTION         START ̲OF ̲TRANSMISSION
                              detected on following
                              data

    LTUX      DEVICE ̲ERROR    External device failed      I
                              or key off, but SSC has
                              not (yet) removed the 
                              interface
  
    LTUX      BAD ̲DATA        APPEND ̲BYTES                I
                              Miswatch in IOC 
                              record sizes
 
    LTUX      OK              END of message detected     I
                              "NNN(N) (TRC,PTR)
                              ETX OCR

    LTUX      DEVICE ̲STATUS ̲  Paper out on MSTP
              ERROR




  IOC/IOS Completion Codes

  Originating                                             
 ̲ ̲ ̲ ̲S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
 ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲V̲a̲l̲u̲e̲ ̲

    LTUX      PARITY ̲ERROR    LDU terminated due to       I
                              parity error
    
    LTU ̲H     DEVICE ̲ERROR    See above                   I

    
    LTU ̲H     BAD ̲DATA        See above                   I
    
    LTU ̲H     BLOCK ̲ERROR     READ ̲BYTES CCIS/SCARS       I
                              input data error
    
    LTU ̲H     OK              End of Message received     I
    
    FORMAT ̲H  VDU ̲SPLIT ̲      Reflects Device Error       I
              FAILED          and Disconnected above      
    
    FORMAT ̲H  INSERT ̲NOT ̲     Insert line not allowed     I
              ALLOWED
    
    FORMAT ̲H  DELETE ̲NOT      Delete line not allowed     I
              ALLOWED         
    
    FORMAT ̲H  CURSOR ̲NOT ̲     GET CURSOR POSITION         I
              IN ̲FORMATTED ̲   No valid return parameters
              LINE
    
    FORMAT ̲H  CURSOR ̲NOT ̲     GET CURSOR POSITION
              IN ̲FIELD        Line ok, field not ok       I
    
    FORMAT ̲H  CURSOR ̲NOT ̲     GET CURSOR GROUP            I
              IN ̲GROUP        POSITION
    
    FORMAT ̲H  OK


  Format Handler Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲s̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
  ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

  FORMAT ̲H    ILL ̲IFCB        Illegal IFCB                F           
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
                                                                      
              UNKNOWN ̲FOR-
              MAT ̲FILE        Unknown Format File         F
                                                    
                                                              TOO
                                                              ̲MANY
                                                              ̲
              SPLITS          Too many splits defined     F
                                                    
                
              WRONG ̲TABLE ̲
              SIZE            Control table size LE 0     F
                                                    
                
              WRONG ̲BUFFER ̲
              SIZE            Data Buffer size LE 0       F
                                                    
                
              NOT ̲ENOUGH ̲
              SPACE           Not enough space left       F
                                                    
                
              CONNECTION ̲     Connection allready active  F
              ACTIVE          (INIT ̲TERMINAL)
                                                    
                                                              ACCEPT
                                                              ̲ERROR  Accept
                                                                     error F
                                                    
                
              DISMANTLE ̲
              ERROR           Dismantle error             F
                                                    
                
              FORMAT ̲         Format allready loaded
                              at
              LOADED          GET ̲FORMAT                  F
                                                    
                


  Format Handler Completion Codes

  Originating
  s̲u̲b̲p̲a̲c̲k̲a̲g̲e̲s̲ ̲ ̲C̲C̲ ̲n̲a̲m̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲N̲a̲r̲r̲a̲t̲i̲v̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲T̲y̲p̲e̲ ̲ ̲V̲a̲l̲u̲e̲ ̲ ̲

              FORMAT ̲NOT ̲     Format not found in         F
              FOUND           format file
                                                                   
              FORMAT ̲FILE ̲    
              ACCESS ̲ERROR    Format file access error    F
                                                                   
              TOO ̲SMALL ̲      Control tables too big for
              TABLE ̲SIZE      specified table size        F
                                                                   
              NO ̲FORMAT ̲      OUTPUT ̲FORMAT without
              LOADED          GET ̲FORMAT                  F
                                                                   
              FIELD ̲OUT ̲      Field specified not in      
              RANGE           format                      F
                                                                   
              GROUP ̲OUT ̲      Group specified not in
              RANGE           format                      F
                                                                   
              ILLEGAL ̲PARAL-  
              LEL ̲OPERATION   Parallel operation re-          
                              quested when parallel
                              operation not allowed       F