Professional Documents
Culture Documents
MA NUA L
ma cs
®
Table of Contents
3. TABLES......................................................................................................................................................... 3
3.1. Table concept...................................................................................................................................................... 3
3.2. System table (sys.tab)............................................................................................................................................ 5
3.3. Basic configuration tables..................................................................................................................................... 6
3.3.1. Process Table (pn.tab).............................................................................................................................. 6
3.3.2. Connection Table (cn.tab, cnArr.tab, cnDep.tab, cnCs.tab)......................................................................... 8
3.3.3. Field format Table (ff.tab)......................................................................................................................... 9
3.3.4. Device Table (dv.tab)............................................................................................................................. 11
3.3.5. Time Parameter Table (at.tab)................................................................................................................. 13
3.3.6. Line format Table (lf.tab)........................................................................................................................ 13
3.3.7. Action Scheduler Table (as.tab)............................................................................................................... 14
3.3.8. File Table (fi.tab)................................................................................................................................... 14
3.3.9. Display Table (dp.tab)............................................................................................................................ 15
3.3.10. Selection Table (se.tab).......................................................................................................................... 17
3.3.11. External Error Checks (ec.tab)................................................................................................................ 19
3.3.12. CPU Table (cpu.tab).............................................................................................................................. 19
3.3.13. Message Table (msg.tab)....................................................................................................................... 20
3.3.14. Time Scheduler Table (ts.tab).................................................................................................................. 22
3.3.15. Watchdog table (wdog.tab).................................................................................................................... 23
3.4. Record description tables (xxx.dsc)....................................................................................................................... 23
3.5. Display content tables (dpc.xxx)........................................................................................................................... 26
3.6. Lookup tables.................................................................................................................................................... 27
3.6.1. Airports................................................................................................................................................ 27
3.6.2. Remarks............................................................................................................................................... 27
3.6.3. Airlines................................................................................................................................................. 28
3.6.4. Natures................................................................................................................................................ 28
3.6.5. Aircraft................................................................................................................................................. 28
3.7. Output handler specific tables............................................................................................................................. 28
3.7.1. Graphic-Terminal-Table.......................................................................................................................... 28
3.7.2. FIIB Tables............................................................................................................................................ 29
Page 2 ServerManual-Vol2_content_1.0062_rev00
Server Manual Vol. 2 - System tables
3. TABLES
The FIDS (Flight Information Display System) keeps virtually all relevant data in memory-resident
tables when in operation. For throughput reasons, this is vital, particularly with reference to the
updating of information data on the display peripherals.
All tables are normally located in the directory/app/sint2/tab in the form of text files which
are read when the system is booted by the SYSTRT process and are converted into an internal
format.
Data sets are sorted by converting the KEY table into the internal format. The loading module
‚tabload ’ does not therefore require the data records to be sorted in advance in the table
presented in text form.
INDEX table
The INDEX type of tables do not have a key. Access to these is exclusively via the record
number in the table. The first valid record number is 0. The configuration of an INDEX table
is based on the largest index of a record in the table, provided that the tables has not been
given an oversize configuration by the directive $LIM. If the indices used in the table contain
gaps, dummy entries can appear in the table showing a data record length set to binary 0.
If you wish to save memory space, it is therefore necessary to use as many adjacent indices
as possible. Access to INDEX tables is extremely fast because every record address has to be
determined precisely.
The first component in the $FORMAT descriptor of an INDEX- and FIELD table must be of the
INTEGER (I) type. This indicates the access index of every data record. At a later point, this
component is not physically transferred to the data record.
FIELD tables
For data records which are required to have a dynamic structure and/or meant to be read
using user transactions, a record description is required. For every record description,
the FIDS has what is known as a record description table of the FIELD type. These tables
contain all the record descriptions (one table entry per field) of a data record. In terms of
data organisation, these are all INDEX tables. However, in contrast to these Index 0 is not
permitted. This data record is used internally. The first permitted field number (index) in a
data record is therefore 1.
The organisation type of a table is defined in the system table (sys.tab) for each individual
table.
In addition to actual table data, each table in the system contains up to 4 descriptors which
determine the size and organisation of the table. All descriptors contain a line of data and
begin with a key word (e.g. $LIM). A parameter entry follows after one or more blanks. The
key word can be entered in upper case or lower case and, as a rule, descriptors are usually
listed in the first lines of a table. However, this is not mandatory.
ServerManual-Vol2_1.0062_rev00 Page 3
Server Manual Vol. 2 - System tables
$KEYSIZ
This descriptor is only required for the KEY type of table and it indicates the key length of the
table record in characters/bytes. Only positive values are permitted. There is no default value.
Example: $KEYSIZ 5 (key length 5 characters)
$KEYLOC
If the key for a data record does not start at the beginning of a record, the offset (relative to
0) must be indicated. Only positive values or zero are permitted. The default value is 0. In this
case, the $KEYLOC descriptor can be omitted.
Example: $KEYLOC 2 (the key begins in the third character of the record)
$LIM
Normally, a table is configured implicitly, i.e. its size is initialised in accordance with the number
of data records in such a way that all data records fit in the table. If the $LIM descriptor is listed
in the table, the number of data records to be listed in the table can be determined with an
appropriate parameter entry. This is particular important for Lookup tables for which there is a
user function. This then makes it possible for users to insert any additional data records in the
table.
Example: $LIM 200 (table with maximum of 200 records)
$FORMAT
This descriptor informs the software module ‚tabload ’ of the format in which the text data
should exist in that table (i.e. strings, numerical values in various display modes etc.) The
components of a data record are separated from one another by commas.
Every component can be identified by a letter. The sequence of field components indicates the
physical field sequence in the data record..
Example: $FORMAT C,B,C2,I,I,>16
If ( $FORMAT DSC ) is specified, the format of a data record of the table is defined by the
connected FIELD table.
Example: ($FORMAT DSC) in the table ap.tab
The fields for this table are defined in the table ap.dsc. The connection between
the tables ap.tab and ap.dsc is done in the table sys.tab.
The following field components are permitted:
CHARACTER (C)
The field component ‚C’ indicates that the next character can be transferred in direct physical
form to the data record without conversion (e.g. C15 for 15 characters). In all field components,
leading and trailing blanks are eliminated. If explicit blanks are used in the CHARACTER- or
STRING component, these should be included in ‚„‘ (inverted commas).
STRING (>)
The field component ‚>‘ is equivalent to the ‚C’ component. However, the field is prepared
as a C-String, i.e. forced termination is zero. For example, if a string 20 characters in length
is defined with > 20, only 19 can be used in data records because the blank after the data
contains a zero terminator (‚C’ language concept).
INTEGER (I)
A leading ‚I’ designates an INTEGER component, i.e. a whole number follows which is
converted internally into a machine-dependent natural word size and/or register size and then
stored internally in binary form. The display can be decimal (e.g. 24, -3 or +8), hexadecimal
(e.g. $1B), octal (e.g. 057) or binary (e.g. %1001101) by using appropriate prefixes ($,0 and %) to
indicate these. Prefixes are only permitted in the decimal presentation mode. In the other display
modes, this preface function is performed by appropriate combinations of two characters.
Page 4 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
SHORT (S)
A whole number SHORT value can be entered in a similar way to the INTEGER component.
LONG (L)
A whole number of LONG values can be entered in a similar way to the INTEGER component.
BYTE (B)
In a similar way to the INTEGER component, a whole number value for a byte can be entered.
Data entry is restricted by the physical limitation to the values of $00 to $FF (hex.). Naturally
enough, this also applies to all other binary components (INTEGER, LONG, SHORT), the
physical size of which should be known on the target machine.
There are data default values for all components in a data record which apply if ever the
components in the data of a record are not indicated, or are only indicated by blanks. The
component types CHARACTER and STRING are set to blanks (STRING is also set to length 0 by
a zero terminator) and the binary types INTEGER, LONG, SHORT and BYTE have a default value
of 0.
It is not normally possible to record whitespace characters such as a tab or an ESC symbol in
a CHARACTER or STRING component. To make this possible, these components use a display
mode such as that used for C compilers. Whitespace characters are recorded with a ‚\’
(Backslash) character and octal display of a character is recorded in a string.
In addition to this octal display, there are also special symbols such as \t (tab), \n (linefeed),
\b (backspace), \f (formfeed), \r (carriage return) and \\ for the ‚\’ character itself. The
benefit of these special symbols is that any computer can convert them to the characters which
it uses.
Display of the octal bit pattern is only set to 3 characters if numerical ASCII characters follow
which have to be incorporated in the string as normal ASCII characters. For instance \33AB
is permitted and would give rise internally to hex. 1B4142, but \3312 would give rise to D932,
instead of 1B3132. The correct format here would be \03312.
Always ensure that a zero terminator is generated with \000. If this value is used in a STRING
component, the string is terminated at this point.
Example for a CHARACTER component with whitespace characters:
As a general principle, please note that any number of blank lines can be inserted in the text file
of a table alongside the descriptors and data records. They are simply ignored. Comments can
be introduced with the string ‚/*’. Everything which appears to the right of this is interpreted as
a comment.
If data records do not fit into one physical line, then this line must be terminated with ‚-’ and
can be continued in the next line in the first columne.
ServerManual-Vol2_1.0062_rev00 Page 5
Server Manual Vol. 2 - System tables
PATHNAME,STRING (>64)
All tables in the FIDS can be found in the directory /app/sint2/tab. The path name of every
table can be entered in this component. 63 characters are available for this. One character is
required for the zero terminator.
The process table (pn.tab), with a few exceptions, contains all processes which the FIDS requires
for its work, always depending on prevailing requirements. The process table is of the INDEX
type. The number of the process is used as an index. The table is read out by the mother
process BIGMAMA when the system is powered up. BIGMAMA then generates all the processes
listed in this table.
A data process table contains the following field components:
Page 6 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
PRIORITY,INTEGER (I)
In order to change process priorities in the system when required, every process can be
assigned a priority which it sets itself during the initialisation phase. This is what is known as
a „nice value“ which can accept values of between -20 and 19. Priority -20 is the highest of
these.
NO MGET1 BLOCKING (Bit 4) means that the affected process can poll its input queue
using the mget1() function without blocking. This is important for some processes because
they do not respond sequentially to queue inputs but instead perform other work at the same
time.
ServerManual-Vol2_1.0062_rev00 Page 7
Server Manual Vol. 2 - System tables
Bit 6 of the „PROCESS MODE“ word is the NO _ OBSERVE bit. This bit is only of interest to
output handlers responsible for the output of information to display peripherals.
Once the bit has been set, a display controller which has been put „out of service“ by the
output handler responsible due to a defect or interrupt in communication can only be put
back into service by the relevant user command ‚UP‘. If this bit is not set, the output handler
process automatically attempts, at cyclical intervals, to re-establish contact with affected
controllers, provided it is prompted by the CMD _ CYCLE command (--> time scheduler table
ts.tab).
Bit 7 is know as the TESTMODE bit. This can be set in the process table, or by the
‚testmode‘ command which, in principle, operates like the ‚tracemode‘ command and
switches the bit on or off. This bit can be evaluated for each individual process. There is no
defined response when setting the bit.
MAX-QUEUE-ENTRY-SIZE,INTEGER (I)
Every process can use this entry to assign memory space to its input buffer. If there is insufficient
space in memory, a system message (SYSERR) is output to the console by the software module
‘callp’. Always ensure that the queue entry size of the ICPUT process does not exceed the
maximum system-dependent message size of the UDP service (1024 bytes). This precise
parameter is used by the ICINIS process for initialisation of slave computers.
REFERENCE,INTEGER (I)
This component is used for task-specific process references and can be used in different ways
from one process to another, as required. The output handler processes use this component to
obtain a reference to their handler-specific table.
Something known as a „connection“ can be made to all data records in the FIDS for which
there is a record description. This may be an interpreter expression used for a given record
in a file and which leads to an assessment of TRUE or FALSE. If an expression of this kind is
assessed as TRUE there is a second step in which the data record is assessed further and this is
linked to an assignment function.
Page 8 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
In other words, depending on the contents of certain fields, other fields can be changed.
The software modules ‚sth’ and ‚fth’, all of which control changes in a central manner to
system tables and the actual database all use a software module which checks and executes
„connections“. Logical links of this kind are entered in the connection table (cn.tab) for system
tables, (cnArr.tab) for arrival flight table, (cnDep.tab) for departure table and (cnCs.tab) for
master-codeshare connection . These tables are of the KEY type. The access key covers several
fields. The connection table is searched by the relevant software module for all assessments
which suit the record description number of the file.
A data record in the connection table contains the following fields:
CONTINUATION,CHARACTER (C)
If there are several identical pairs of field numbers (FIELDNUMBER and CORR. FIELD NUMBER)
due to a range of different assessment variants, the uniqueness of the access key and the
connection table should be protected by the alphanumeric character entered here.
This field component is part of the access key.
CONDITION/EXPRESSION,STRING (>170)
A STRING type of field component with dynamic length takes the assessment expression as well
as the assignment expression used whenever the assessment ends with TRUE. First of all, the
assessment expression is entered and separated by the keystroke sequence ‚\n’ (Newline), the
expression for assignment.
Example: [N80]==[>LN]\n [N27]=[*]
This can mean, to take one example, that the current time (*) is entered in the ACTUAL TIME
field (field number 27 in af.dsc ) when the REMARK field (field number 80 in af.dsc) has the
contents ‚LN‘ .
The line format of print lines and display lines on display devices comprises 1 to N field formats
which, in overall terms, produce the line format. All field formats can be identified uniquely
by their field format number and are defined in the field format table (ff.tab). In overall terms,
it is possible to distinguish between two types of field format. On the one hand, there are field
formats with a reference to field numbers, i.e. the contents of a field for a data record is output,
and on the other hand there are data contents. The field format table is of the INDEX type. The
field format number represents the index and must be >0.
ServerManual-Vol2_1.0062_rev00 Page 9
Server Manual Vol. 2 - System tables
A data record in the field format table contains the following field components:
FORMAT,INTEGER (I)
The output format is set in a bit-encoded manner:
Bit 0: Right alignment
Bit 1: Left alignment
Bit 2: Reverse output
Bit 3: cut trailing spaces
Bit 4: center output
Bit 5: compress
Bit 6: uppercases
Bit 7: lowercases
Bit 8: no digits
Bit 9: no alpha
Bit 10: only alphas
Bit 11: only digits
Bit 12: terminate with NL \n 0x0a
Bit 13: terminate with CR \r 0x0d
Bit 14: terminate with FF \f 0x0c
Bit 15: terminate with TAB \t 0x09
Bit 16: Flight Number Digit portion only
Bit 17: ARABIC Translation
Bit 18: Use Translation Table
Bit 19: Application Bit 1 ( not used )
Bit 20: Application Bit 2 ( not used )
Bit 21: Ansi to Dos
Bit 22: Arabic adjustment
Bit 23: Unicode
TRANSLATION,CHARACTER (C)
If this involves a field in a lookup table field, i.e. if the contents can be used to access a record
in a lookup table, and if a field from the appropriate lookup table record is to be output instead
of the field contents which represent the key, enter a ‚Y‘ TRANSLATION. Otherwise, enter ‚N‘ for
(N)o translation.
Page 10 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
A text constant in the field format has priority over a text table entry.
If an explicit output width is indicated, output is either cut off as required or filled with blanks.
If the field which is to be output is a numerical, a time or a date field, an output format can
be specified by a text reference in the style of the Cobol language, e.g. „ZZZ9“ or „Z9:99“.
The device table (dv.tab) contains a list of all the peripheral devices connected to the Linux
computer including all the computers configured in the network i.e. in the CPU table (cpu.tab).
In detailed terms, these are the console, the interfaces, the display peripherals, etc.
The type of table is KEY, and the key term is the system-internal device name.
A data record in the device table contains the following fields:
STATUS,BYTE (B)
The status of the device provides information about the logical status relative to the system. The
following initial status settings can be set 1=UP and 4=DOWN. With a user command, or on the
basis of communication problems with the peripherals, it is also possible to change internally
the status of the system which is running. When this happens, an appropriate message is
generated by the system.
WORDALIGNMENT,CHARACTER (C)
Dummy for word-sensitive, machine-dependent data alignment. This component is irrelevant in
terms of the application.
ServerManual-Vol2_1.0062_rev00 Page 11
Server Manual Vol. 2 - System tables
RESERVED,STRING (>64)
RESERVED,STRING (>128)
RESERVED,INTEGER (I)
RESERVED,INTEGER (I)
TIMEOUT,INTEGER (I)
This is where the time-out time for each device can be entered, expressed in seconds. If a time
out occurs, and if RETRYS, where parameters for these have been set, have failed to yield
any success, an appropriate message is generated in the system and the device is set to DOWN
status.
RETRYS,INTEGER (I)
If a fault or time-out occurs when the controller peripherals are being addressed, retrys are
performed in accordance with this entry.
RESERVED,INTEGER (I)
This parameter is used to enter the reset port of comservers, if available.
RESERVED,INTEGER (I)
RESERVED,INTEGER (I)
RESERVED,CHARACTER (C)
RESERVED,CHARACTER (C3)
RESERVED,INTEGER (I)
RESERVED,CHARACTER (C16)
RESERVED,INTEGER (I)
RESERVED,INTEGER (I)
Page 12 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
All time-dependent control mechanisms in the FIDS can be set in variable fashion by so-called
time parameters. All these time parameters are summarised in the time parameter table (at.tab).
This table is of the KEY type. The access key is a time parameter number. The time parameters
1-19 are provided for system control. Some processes refer to this time parameter. All other
parameter numbers can be allocated freely within the system as and when this is possible (e.g.
in the selection table se.tab or connection table cn.tab) .
It is important in this context that time parameter 1 (time scheduler TIMSCH) represents the
smallest time unit in the system because the time scheduler checks all time-dependent actions in
the system at these intervals and initiates them when required.
A data record from the time parameter table contains the following field components:
The structure of output lines for printouts and displays are determined by a line format. This is
a sequence of field format numbers which must in turn be defined in the field format table (ff.
tab) and text. The lineformat can also include text constants and references to other line format
numbers.
All elements of the lineformat must be separated by ‚;’.
The line format table (lf.tab) is of the INDEX type. Every line format is uniquely identified by a
line format number. It must be numerical and >0 and, at the same time, represents the index.
Example:
All negative numbers are references to other line format numbers. Positive numbers are
references to the field format table (ff.tab).
The maximum length of aline format can actually be extended dynamically in the table. Simply
adapt the record description format using the descriptor $FORMAT.
ServerManual-Vol2_1.0062_rev00 Page 13
Server Manual Vol. 2 - System tables
An important point in conjunction with line formats is that the alternative line format (type ‘L’)
configured in the selection table (se.tab) must be physically aligned to the same length as the
standard line format entered in the appropriate display table or list table. This is important
because the output handler and use the data length of the standard line format for their internal
allocation of memory.
All changes to date records in the system (UPDATE, INSERT and DELETE), and all other function
codes are transferred to the action scheduler which consults the action scheduler table (as.tab)
to decide on a central basis which processes should be most affected by the actions initiated in
the system. This function is transferred to the processes defined.
The action scheduler table is of the KEY type. The access key comprises the components
RECORD DESCRIPTION TABLE NUMBER, FUNCTION CODE and PROCESS NUMBER .
A data record from the action scheduler table contains the following field components:
FIELDNUMBERS,INTEGER (I)
In the case of the function code (U)pdate, field numbers can be specified which have to be
changed to enable the specified process to be prompted. The entry of field numbers separated
by commas must be terminated with a zero. The number of field numbers which can be
dynamically set with the table descriptor $FORMAT must be configured large enough.
If no field number is entered for the function code (U)pdate, the process is prompted at every
update. When updates occur, the action scheduler transfers a list of changed field numbers to
the target process.
All files in FIDS/Linux, which are kept on permanent data carriers (hard disk, floppy etc.) and
which are not memory-resident are recorded in the file table (fi.tab).
The file table is of the INDEX.type. The access index is the file number. Some file numbers (e.g.
message logging) are assigned in a fixed form and must not be changed.
The data record and the file table contains the following field components:
Page 14 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
WORDALIGNMENT,CHARACTER (Cn)
Machine-dependent word alignment of the data records.
DIRECTORY,STRING (>32)
Directory of the file. The directory name of the file is linked to the file name for access to the
file.
The display table (dp.tab) is the central table for the output handler processes. It contains
definitions of all display units working on the system. If there are any changes to the actual
database, the output handler process searches through the display table for the display units
assigned to it. One record should be recorded in this table for each logical display. The
display table is of the INDEX type.
One data record in the display table contains the following field components:
SYSNAM,STRING (>16)
Within in the system, and in all messages referring to the display, this internal system name is
used.
ServerManual-Vol2_1.0062_rev00 Page 15
Server Manual Vol. 2 - System tables
APPNAM,STRING (>24)
This field is used for more detailed explanation of the display.
CONTROLLER RECORD NUMBER,INTEGER (I)
This field component is only a place marker for an internal link to the controller which is defined
in the device table (dv.tab). At a software level, a link connection is created whenever -1 is
entered here.
DISPLAY CONTENTS TABLE NUMBER,INTEGER (I)
In this field, enter the table number of the display contents table for this display unit. A table of
this kind must be generated by entering it in the system table (sys.tab) to reserve space for the
memory-resident mirror of the display. The table number issued in the system table should be
entered here.
SELECTION NUMBER,INTEGER (I)
In this field, enter the selection number to be used in the selection table se.tab to filter the data
for the display. If this number is equal 0, the display contents table number (previous parameter
described above) is used as reference to se.tab.
STATUS,INTEGER (I)
Every display can be set here to an initial status. There are 2 options. (1=UP, 4=DOWN). A
display unit set to DOWN is not handled until it has been put into service by the user with the UP
function .
TIMECHAIN NUMBER,INTEGER (I)
In order to define central system parameters in the system, there is a file known as config.sys
which is read in and processed when the system is started by the boot programme SYSTRT. As
well as configuring the actual database, key fields, etc., it can also define the time chains in the
actual database in a flexible manner. Every time chain receives a number starting with 1. The
chronological sequence of the display defined by the time chain (e.g. 2 = estimated time) must
be entered here.
Page 16 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
DELETED LINES,INTEGER
Internal use. This is a component which is used as a place marker for internal use. Here, an
output handler enters the number of lines of data which are actually being deleted. This is
required in order to establish when the next re-organisation should take place.
NO FLIGHTS,INTEGER (I)
This field component is not used at present.. The intention here is to use a reference number to
the text table (tx.tab) which represents an output sequence used in cases where there is not flight
information for the display.
CONTROLLER,STRING (>16)
To establish a reference to the physical device of the controller, the internal system device name
from the device table (dv.tab) should be entered here.
GROUP,STRING (>16)
To establish a reference to the group name (grp4.tab ).
The selection table (se.tab) is used to perform information displays and selections for other
purposes. The individual selection records are allocated an interpreter expression which checks
their plausibility in conjunction with the data records (TRUE or FALSE). All related selection
records (e.g. for one display) have a cumulative effect (with the exception of alternative (L)
ineformat). The selection table is of the KEY type, where the key is created from the section type,
the reference number and a serial sort sequence field.
ServerManual-Vol2_1.0062_rev00 Page 17
Server Manual Vol. 2 - System tables
A data record from the selection table contains the following fields:
Page 18 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
Every transaction program in the FIDS which manages files performs plausibility checks for these
files when changes are requested. On a standard basis, various checks are made on the basis
of field types based on the prevailing record description. It is not possible, for instance, to enter
letters in a numerical field etc. Once these checks have been completed by the transaction
process, and provided that no errors have occurred, the next step is to proceed with what is
known and an additional external check. In this, the program makes reference to the external
error check table (ec.tab). The reference number and, at the same time, the access key to table
ec.tab is the record description table number. The external error check table is of the KEY type.
Several fault checks can be entered in the table ec.tab for every record description existing in
the system. These have a cumulative effect.
A data record from the external error check table contains the following field components:
VARIATION,CHARACTER (C4)
Variation field which serves to ensure the uniqueness of a access key when handling several
error check records. Owing to the fact that this field has 4 digits, the number of possible error
checks is virtually unlimited.
The FIDS is designed to run in a network which can theoretically contain any number of Linux
computers and where all processes configured in the process table (pn.tab) are distributed
across the whole range of computers in the network. All these computers are defined in the
CPU table.
A data record in the CPU table contains the following field components.
Every computer knows from its local config.sys file (parameter $CPU) which physical CPU
number it has. Based on this number, it can consult the CPU table to obtain its logical CPU
number and thereby determine its function in the FIDS/Linux network.
ServerManual-Vol2_1.0062_rev00 Page 19
Server Manual Vol. 2 - System tables
CPUTYPE,CHARACTER (C)
This is where the type of computer should be entered. (M)aster, (S)tandby and (X) are the
possible for entries for all other computers. The type entered here is also used for the CPU
reference in system messages (message table msg.tab) .
Only one MASTER computer can be configured in the CPU table.
All messages generated in the FIDS and output on terminal and files etc. are summarised
centrally in the message table (msg.tab). All messages in the FIDS are prepared by the message
handler (msh) and directed to its intended destinations. The list of addresses for sending out a
message can be set individually on each defined message.
The message table is of the KEY type. The access key is the message number. Message
numbers are numbered from 0 to 9999, but numbers 0 to 100 are initially reserved for internal
system use. All other message numbers can be issued freely by utilising the external error check
table.
The structure of a message for output is as follows:
Page 20 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
(X) for all other computers). For example, (3.1M) means TIMSCH: this shows that the message
was issued by the time scheduler of the MASTER computer and the physical computer number 3
is that of the MASTER computer (logical computer number 1).
Date, time, CPU reference and name of process are suppressed for terminal outputs. Only the
actual message text is output here.
If the ERROR DEVICE FLAG has been set in the message definition and if the ‘system message
device’ is not addressable (e.g. printer switched off), the message can be redirected to the
console/dev/console.
The internal system message number 0 has a special function. If unforeseen faults occur in
the system procedure, this message is usually used and string variable ‚%s’ in the message
represents the English error message text. These texts are not therefore available in other
languages because they are ‘hard coded’ in the programs. This solution was adopted to avoid
creating an unnecessary number of messages for every eventuality, of a kind which seldom
occur. In normal cases one would never see this message.
A message in the message table is defined by the following field components:
ServerManual-Vol2_1.0062_rev00 Page 21
Server Manual Vol. 2 - System tables
The time scheduler table offers scope for placing any data in the input queue of any processes
at any intervals of time. This table is read through sequentially every time the TIMSCH process
is active. TIMSCH checks which processes are to be prompted and executes this command. It is
immaterial here whether the process runs on a local computer or on a remote computer in the
FIDS/Linux network.
The smallest time interval in which processes can be prompted is determined by the time
interval of the TIMSCH process itself.
This action is only performed by TIMSCH on the MASTER computer although TIMSCH runs on
every FIDS/Linux computer in the network.
The time scheduler table is of the KEY type. The unique access key is formed by the
component’s PROCESS NUMBER and FUNCTION CODE.
A data record in the time scheduler table contains the following field components
PROCESS NUMBER,INTEGER (I)
Number of process for which data should be placed in the input queue.
The PROCESS NUMBER is part of the access key.
Page 22 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
PARA STRING,(>NNN)
Variable length of data string for the target process. The length is set by the $FORMAT parameter
in the table. It is also possible to integrate control codes or whitespace characters in the data
block using the standard procedure (backslash + octal number).
In order to control network availability of the computers in the FIDS network, keep-alive
telegrams are sent between the differents servers. In the case one server is not responding, It will
be set to status DOWN.
Before the local server sets an unreachable server to status DOWN, it will use the table ‚wdog.tab‘
to check the network.
If all or some of devices configured in the table ‚wdog.tab‘ are reachable using ping, the
unreachable server will be set to status DOWN.
If all devices configured in the table “wdog.tab” are unreachable using ping, the local server
will „show” the message ‚no contact to the network ‘ and wait for re-establishing the
connection to the network.
If one or more devices, which are configured in the table ‚wdog.tab‘, are removed from the
FIDS network or are out of service, the table ‚wdog.tab‘ must be reconfigured with devices
which are connected and UP.
The watchdog table record contains the following field components:
ServerManual-Vol2_1.0062_rev00 Page 23
Server Manual Vol. 2 - System tables
C = ASCII Character
F = Frequency
Special field for the frequency of a scheduled database data record. Permitted entries are the
numbers 1-7 , blanks, zero and ‘-’.
Page 24 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
3,,30,C,A,,%0010,,,ENGL,,,Airport English,1
7,,60,C,A,,%0010,,,UNIC,,,Airport Unicode,,1200
The field size of field ‚UNIC‘ is 60, but it is only possible to enter 30 characters in this field.
ServerManual-Vol2_1.0062_rev00 Page 25
Server Manual Vol. 2 - System tables
PAGE NUMBER: The number of the page, where the line is displayed.
TABLE NUMBER: The number of the table in the page, where the line is displayed.
DSC NUMBER: Number of the description table in the table sys.tab. It is the identification of
the data source.
Page 26 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
3.6.1. Airports
All display in FIDS/Linux receive their data from the actual database. Every data record in the
actual database normally contains a short code as a destination of provenance indicator which
can be used to access the airport lookup table (ap.tab) to obtain supplementary information
about where aircraft are flying to or from. Output handler processes responsible for controlling
the displays on different display peripherals use this lookup table, for example, to translate the
short code of an airport in the actual database date record into the corresponding longhand
form.
The record description table (ap.dsc) belonging to the airport lookup table is entered in the
system table (sys.tab) just like the lookup table itself, and like all other tables in the system.
3.6.2. Remarks
In a similar way to the airport codes in the airport lookup tables, remarks can also be used
in short form in the actual database. For display media, it is usually necessary to use another
display mode because the general public will not be able to understand the short codes. These
data supplements are controlled in a similar manner to the airport lookup table by the remark
lookup table (re.tab). The record description is contained in table re.dsc.
ServerManual-Vol2_1.0062_rev00 Page 27
Server Manual Vol. 2 - System tables
3.6.3. Airlines
Airlines are recorded in the airline lookup table using the IATA and ICAO codes. The concept
for using this lookup table, in a similar way to the other lookup tables, is not hard wired. For
example, the airline lookup table can be used for plausibility checks in the „Carrier“ field
(actual and scheduled databases).
The remark lookup table (al.tab). The record description is contained in table al.dsc.
3.6.4. Natures
Natures (flight types) are entered in the nature lookup table together with their codes, which
theoretically can be assigned freely. Use of this lookup table, just like all other lookup tables, is
not a hard wired concept.
The remark lookup table (na.tab). The record description is contained in table na.dsc.
A typical record description comprises the following field components:
MEANING,CHARACTER (C32)
Designation/explanation of the flight type.
3.6.5. Aircraft
Aircraft (aircraft types) are recorded in the aircraft lookup table with their codes. The concept for
using this lookup table, just like that of other lookup tables is not hard wired. For example, the
aircraft lookup table can be used in system extensions (e.g. gate management system) to access
more detailed information about specific types of aircraft (e.g. not all types of aircraft can be
handled at all gates).
The remark lookup table (ac.tab). The record description is contained in table ac.dsc.
3.7.1. Graphic-Terminal-Table
The GTHDL process is responsible for controlling the monitors with ConVis or GT2 clients in the
FIDS. Controller/specific configuration information are saved by the output handler in the GT4.
TAB table.
Page 28 ServerManual-Vol2_1.0062_rev00
Server Manual Vol. 2 - System tables
There is only one GT table, regardless of whether the GTHDL handler was started in several
process copies or not.
The output handler obtains access to supplementary information by using the process name or
the device name as an access key:
Process name:
GTHDL0,,,,broadcast1
In this case, the process with process name GTHDL0 in the table pn.tab will broadcast the
time using the hostname ‚broadcast1‘. This hostname must be specified in the table /etc/
hosts.
Device name:
All devices are added automatically by the process SYSTRT at system start from the device
table dv.tab. The process uses the DEFAULT entry in GT4.TAB to generate the record for each
device. Other parameters, like default video mode or standby mode are loaded from the
table ‚srv.tab‘, where the changed parameters using DMU are saved.
The FIIB process is responsible for controlling the FIIB controller in the FIDS. Controller/specific
configuration informations are entered in the “fib.tab” table relating to the output handler.
All specific tables needed by the FIIB process are located in the folder “/app/sint2/tab/FIIB”.
‚/app/sint2/tab/FIIB/fiib.tab‘
All FIIB controllers (dv.tab) and displays (dp.tab) should be entered with their system name
in this table, regardless of whether the configuration options are adopted or not. The output
handler can then obtain access to supplementary information by using this name as an access
key. There is only one FIIB table, regardless of whether the FIIB handler was started in several
process copies or not.
One data record in the FIIB Table contains the following field components:
ServerManual-Vol2_1.0062_rev00 Page 29
Server Manual Vol. 2 - System tables
‚/app/sint2/tab/FIIB/mod.tab‘
The sequence list for SF Module Hours, Minutes and Remarks can be entered in this table.
One data record in the Module Table contains the following field components:
REFERENCE KEY,(C1)
The keys ‚H‘ and ‚M‘ are hard coded. The key ‚H‘ is used to access the sequence list for the
Hour module. The key ‚M‘ is used to access the sequence list for the Minute module.
All other keys are configurable and must be specified in the line format to access the correct
sequence list.
SEQUENCE LIST,STRING(>240)
The sequence list contains the ascii values, which must be send to the FFIB to change the flap
position.
Example: Sequence list of the remark module
012345…( Index )
W,“@@ACBFGEDLMONJKIHXY[Z^ _ ]\\TUWVRSQP01326754<=?>:;98()+*./\054$%‘&\042#! \
x60acbfgedlmonjk\x69hxy\x7B\x7A@“
To activate the flap position 2, the ascii code ‚A’ must be sent to the board.
To activate the flap position 3, the ascii code ‚C’ must be sent to the board.
To activate the flap position 4, the ascii code ‚B’ must be sent to the board.
…
Page 30 ServerManual-Vol2_1.0062_rev00
Head office & production:
CoNRAC GmbH Developed / Designed / Made in Germany
Lindenstrasse 8 · D-97990 Weikersheim · Germany
Tel.: +49-7934-101-0 · Fax: +49-7934-101-101
Specification subject to change without prior notice.
info@conrac.de · www.conrac.de
GM ServerManual-Vol2_1.0062_rev00
DAtA MoDUL GRoUP
CoNRAC Asia - Singapore CoNRAC South Africa - CoNRAC Sales office Southern CoNRAC Sales office Northern
E-mail: sales@conrac-asia.com Johannesburg Europe - Rome Europe - Norway
www.conrac-asia.com E-Mail: info@conrac.co.za E-mail: info@conrac.it E-mail: info@conrac.no
Tel.: +65-67 42 79 88 www.conrac.co.za www.conrac.it www.conrac.no
Tel.: +27-83-63 50 369 Tel.: +39-06-45 43 92 02 Tel.: +47-52-77 63 85