top - metrics - download
⟦1608004fc⟧ Wang Wps File
Length: 11814 (0x2e26)
Types: Wang Wps File
Notes: CPS/SDS/027
Names: »1130A «
Derivation
└─⟦fad1c67d1⟧ Bits:30006043 8" Wang WCS floppy, CR 0069A
└─⟦this⟧ »1130A «
WangText
…12……05……12……06……11……86…1
…02…
…02…
…02…
…02…CPS/SDS/027
…02…MSN/810801…02……02…
TEP VDU
USER PACKAGE
…02……02…CAMPS
4.2.5.2 S̲o̲f̲t̲w̲a̲r̲e̲ ̲S̲t̲r̲u̲c̲t̲u̲r̲e̲
The UFCO subpackage consists of one coroutine with
semaphore S2 as the main waiting point.
The input from S2 will be a command which is received
from VCO, VDIA, RETR, the answer queue or the VDU.
Each command will consititute a main function and is
implemented as a procedure (ref. figure 4.2.5.2-1).
Furthermore, some common functions exist which are
called by the main function.
Figure 4.2.5.2-1 UFCO Software Structure
4.2.5.2.1 V̲C̲O̲ ̲C̲o̲m̲m̲a̲n̲d̲
a) Initialization (141)
Performs the initialization of local memory. In
case of recovery, the contents of the answer queue
are sent to the corresponding PREP queue.
b) User On (142)
Reads the validation table corresponding to the
capability of the user.
Displays the corresponding menu.
c) Resume (143)
An init receive function key will be issued.
d) Close Down (144)
Controls all the types of close down (i.e. user
off, blocks terminal and ordered close down).
4.2.5.2.2 F̲u̲n̲c̲t̲i̲o̲n̲ ̲K̲e̲y̲s̲
a) Delete Lines (151)
Sends a delete line command to VDIA
b) Insert Lines (152)
Sends an insert line command to VDIA.
c) Display Error Message (153)
The text associated with an error code is displayed
on the VDU response line.
d) Execute Command (154)
The number of procedure which constitutes the function
of the command is executed.
e) Execute Function Key (155)
The number of procedures which constitute the function
of the function key is executed.
4.2.5.2.3 V̲D̲I̲A̲ ̲C̲o̲m̲m̲a̲n̲d̲s̲
a) VDIA Completion (161)
The numbers of precedences which must be performed
upon reception of a completion code from VDIA are
started.
4.2.5.2.4 R̲E̲T̲R̲ ̲C̲o̲m̲m̲a̲n̲d̲s̲
a) Off-line Notification (171)
A response message is displayed in the response
line. The user menu is displayed.
b) On-line Retrieval (172)
It is checked if the requestor is still signed-on.
The received CIF is either displayed or sent to
the response queue.
c) On-line Append (173)
It is checked if the requestor is still signed-on.
The received CIF is either appended or sent to
the PREP queue.
4.2.5.2.5 A̲n̲s̲w̲e̲r̲ ̲Q̲u̲e̲u̲e̲ ̲M̲o̲n̲i̲t̲o̲r̲i̲n̲g̲
a) Answer Queue Monitoring (181)
The number of procedures to be performed after
reception of a CIF in the answer queue is executed.
b) Receive Acknowledge (182)
Acknowledgements for reception of audit data are
received in the answer queue.
Detected errors will be reported to aVCO.
4.2.5.2.6 C̲o̲m̲m̲o̲n̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲s̲
a) Error Reporting (2.1)
Errors which are due to system faults are reported
to VCO.
b) Display Error Code (2.2)
Errors which are due to user faults will be displayed
in the VDU response line.
c) Start Sequence (2.3)
This is a number of support procedures which will
control the execution of commands received by UFCO.
4.2.5.3 D̲a̲t̲a̲ ̲F̲l̲o̲w̲ ̲a̲n̲d̲ ̲C̲o̲n̲t̲r̲o̲l̲ ̲L̲o̲g̲i̲c̲
The flowgrams in table 4.2.5.3 show the control logic
of UFCO.
The numbers in the parantheses refer to the HIPO diagrams
overleaf.
START UFCO
WAIT S2 - NOT START UP? - E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲I̲N̲G̲ ̲(̲2̲.̲1̲)̲
I̲N̲I̲T̲I̲A̲L̲I̲Z̲A̲T̲I̲O̲N̲ ̲(̲1̲4̲1̲)̲
INIT LOOP
WAIT S2
USER ON? U̲S̲E̲R̲ ̲O̲N̲ ̲(̲1̲4̲2̲)̲ 4.2.5.3-2
END INIT
STOP UFCO
Table 4.2.5.3-1 UFCO Control Logic
EXECUTE USER ON
INIT RECEIVE ANSWER QUEUE
ASSOCIATE S2
INIT RECEIVE FUNCTION KEY
ASSOCIATE S2
USER ON LOOP
WAIT S2
CASE ENTRY OF:
FUNCTION NOT EXISTING - E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲I̲N̲G̲ ̲(̲2̲.̲1̲)̲
VCO COROUTINE - VCO COMMAND 4.2.5.3-3
FUNCTION KEY - FUNCTION KEY 4.2.5.3-4
ANSWER QUEUE - ANSWER QUEUE 4.2.5.3-6
RETR COROUTINE - RETR COMMAND 4.2.5.3-7
VDIA COROUTINE - VDIA COMMAND 4.2.5.3-8
END CASE
END USER ON
Table 4.2.5.3-2 User On Control Logic
VCO COMMAND EXECUTION
CASE COMMAND OF:
STOP USER
CLOSE DOWN
BLOCK TERMINAL C̲L̲O̲S̲E̲ ̲D̲O̲W̲N̲ ̲(̲1̲4̲4̲)̲ EXIT
USER ON
RESUME R̲E̲S̲U̲M̲E̲ ̲(̲1̲4̲3̲)̲
FUNCTION NOT EXISTING E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲I̲N̲G̲ ̲(̲2̲1̲)̲
END CASE
Table 4.2.5.3-3 VCO Command Execution
FUNCTION KEY EXECUTION
RECEIVE FUNCTION KEY
ERROR? E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲I̲N̲G̲ ̲(̲2̲1̲)̲
FUNCTION KEY PENDING? FUNCTION KEY PENDING 4.2.5.3-5
FUNCTION KEY NOT IN MASK 1 D̲I̲S̲P̲L̲A̲Y̲ ̲E̲R̲R̲O̲R̲ ̲C̲O̲D̲E̲ ̲(̲2̲2̲)̲
FUNCTION KEY IN MASK 2 E̲X̲E̲C̲U̲T̲E̲ ̲F̲U̲N̲C̲T̲I̲O̲N̲ ̲K̲E̲Y̲
̲(̲1̲5̲5̲)̲
SET FUNCTION KEY PENDING
GET CURSOR POSITION
MOVE CURSOR TO COMMAND LINE
Table 4.2.5.3-4 Function Key Execution
FUNCTION KEY PENDING
FUNCTION KEY = RESUME? RESET FUNCTION KEY PENDING
RETURN CURSOR
FUNCTION KEY = RETURN? D̲I̲S̲P̲L̲A̲Y̲ ̲E̲R̲R̲O̲R̲ ̲C̲O̲D̲E̲ ̲(̲2̲2̲)̲
RESET FUNCTION KEY PENDING
INPUT COMMAND LINE
CASE COMMAND OF
DELETE LINES D̲E̲L̲E̲T̲E̲ ̲L̲I̲N̲E̲S̲ ̲(̲1̲5̲1̲)̲
INSERT LINES I̲N̲S̲E̲R̲T̲ ̲L̲I̲N̲E̲S̲ ̲(̲1̲5̲2̲)̲
DISPLAY ERROR MESSAGE D̲I̲S̲P̲L̲A̲Y̲ ̲E̲R̲R̲O̲R̲ ̲M̲E̲S̲S̲A̲G̲E̲
̲(̲1̲5̲3̲)̲
RETURN
CURSOR
COMMAND E̲X̲E̲C̲U̲T̲E̲ ̲C̲O̲M̲M̲A̲N̲D̲ ̲(̲1̲5̲4̲)̲
END CASE
Table 4.2.5.3-5 Function Key Pending
EXECUTE ANSWER QUEUE COMMAND
RECEIVE QEL
CASE QEL TYPE OF:
ACKNOWLEDGE R̲E̲C̲E̲I̲V̲E̲ ̲A̲C̲K̲N̲O̲W̲L̲E̲D̲G̲E̲ ̲(̲1̲8̲2̲)̲
COORDINATION NOTIFICATION
STATUS RECEPTION
CIF RECEPTION A̲N̲S̲W̲E̲R̲ ̲Q̲U̲E̲U̲E̲ ̲M̲O̲N̲I̲T̲O̲R̲I̲N̲G̲
̲(̲1̲8̲1̲)̲
FUNCTION NOT EXISTING E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲I̲N̲G̲ ̲(̲2̲1̲)̲
END CASE
Table 4.2.5.3-6 Answer Queue Control Logic
EXECUTE RETR COMMAND
ANALYSE BUFFER
CASE TYPE OF BUFFER
ON-LINE NOTIFICATION D̲I̲S̲P̲L̲A̲Y̲ ̲E̲R̲R̲O̲R̲ ̲C̲O̲D̲E̲ ̲(̲2̲2̲)̲
OFF-LINE NOTIFICATION O̲F̲F̲-̲L̲I̲N̲E̲ ̲N̲O̲T̲I̲F̲I̲C̲A̲T̲I̲O̲N̲
̲(̲1̲7̲1̲)̲
ON-LINE RETRIEVAL O̲N̲-̲L̲I̲N̲E̲ ̲R̲E̲T̲R̲I̲E̲V̲A̲L̲ ̲(̲1̲7̲2̲)̲
ON-LINE APPEND O̲N̲-̲L̲I̲N̲E̲ ̲A̲P̲P̲E̲N̲D̲ ̲(̲1̲7̲3̲)̲
FUNCTION NOT EXISTING E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲I̲N̲G̲ ̲(̲2̲1̲)̲
END CASE
Table 4.2.5.3-7 Execute RETR Command
EXECUTE VDIA COMMAND
ANALYSE BUFFER
CASE COMPLETION CODE OF:
ILLEGAL CODE E̲R̲R̲O̲R̲ ̲R̲E̲P̲O̲R̲T̲I̲N̲G̲ ̲(̲2̲1̲)̲
FORMAT OUTPUT
DATA OUTPUT
MESSAGE INPUT
REQUEST INPUT
I/O STOPPED V̲D̲I̲A̲ ̲C̲O̲M̲P̲L̲E̲T̲I̲O̲N̲ ̲(̲1̲6̲1̲)̲
VDIA INITIATED I̲N̲I̲T̲I̲A̲L̲I̲Z̲A̲T̲I̲O̲N̲ ̲(̲1̲4̲1̲)̲
END CASE
Table 4.2.5.3-8 Execute VDIA Command
HIPO Diagrams (40 pages)
4.2.5.4 S̲u̲b̲p̲a̲c̲k̲a̲g̲e̲ ̲D̲a̲t̲a̲
An overview of the data area used by UFCO is shown
in figure 4.2.5.4-1.
On fig. 4.2.5.4-2 the command validation table is shown.
On fig. 4.2.5.4-3 the sequence table is shown. There
will exist one table for each format.
The buffer area is used as internal working area.
Figure 4.2.5.4-1 UFCO Data Overview
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
CMD PARAMETER SEQUENCE KEY
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲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 ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
S. Answer queue identification
SCD: The originator SCD
CODE: Message state
CMD: CTMP
DIRS
DIDS
DIOM
APPEND.
d2) Response Queue Interface
The contents of the queue element information field
are:
1̲5̲ ̲ ̲1̲2̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲8̲ ̲7̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲0̲
S CMD
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
REFERENCE
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
TIME STAMP
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
S: Response queue identification
CMD: Delete notification
REFERENCE: Item reference identity of the
deleted message
TIME STAMP: Time of deletion.
4.3 M̲E̲M̲O̲R̲Y̲ ̲L̲A̲Y̲O̲U̲T̲
As a basis for calculations the following figures are
used:
- 31 modules of 150 source statements
- 1 source statement equals 2 bytes
- 2k bytes data buffer per VDU controlled
- 32 VDUs max.
This gives:
Aprox. 5000 source statements = 10 kb
32 x 2 kb = ̲6̲4̲ ̲k̲b̲
Approx 75 kb
=======