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

⟦a0b5e7f50⟧ Wang Wps File

    Length: 32884 (0x8074)
    Types: Wang Wps File
    Notes: Spelunked
    Names: »~ORPHAN63.00«

Derivation

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

WangText

B…00……00……00……00…?…02……00……00…?
>…0b…>…05…=…0f…=…07…<…0b…<…01…<…07…;…0d…;
:…08…:…0c…:…01…:…07…9…0b…9…0e…9 9…07…8…09…8…0e…8…01…8…02…8…05…8…06…7…09…7…0b…7…00…7…86…1                                             …02…           …02…   …02…  
             

…02…CPS/DBD/001

…02…820607…02… 
DATABASE DESIGN DOCUMENT
…02……02…CAMPS






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



   1  PURPOSE ANDSCOPE ............................. 
     1

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

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

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

     3.1  DATA TYPES ................................
        7
       3.1.1  Standard Types ........................
          7
       .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  Constant Definitions .................. 
        11

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

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

   4  TYPES AND CNSTANTS ........................... 
    21…86…1   …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02…                        
                                                     
                         
    5  SYSTEM DATA ..................................
     21
     5.1  SYSTEM PARAMETERS ........................ 
      22
       5.1.1  Distribution Parameters ...............
         22
       5.1.2  Channel Parameters ....................
         24
       5.1.3  ACP127-Parameters .....................
         26
       5.1.4  Device Parameters .....................
         27
       5.1.5  Time Parameers ....................... 
        29
       5.1.6  CAMPS S/W Status ......................
         29
       5.1.7  Network Parameters ....................
         30
       5.1.8  Security Parameters ...................
         30

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

     5.3  PROFILES ..................................
       31
       5.3.1  User Tables ...........................
         36
       5.3.2  Terminal Tbles ....................... 
        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 ...................
       60

   6  CAMPS ROUTING AND DISTRIBUTION TABLES .........
     79
     6.1  SIC-Tables ................................
       80
     6.2  SDL-Tabe ................................. 
      83
     6.3  SCD-Table .................................
       84
     6.4  AIG-Tables ................................
       84
     6.5  PLA-Tables ................................
       85
     6.6  Local PLA-Table .......................... 
      87
     6.7  RI-Table ..................................
       88
     6.8  Local RI-Table ............................
       89

   7  QUEUES ........................................
     90
     7.1  QUEUE CONCEPT .............................
       90
       7.11  Queue Structure ....................... 
        90
       7.1.2  Queue Attributes ......................
         92
       7.1.3  Queue Groups ..........................
         92
       7.1.4  Queue Capabilities ....................
         93
       7.1.5  Queue References ..................... 
        93
       7.1.6  Queue Elements ........................
         96
       7.1.7  QEL Attributes ........................
         97
       7.1.8  Queue References Examples .............
         97…86…1   …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02…                   
                                                     
                                      
     7.2  DEFINITION OF ALL QUEUES ..................
       98
       7.2.1  SSC Queue Description .................
        99
       7.2.2  TEP Queue Description .................
        107
       7.2.3  LOG Queue Description .................
        135
       7.2.4  THP Queue Description .................
        138
       7.2.5  MDP Queue Description .................
        149
       7.2.6  SAR Queue Desription ................. 
       150
       7.2.7  STP Queue Description .................
        154

     7.3  DEFINITION OF ALL QUEUE GROUPS ............
      155
       7.3.1  User VDU Command Queues ...............
        155
       7.3.2  User VDU Receive Queues ...............
       155
       7.3.3  User VDU Release Queues ...............
        155
       7.3.4  User VDU Response Queues ..............
        155
       7.3.5  Printer Command  Queues ...............
        156
       7.3.6  Printer Print Queues ..................
        156
       7.3.7  Channel Comman Queues ................ 
       157
       7.3.8  Circuit Queues ........................
        157
       7.3.9  User VDU System Queues ................
        157
       7.3.10 Printer System Queues .................
        158
       7.3.11 Transport System Queues ...............
        15
       7.3.12 Supervisory System Queues .............
        158
       7.3.13 MSOS Command Queues ...................
        159
       7.3.14 MDOS Command Queues ...................
        159

     7.4  DEFINITION OF ALL QUEUE CAPABILITIES ......
      159

     7.5  DEFINITION OF MAITYPE AND SUBTYPE
          FOR ALL Q ELEMENTS ........................
          182

   8  SUBPROCESSES AND PROCESS PROFILES .............
    248
     8.1  SUBPROCESS CONCEPTS .......................
      248
     8.2  ACCESS PROFILE ............................
      248
     8.3  EFINITION OF ALL SUBPROCESSES ............ 
     250
       8.3.1  TEP SUBPROCESSES ......................
        251
       8.3.2  THP SUBPROCESSES ......................
        259
       8.3.3  MDP SUBPROCESSES ......................
        266
       8.3.4  SAR SUBPROCESSES ..................... 
       267
       8.3.5  LOG SUBPROCESSES ......................
        268
       8.3.6  STP SUBPROCESSES ......................
        269
       8.3.7  SSC SUBPROCESSES ......................
        270
       8.3.8  TMP SUBPROCESSES ......................
        273
       8.3.9 CSF SUBPROCESSES ...................... 
       274…86…1   …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02… …02…                    
                                                     
                                     
   9  OTHER TMP Table ...............................
    276
     9.1  TEP COMMAND TABLE ........................ 
     276
     9.2  Response Text Table (Direct Access) .......
      276
     9.3  TEP SEQUENCE TABLES .......................
      277
     9.4  MMI CONTROL TABLES ........................
      278
     9.5  OPERATING SIGNAL TABLE ....................
      278
     9.6  SPECIAL HADLING TABLE .................... 
     279

   10 CAMPS FORMATS .................................
    280
     10.1 CAMPS INTERNAL MESSAGE FORMAT .............
      284
       10.1.1 Administration Field ..................
        287
       10.1.2 SCD List Field ....................... 
       305
       10.1.3 Address Field .........................
        308
       10.1.4 Text Preamble Field ...................
        312
       10.1.5 Text Field ............................
        315
       10.1.6 PLA/RI Field ..........................
        318
       10.1.7 QueueList Field ...................... 
       326
       10.1.8 RI Assignment Field ...................
        333

     10.2 CAMPS EXTERNAL MESSAGE FORMAT .............
      340
       10.2.1 Text Field ............................
        341
       10.2.2 ACP127 Parameter Field ............... 
       341
       10.2.3 ACP127 Header Field ...................
        350
       10.2.4 ACP127 Correction/Text Preamble Field .
        350

     10.3 CAMPS INTERNAL INFORMATION FORMAT .........
      351
       10.3.1  LOG Records ..........................
        351
       10.3.2  Stoage and Retrieval catalogue
               Display ..............................
                357
       10.3.3  Message Status Formats ...............
                363
       10.3.4  Statistics CIF Information ...........
                409

   11 FILES ........................................ 
    419

   1 TRACE AND PERFORMANCE MONITORING RECORDS ...... 
   483



                   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 th "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 Procedure 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/05

         ACE CCIS Interface Control Document
         CPS/ICD/006…86…1  …02…      …02…   …02…   …02…   …02…                     
                              
         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 DesignSpec.         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 Detaied 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
  MDCO VDU Detailed Design Spec.                    CPS/SDS/037
  MSO VDU Detaile Design Spec.                      CPS/SDS/038
  User VDU Detailed Design Spec.                    CPS/SDS/039
  OCR Detailed Design Spec.                         CPS/SDS/040
  Printer Detailed Design Spec.                     CPS/SDS/041



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               Application
         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                Chnnel
         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 Processig 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 Numbr (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 Contrl 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…86…1         …02…             
                              …02…                             
                                  
         DSMT              Development, Software, Maintenance,
                           Test
         DTE               Data Terminal Equipment
         DTG               Data Time Group
         EDC               Error Detection and Correction
         EMI-racks         Electromagnetic Interference
         EOL               En 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
         ITAInternational 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 Termnation 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 dapter
         MID               Message Identification
         MMON              Message Monitor
         MMS               Message Management System within
                           SFM…86…1      …02…          …02…            
                                                           
                            
         MRQ               Message Routing Queue
         MSG               Message
         MSO               Message Service Operator
         MSP               Medium Speed Tele Printer
         MSQ               Message Service Queue
         MSTP              Medium Speed Tele Printer
         MTBF              Mean Time Betwen 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 Mesage 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 Elemen (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 Requst 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 Distribuion List
         SDS               CAMPS System Design Specification
         SEL               Synchronization Element
         SFD               Directory types within SFM
         SFM               Storage and File Management Package…86…1
                                …02…          …02…                 
                                                        
         SIC               Subject Indicator Code
         SID               Segment Identifier
         SOTF              Start of Transmission Function
         SRS               System Requirements Specification
         SSC               Status System and Control
         SSN               Station Serial Nmber (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
         TBDTo 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 HandlingSystem
         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
                           t CSN)
         UGI               User Group Identification
         VDU               Visual Display Unit
         WDP               Watchdog Processor
         X25               Protocol Name
         Z80               Zilog 80…86…1         …02…   …02…   …02…   …02…     
                                                           
                               
           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 whic 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


.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:25
                                                                 .

                           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.12     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,
         SUNAY).

         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 aother 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 ase 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.   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 eah 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;
            ARRIED: 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;
         NEX ̲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̲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 consit 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.2C̲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 shallbe 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 followig 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 e 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 lefthandend of the diagram.

         The characters of the string shall be numbered consecutively
         beginning with number 1 (one).…86…1         …02…   …02…   …02…   …02… 
                                                  
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 diagrms 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 possibl
         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…86…1         …02…   …02…   …02…   …02…   
                                         …02…    …02…             …02… 
                                                
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      =    INTVALUE

         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 typedefinitions 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 exaple 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 thefollowing
         notation:

         CONST   IDENTIFIER    =    CONSTANT EXPRESSION
                                    "Reference to constant def.of
                                    "narrative description…86…1
                                            …02…   …02…   …02…   …02…      
                                      …02…    …02…             …02…    
                                             
         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 i 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 checkpoits


         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…86…1         …02…   …02…   …02…   …02…    …02…    …02…    …02…     …02…     
                  …02…              
         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
                                             O 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 recor 
         "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…86…1         …02…   …02…   …02…   …02…    …02…    …02…    …02…     …02…     
              …02…              
         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..ARM2;

                               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 sction 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:

         -   Systm 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.

         Folloing 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 paramter
              Dedicated Punch parameter 
              Time of day parameter
              CAMPS SW status parameter  
              Supervisor printer parameter
              Security parameter

         The PARAMETER ̲ID ̲TYPE in which these parameter IDs
         are specified is defined in section 4 CPS ̲PREFIX.D*YS
         ̲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 oolean 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̲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 speifies 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 prameters

         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 sendin
             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 th 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 genera1̲1̲6̲3̲A̲…00…CPS/DBD/001        
                  …00…dhh                 …00…JBS                 …00…1
             - 5.4.            …00…2̲1̲…00…0̲8̲…00…8̲1̲…00…0̲9̲…00…1̲0̲…00… ̲ ̲ ̲1̲…00…5̲7̲…00… ̲ ̲5̲2̲6̲4̲…00…17…00…12…00…84…00…13…00…39…00…
                …00…03…00…    71…00…1̲7̲…00…1̲2̲…00…8̲4̲…00…1̲4̲…00…2̲1̲…00…22…00…12…00…84…00…13…00…00…00…0184A…00… 71…00… ̲ ̲4̲2̲…00…26…00… 1064…00…1̲0̲1̲768…00……11……00…
 …06…b…00……10……00……01……10……06…'…10……11……02……80…*̲J̲…15……05……00……00……00……00……00……00……01…7
C…01…B…00……00……00……00…6…0a……00……00…6…0b…6
5…0d…5…07…4…0f…4…01…3…08…3…0e…3  2…0b…2…00…2 1…09…1…0f…1
1…07…0…0d…0…00…0…02…0…07…/…0a…/…0b…/…0e…/…0f…/…02…/
.…08….…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 ANDSCOPE ............................. 
     1

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

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

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

     3.1  DATA TYPES ................................
        7
       3.1.1  Standard Types ........................
          7
       .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.1̲1̲6̲3̲A̲…00…CPS/DBD/001              …00…dhh           
            …00…JBS                 …00…1 - 5.4.            …00…2̲1̲…00…0̲8̲…00…8̲1̲…00…0̲9̲…00…1̲0̲…00…
       ̲ ̲ ̲1̲…00…5̲7̲…00… ̲ ̲5̲2̲6̲4̲…00…22…00…01…00…84…00…15…00…00…00…    …00…14…00…   563…00…2̲2̲…00…0̲1̲…00…8̲4̲…00…1̲5̲…00…1̲7̲…00…24…00…01…00…85…00…09…00…25…00…0184A…00…
       71…00… ̲ ̲4̲2̲…00…40…00… 1032…00…1̲0̲2331…00……16……00……0e……00……01…@…00……10……00……01……10……06…'…10……11……02……80…*̲J̲…15……05……00……00……00……00……00……00……01…7
C…01…B…00……00……00……00…6…02……00……00…6
5…0b…5…05…4…0f…4…07…3…09…3…00…3…06…2…0c…2
1…08…1…0c…1…01…1…07…0…0b…0…0f…0…05…/…08…/…0a…/…0f…/…02…/
/…06…/…07….…0a….…0b….…00….…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 ANDSCOPE ............................. 
     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
       .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.