top - download
⟦5f444fb9d⟧ Wang Wps File
Length: 47125 (0xb815)
Types: Wang Wps File
Notes: MES SUBSYSTEM PSP
Names: »3317A «
Derivation
└─⟦714fc5a2b⟧ Bits:30006132 8" Wang WCS floppy, CR 0290A
└─ ⟦this⟧ »3317A «
WangText
…00……00……00……00…:…02……00……00…:
:…05…:…07…9…0b…9…0f…9
9…07…8…0a…8…0e…8…00…8 8…06…7…0a…7…0e…7…02…7…06…7…07…6…0b…6…00…6…01…6…05…5…08…5…0b…5…0e…5…02…5…06…5…07…4…0a…4…0b……86…1 …02…
…02…
…02…FIX/1164/PSP/0060
…02…JJJ/890612…02… #
MES Subsystem PSP
…02…MLA/830125…02… FIKS
3.1.10.34 MES ̲CHECKP Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲C̲a̲p̲a̲b̲i̲l̲i̲t̲i̲e̲s̲
The procedure supports checkpointing in the MES Subsystem. Following events will be supported.
. MTCB checkpointing
. PDB file table checkpointing
. Queue element checkpointing with bitmap update
. Queue element chekcpointing without bitmap update
3.1.10.35 CHECK ̲CC Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲C̲a̲p̲a̲b̲i̲l̲i̲t̲i̲e̲s̲
The procedure examines a given error code to find out whether or not the error code is caused
by deficiency of sectors on disk.
3.1. I̲n̲t̲e̲r̲f̲a̲c̲e̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
3.2.1.1 P̲r̲e̲p̲a̲r̲e̲ ̲M̲o̲d̲u̲l̲e̲
3.2.1.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PREPARE module is invoked by the modules:
TEP ̲MAIN Ref PSP/0099
READDRESS Ref 3.1.7.1
Input to PREPARE
. COMMAND ̲NO (register)
. MODULE ̲NO (register)
. SUBMODULE ̲NO (register)
To indicate kind of preparation (PRS, PES, PRL, PEL)
or kind of READDRESS
. PROCESS ̲NO (variable)
Terminal number
. TCB ̲SAVE (array)
Terminal status
. PDBTAB (critical region)
PDB file table
Output from PREPARE
. Completion code (register)
. PDBTAB (critical region)
Updated PDB file table
. A complete PDB msg if successful preparation.
If READDRESS is the caller, the following information is returned in addition
. CHAR ̲COUNT (variable)
size of message excl. address list
. binary header (buffer)
. ESC ̲FLAG (variable)
is set if CANCEL request during PREPARE
The PREPARE procedure interfaces to the following procedures:
CR ̲NEW ̲MESSAGE ref 3.1.10.4
Create an alist MTCB, msg MTCB, msg file, and assign a msg id to the msg.
GET ̲STATE ̲EVNT ref 3.1.1.2
Gets prompt-sequence number and checks if allowed for current procedure.
HEADER ̲INPUT ref 3.1.1.4
Supports with different prompts and checks the answers
PDB ̲MTCB ̲UPDAT ref 3.1.10.22
Updates the binary header and MTCB
STORE ̲ALIST ref 3.1.10.21
Store the address list in MTCB or on file
ITRANSFER ref PSP/0099
Supports with writing to and/or reading from terminal
KBD ̲DATA ref 3.1.10.1
For prompting and reading response
LOAD ̲TXT ̲MASK ref 3.1.1.3
Reading a text mask from file to buffer
IRECREATE ref PSP/0099
Switch data channel from VDU to paper tape reader and back again
ICONTROL ref PSP/0099
Supports with screen control - clear screen, set line mode, set page mode, set protection,
clear protection
READ ̲INPUT ref. 3.1.1.5
Transfer text input from terminal to file
TP ̲MASK ̲IO ref. 3.1.1.6
Transfer text mask from buffer to terminal and read rsponse. The mask plus answer are written
to file
PRMT ̲DTG ref. 3.1.10.15
Prompts for dtg and delivers proper response
PRMT ̲INT ̲DIST ref. 3.1.10.11
Prompts for internal distribution and delivers proper response
COMPLETE ̲PDB ref. 3.1.10.18
Appends the address list to the msg file
Updates binary header MTCB and PDB file table
PURGE ̲BUFFER ref. 3.1.10.32
Writes nulls into IO-buffers if an SH-msg was processed
MES ̲CHECKP ref. 3.1.10.32
Ensures checkpointing of MTCB's and PDB file table
UPDAT ̲FILE ̲TAB ref. 3.1.10.17
Updates PDB file table with MTCB index, msg no and pool size
MES ̲ERROR ref. 3.1.10.2
Sends error notification to the operator
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Reestablish condition as before the procedure was started. Used in case of error or if the
operator cancels the current action.
CHECK ̲CC ref. 3.1.10.35
Checks for serious error after unsuccessful file access
The syntax and semantic interface to the operator during message preparation is described
in the following procedures:
KDB ̲DATA (3.1.10.1)
PRMT ̲-procedures (3.1.10.5 to
3.1.10.15)
CH ̲MSG ̲ID (3.1.10.23)
RETR ̲FM ̲HDB (3.1.10.29)
3.2.1.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PREPARE procedure interfaces to the following monitor procedures:
MON REGION RCOPYN
To get header of PDB file table
MON IO APPENDBYTES
To append msg header, or part of it, on file and to append last part of msg on file
MON IO MODIFYBYTES
Write binary header on file
MON IO UPDATE
To ensure the system knows the files
MON MTCB RESERVE
Increment MTCB usecount
MON MTCB RELEASEFILE
Decrement file usecount
MON MTCB RELEAS
Decrement MTCB usecount
MON ERROR
To terminate the process in case of serious error
3.2.1.2 GET ̲STATE ̲EVNT Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.1.2.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲STATE ̲EVNT Procedure is invoked by the procedure:
PREPARE ref. 3.1.1.1
Input to GET ̲STATE ̲EVNT is:
. COMMAND ̲NO (register)
. MODULE ̲NO (register)
. FIRST ̲STATE ̲FLAG (variable)
indicate if state event table is in core
. PROMPT ̲LEVEL (variable)
current prompt no
Output from GET ̲STATE ̲EVNT
. Return Code (register)
The code indicates status for the found sequence no
. SEQUENCE ̲NO (variable)
sequence number for prompt
. NEXT ̲PROMPT ̲LEVEL (variable)
next prompt no
. Completion code (register)
. State event table loaded into core
In case of error exit (link):
. ERROR ̲LABEL (variable)
Code indicating error location
. ERROR ̲CO (variable)
Error code
3.2.1.2.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲STATE ̲EVNT Procesure interfaces to the following monitor procedure:
MON REGION RCOPYN
To get STEVTB (state event table) from critical region
3.2.1.3 LOAD ̲TXT ̲MASK Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.1.3.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The LOAD ̲TXT ̲MASK Procedure is invoked by the procedure:
PREPARE ref. 3.1.1.1
Input to LOAD ̲TXT ̲MASK is:
. TEXT ̲MASK ̲NO (variable)
no of requested text mask
. FD ̲DIRECTORY ̲MOV (variable)
file descriptor for movhead
Output from LOAD ̲TXT ̲MASK
. Textmask placed in buffer
. TEXT ̲MASK ̲TYPE (variable)
kind of mask - field formattaed or line formattaed
. TEXT ̲MACK ̲LENGTH (variable)
actual length of found textmask
. Completion code
In case of error exit (link):
. ERROR ̲LABEL (variable)
code indicating error location
. ERROR ̲CO (variable)
error code
. ERROR ̲GROUP (variable)
error group for error notification to operator
. ERROR ̲NO
error number for error notification to operator
3.2.1.3.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The LOAD ̲TXT ̲MASK Procedure interfaces to the following monitor procedures:
MON IO LOOKUP
Lookup textmask file
MON IO READBYTES
read textmask header and total mask
MON IO DISMANTLE
close textmask file
3.2.1.4 HEADER ̲INPUT Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.1.4.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The HEADER ̲INPUT Procedure is invoked by:
PREPARE ref. 3.1.1.1
Input to HEADER ̲INPUT is:
. The message during preparation
. Message size (variable)
. Prompt level (variable)
. Process no (variable)
. Command no (variable)
. Sequence no (variable)
Output from HEADER ̲INPUT is:
. Message updated according to operator's input
. Completion code (register)
. Prompt level adjusted (variable)
The HEADER ̲INPUT Procedure interfaces to the following procedures:
GET ̲BUFF ̲SPACE ref. 3.1.10.19
Stores part of a list on file if necessary
PRMT ̲MASK ̲ID ref. 3.1.10.5
Prompts for FORMATTED ̲MSG and returns operator response
PRMT ̲ZPW ̲DTG ref. 3.1.10.36
Prompts for ZPW DTG and updates message according to operator response.
PRMT ̲PREC ̲CODE ref. 3.1.10.6
Prompts for precedance and updates message according to operator response
PRMT ̲FM ̲ADR ref. 3.1.10.7
Prompts for FM-address and updates message according to operator response
PRMT ̲XMT ̲ADR ref. 3.1.10.9
Prompts for XMT-ADDRESS and updates message according to operator response
PRMT ̲INFO ̲ADR ref. 3.1.10.10
Prompts for INFO-address and updates message according to operator response
PRMT ̲CLASS ref. 3.1.10.12
Prompts for CLASS and updates message according to operator response
PRMT ̲SPECAT ref. 3.1.10.13
Prompts for SPECAT and updates message according to operator response
PRMT ̲SIC ref. 3.1.10.14
Prompts for SIC and updates message according to operator response.
3.2.1.4.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.1.5 READ ̲INPUT Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.1.5.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The READ ̲INPUT Procedure is invoked by the procedures:
PREPARE ref. 3.1.1.1
READDRESS ref. 3.1.7.1
Input to READ ̲INPUT is:
. COMMAND ̲NO (variable)
to indicate kind of preparation
. SUBMODULE ̲NO (variable)
to indicate kind of preparation
. CHAR ̲COUNT (variable)
size of message excl. Alist
. PTR ̲USED ̲FLAG (variable)
flag for PTR in use
. TCB ̲SAVE (array)
status of terminal - VDU, PTR, TP
. FD ̲MSG (variable)
file description for message file
. PDB ̲TABLE ̲HEAD (array)
PDB pool-header
Output from READ ̲INPUT is:
. CHAR ̲COUNT (variable)
Updated size of message excl. alist
. PTR ̲USED ̲FLAG (variable)
flag for PTR in use
. Completion code (register)
In case of error exit (link)
. COMMAND ̲NO (variable)
. SUBMODULE ̲NO (variable)
The numbers are updated to ensure no
INT DIST prompt in case of resource error
. ERROR ̲LABEL (variable)
Code indicating error location
. ERROR ̲CO (variable)
Error code
. ERROR ̲GROUP (variable)
Error group for error notification to operator
. ERROR ̲NO (variable)
Error number for error notification to operator
Only the necessary variables for theactual error situation are updated
The READ ̲INPUT Procedure interfaces to the following procedures:
ITRANSFER ref. PSP/0099
To initiate and complete read request to terminal
ICONTROL ref. PSP/0099
To clear screen, set in line mode or set in page mode
MES ̲ERROR ref. 3.1.10.2
is use to issue an error code to operator
CHECK ̲CC ref. 3.1.10.35
Checks for serious error after unsuccessful fileaccess
3.2.1.5.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The READ ̲INPUT Procedure interfaces to the following monitor procedure:
MON IO APPENDBYTES
To append text to PDB-file
3.2.1.6 TP ̲MASK ̲IO Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.1.6.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The TP ̲MASK ̲IO Procedure is invoked by the procedure:
PREPARE ref. 3.1.1.1
Input to TP ̲MASK ̲IO is:
. COMMAND ̲NO (variable)
. SUBMODULE ̲NO (variable)
to indicate kind of preparation
. FD ̲MSG (variable)
file descriptor for message
. CHAR ̲COUNT (variable)
charactor count for message excl. address list
. ALIST ̲COUNT (variable)
bytecount for address list
. TEXT ̲MASK ̲TYPE (variable)
type of mask - field or line
. TEXT ̲MASK ̲LENGTH (variable)
length of mask
. PDB ̲TABLE ̲HEAD (array)
header of PDB-table
. text mask placed in buffer
Output from TP ̲MASK ̲IO is:
. CHAR ̲COUNT (variable)
updated size of message excl. alist
. Completion code (register)
In case of error exit (link)
. COMMAND ̲NO (variable)
. SUBMODULE ̲NO (variable)
The numbers are updated to ensure no
INT DIST Prompt in case of resource error
. ERROR ̲LABEL (variable)
code indicating error location
. ERROR ̲CO (variable)
error code
. ERROR ̲GROUP (variable)
error group for error notification to operator
. ERROR ̲NO (variable)
error number for err notification to operator
. SEQUENCE ̲NO
. SUBSEQUENCE ̲NO
parameters used in CANCEL ̲FIX ̲UP (ref. 3.1.10.3)
Only the necessary variables for the actual error situation are updated
The TP ̲MASK ̲IO Procedure interfaces to the following procedures:
GET ̲BUFF ̲SPACE ref. 3.1.10.9
To check for bufferspace and write to file if exhausted
ITRANSFER ref. PSP/0099
To write the mask prompt and read the response
MES ̲ERROR ref. 3.1.10.2
Sends error notification to the operator
CHECK ̲CC ref. 3.1.10.35
Checks for serious error after unsuccessful fileaccess
3.2.1.6.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The TP ̲MASK ̲IO Procedure Interfaces to the following monitor procedure:
MON IO APPENDBYTES
to append text to PDB-file
3.2.2.1 E̲D̲I̲T̲ ̲M̲o̲d̲u̲l̲e̲
3.2.2.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The EDIT Procedure is invokee by:
TEP ̲MAIN ref. PSP/0099
Input to EDIT is:
. Command No (register)
. Module no (register)
. Submodule no (register)
. PROCESS ̲NO (variable)
. TCB ̲SAVE (variable)
. PCBTAB (critical region)
. A complete message on a PCB file.
Output from EDIT is:
. Completion code (register)
. PDBTAB updated (critical region)
. A new message on a PDB file
The EDIT Procedure interfaces to the following procedures:
CH ̲MSG ̲ID ref. 3.1.10.23
Outputs the prompt for MSG ̲ID, reads the response and located the requested message in PDBTAB
GET ̲NEXT ̲LINE ref. 3.1.2.9
Reads the first part of message into an IO-buffer
DISP ̲CUR ̲LINE ref. 3.1.2.11
Displays a single line on the terminal
GET ̲EDIT ̲CMD ref. 3.1.2.2
Performing the edit.
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Reestablish conditions as before the EDIT Procedure was started. Used in case of error or
if the operator cancels the operation.
MES ̲ERROR ref. 3.1.10.2
Sends error notification to the operator
CHECK ̲CC ref. 3.1.10.35
Checks for serious error after unsuccessful fileaccess
3.2.2.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The EDIT Procedure interfaces to the following monitor procedures:
MON MTCB CREAT
Creates MTCB's for the new message and the new alist.
MON MTCB CREATEFILE
Creates a PDB file for the new message
MON MTCB GETFILE
Getting the file descriptor for the old message
MON IO READBYTES
Loading the binary header of the old message into the IO-buffer.
MON IO APPENDBYTES
Updates the new message with a dummy binary header
3.2.2.2 GET ̲EDIT ̲CMD Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.2.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲EDIT ̲CMD is invoked by:
EDIT ref. 3.1.2.1
Input to GET ̲EDIT ̲CMD is:
. The original message stored on a PDB-file
. Part of the new message and it's alist
. message size (variable)
. Edit levels (variable)
. TCB ̲SAVE (variable)
. PDBTAB (critical region)
. Process no (variable)
. Command no (variable)
. Module no (variable)
. Submodule no (variable)
Output from GET ̲EDIT ̲CMD is:
. Completion code (register)
. PDBTAB updated (critical region)
. A new message on a PDB-file
The GET ̲EDIT ̲CMD Procedure interfaces to the following procedures:
KDB ̲DATA ref. 3.1.10.1
Outputs the prompt for editcmd ( ̲ ) and reads the response
ACCEPT ̲LINES ref. 3.1.2.4
Transfers a number of lines from the old message to the new message
DELETE ̲LINES ref. 3.1.2.6.
Deletes a number of lines in the old message
INSERT ̲LINES ref. 3.1.2.5
Transfers current line from the old message to the new message and appends a number of lines
to the new message
REPLACE ̲LINE ref. 3.1.2.3
Deletes current line from the old message and appends a new line of the new message
TERMINATE ̲EDIT ref. 3.1.2.10
Transfers rest of the old message to the new message and completes the editory
DISP ̲CUR ̲LINE ref. 3.1.2.11
Displays current line at the terminal
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
3.2.2.2.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
None
3.2.2.3 REPLACE ̲LINE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.3.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The REPLACE ̲LINE Procedure is invoked by:
GET ̲EDIT ̲CMD ref. 3.1.2.2
Input to REPLACE ̲LINE is:
. The original message stored on a PDB-file
. Part of the new message and it's alist
. Message size (variable)
. Edit levels (variable)
. TCB ̲SAVE (variable)
. Command no (variable)
. Module no (variable)
. Submodule no (variable)
Output from REPLACE ̲LINE is:
. Completion code (register)
. the new message is updated
. Edit levels (variable)
. Message size (variable)
The REPLACE ̲LINE Procedure interfaces to the following procedures:
ACC ̲NEW ̲LINE ref. 3.1.2.7
Outputs the prompt on the actual level and updates the new message
GET ̲NEXT ̲LINE ref. 3.1.2.9
Gets the next line of the old message
DISP ̲CUR ̲LINE ref. 3.1.2.11
Displays the current line at the terminal.
3.2.2.3.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.2.4 ACCEPT ̲LINES Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.4.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ACCEPT ̲LINES Procedure is invoked by:
GET ̲EDIT ̲CMD ref. 3.1.2.2
Input to ACCEPT ̲LINES is:
. The original message stored on a PDB-file
. Part of the new message and it's alist
. Message size (variable)
. Edit levels (variable)
Output from ACCEPT ̲LINES is:
. Completion code (register)
. The new message is updated
. Edit levels (variable)
. Message size (variable)
The ACCEPT ̲LINES procedure interfaces to the following procedures:
ACC ̲CUR ̲LINE ref. 3.1.2.8
Moves current line from the old message to the new message
GET ̲NEXT ̲LINE ref. 3.1.2.9
Gets the next line of the old message
DISP ̲CUR ̲LINE ref. 3.1.2.11
Displays the current line at the terminal
3.2.2.4.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
None
3.2.2.5 INSERT ̲LINES Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.5.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
The INSERT ̲LINES Procedure is invoked by:
GET ̲EDIT ̲CMD ref. 3.1.2.2
Input to INSERT ̲LINES is:
. the original message stored on a PDB-file
. part of the new message and it's alist
. message size (variable)
. edit levels (variable)
. TCB ̲SAVE (variable)
. Command no (variable)
. Module no (variable)
. Submodule no (variable)
Output from INSERT ̲LINES is:
. Completion code (register)
. the new message updated
. edit levels (variable)
. message size (variable)
The INSERT ̲LINES Procedure interfaces to the following procedures:
ACC ̲NEW ̲LINE ref. 3.1.2.7
Outputs the prompt on the actual level and updates the new message
GET ̲NEXT ̲LINE ref. 3.1.2.9
Gets the next line of the old message
DISP ̲CUR ̲LINE ref. 3.1.2.11
Displays the current line at the terminal
3.2.2.5.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
None
3.2.2.6 DELETE ̲LINES Procedures
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.6.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DELETE ̲LINES Procedure is invoked by:
GET ̲EDIT ̲CMD ref. 3.1.2.2
Input to DELETE ̲LINES is:
. The original message stored on a PDB-file
. edit levels
Output from DELETE ̲LINES is:
. Completion code
The DELETE ̲LINES Procedure interfaces to the following procedures:
DEL ̲CUR ̲LINE ref. 3.1.2.12
Checks if it legal to delete current line
GET ̲NEXT ̲LINE ref. 3.1.2.9
Gets the next line of the old message
DISP ̲CUR ̲LINE ref. 3.1.2.11
Displays the current line at the terminal
3.2.2.6.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
None
3.2.2.7 ACC ̲NEW ̲LINE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.7.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ACC ̲NEW ̲LINE Procedure is invoked by:
REPLACE ̲LINE ref. 3.1.2.3
INSERT ̲LINES ref. 3.1.2.5
Input to ACC ̲NEW ̲LINE is:
. Part of the new message and it's alist
. Message size (variable)
. Edit levels (variable)
. TCB ̲SAVE (variable)
. Command no (variable)
Output from ACC ̲NEW ̲LINE is:
. Completion code (register)
. The new message is updated
. Message size (variable)
The ACC ̲NEW ̲LINE Procedure interfaces to the following procedures:
PRMT ̲PREC ̲CODE ref. 3.1.10.6
Prompts for PREC ̲ACT and PREC ̲INFO
PRMT ̲DTG ref. 3.1.10.15
Prompts for DTG
PDB ̲MTCB ̲UPDAT ref. 3.1.10.22
Updates the binary header and the MTCB
PRMT ̲FM ̲ADR ref. 3.1.10.7
Prompts for the FM-addrees
PRMT ̲TO ̲ADR ref. 3.1.10.8
Prompts for the TO-address
PRMT ̲XMT ̲ADR ref. 3.1.10.9
Prompts for the XMT-addres
PRMT ̲INFO ̲ADR ref. 3.1.10.10
Prompts for the INFO-address
PRMT ̲CLASS ref. 3.1.10.12
Prompts for CLASS
PRMT ̲SPECAT ref. 3.1.10.23
Prompts for SPECAT
PRMT ̲SIC ref. 3.1.10.14
Prompts for SIC
ITRANSFER ref. PSP/0099
Reads a text line from the terminal
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
PRMT ̲INT ̲DIST ref. 3.1.10.11
Prompts for INT ̲DIST
BUILD ̲LINE ref. 3.1.2.13
Strips off or inserts keywords
GET ̲BUFF ̲SPACE ref. 3.1.10.19
Writes the entered line to file
GET ̲ALST ̲SPACE ref. 3.1.10.20
Stores the alist element in case of address-editing
DEL ̲CUR ̲LINE ref. 3.1.2.12
Deletes current line if it is legal3.2.2.7.2
3.2.2.7.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
MON MTCB WRITE
Updates the MTCB
3.2.2.8 ACC ̲CUR ̲LINE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.8.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ACC ̲CUR ̲LINE Procedure is invoked by:
ACCEPT ̲LINES ref. 3.1.2.4
INSERT ̲LINES ref. 3.1.2.5
Input to ACC ̲CUR ̲LINE is:
. The original message stores on a PDB-file
. Part of the new message and it is a list
. Edit levels (variables)
. Message size (variables)
Output from ACC ̲NEW ̲LINE is:
. Completion code (register)
. New message is updated
. Message size (variable)
. Edit levels (variable)
The ACC ̲CUR ̲LINE Procedure interfaces to the following procedures:
BUILD ̲LINE ref. 3.1.2.13
Strips off or inserts keywords on line
GET ̲BUFF ̲SPACE ref. 3.1.10.19
Updates the new message with current line
GET ̲ALIST ̲SPACE ref. 3.1.10.20
Stores alist element in an MTCB or on a PDB file
STORE ̲ALIST ref. 3.1.10.21
Stores whole alist on a PDB-file
3.2.2.8.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ACC ̲CUR ̲LINE Proceudre interfaces to the following monitor procedures:
MON MTCB READ
Reads the old MTCB
MON MTCB WRITE
Updates the new MTCB
3.2.2.9 GET ̲NEXT ̲LINE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.9.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲NEXT ̲LINE Procedure is invoked by:
EDIT ref. 3.1.2.1
REPLACE ̲LINE ref. 3.1.2.3
ACCEPT ̲LINES ref. 3.1.2.4
INSERT ̲LINES ref. 3.1.2.5
DELETE ̲LINES ref. 3.1.2.6
Input to GET ̲NEXT ̲LINE is:
. The original message stroes ona PDB-file
. edit levels (variables)
. message size (variables)
Output from GT ̲NEXT ̲LINE is:
. Completion code
. Next line found
. Message size
. Edit levels
3.2.2.9.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲NEXT ̲LINE Procedure interfaces to the following monitor procedure:
MON IO READBYTES
Reads the next part of the old message or the alist
3.2.2.10 TERMINATE ̲EDIT Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.10.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The TERMINAT ̲EDIT Procedure is invoked by:
GET ̲EDIT ̲CMD ref: 3.1.2.2
Input to TERMINATE ̲EDIT is:
. The original message stored on a PDB-file
. The new message stored on a PDB-file
. Edit levels (variables)
. Message Size (variables)
. PDB file table (critical region)
Output from TERMINATE ̲EDIT is:
. The new message finished
. PDB file table updated (critical region)
. Old message deleted
The TERMINATE ̲EDIT Procedure interfaces to the following procedures:
ACCEPT ̲LINES ref. 3.1.2.4
Moves the rest of the old message to the new message
GET ̲BUFF ̲SPACE ref. 3.1.10.19
Appends a blank line to the new message
COMPLETE ̲PDB ref. 3.1.10.18
Completes the new message and updates the PDB-file table.
MES ̲CHECKP ref. 3.1.10.34
Checkpoints the new message, the PDB-file table and the enqueueing to purge process.
3.2.2.10.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The TERMINATE ̲EDIT Procedure interfaces to the followig monitor procedures:
MON IO UPDATE
Updates system volume
MON MTCB RELEASEFILE
Deletes the old message file and closes the new message file
MON MTCB RELEAS
Deletes the old MTCB and decrements user count at the new MTCB.
MON MTCB RESERVE
Increments the user count of the new MTCB
MON QACCESS INS
Enqueues the message to the purge process
3.2.2.11 DISP ̲CUR ̲LINE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.11.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲CUR ̲LINE Procedure invoked by:
EDIT ref. 3.1.2.1
GET ̲EDIT ̲CMD ref. 3.1.2.2
REPLACE ̲LINE ref. 3.1.2.3
ACCEPT ̲LINES ref. 3.1.2.4
INSERT ̲LINES ref. 3.1.2.5
DELETE ̲LINES ref. 3.1.2.6
Input to DISP ̲CUR ̲LINE is:
. Line to be displayed
Output from DISP ̲CUR ̲LINE is:
. Completion code
The DISP ̲CUR ̲LINE Procedure interfaces to:
ITRANSFER ref. PSP/0099
Outputs Line to terminal
3.2.2.11.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.2.12 DEL ̲CUR ̲LINE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.12.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DEL ̲CUR ̲LINE Procedure is invoked by:
DELETE ̲LINES ref. 3.1.2.6
ACC ̲NEW ̲LINE ref. 3.1.2.7
The input to DEL ̲CUR ̲LINE is:
. Edit levels (variables)
Output from the DEL ̲CUR ̲LINE is:
. Completion code (register)
3.2.2.12.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.2.13 BUILD ̲LINE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.2.13.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The BUILD ̲LINE Procedure is invoked by:
ACC ̲NEW ̲LINE ref. 3.1.2.7
ACC ̲CUR ̲LINE ref. 3.1.2.8
Input to BUILD ̲LINE Procedure is:
. Line to Build on
. Edit levels
Output from BUILD ̲LINE Procedure is:
. Line Build
. Completion code
3.2.2.13.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
None
3.2.3.1 C̲O̲O̲R̲D̲I̲N̲A̲T̲E̲ ̲M̲o̲d̲u̲l̲e̲
3.2.3.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The COORDINATE Main Procedure is invoked by:
TEP ̲MAIN ref. PSP/0099
Input to COORDINATE is:
. Command no (register)
. Module no (register)
. Submodule no (register)
. TCB ̲SAVE (variables)
. PDBTAB (critical region)
Output from COORDINATE is:
. Completion code
The COORDINATE Procedure interfaces to the following procedures;
ORIGINATOR ̲TERM ref. 3.4.3.2
Sends a message to coordination at another terminal.
COORDINATOR ̲TERM ref. 3.1.3.3
Coordinates a message
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Peforms the fixup in case of an error or cancellation
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator.
3.2.3.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The COORDINATE Procedure interfaces to the following monitor procedure:
MON ERROR
Terminates the process in case of a serious error
3.2.3.2 ORIGINATOR ̲TERM Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.3.2.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ORIGINATOR ̲TERM Procedure is invoked by:
COORDINATE Main ref. 3.1.3.1
Input to ORIGINATOR ̲TERM is:
. TCB ̲SAVE (variable)
. PCBTAB (critical region)
Output from ORIGINATOR ̲TERM is:
. Completion code
. Message sent for coordination
The ORIGINATOR ̲TERM Proocedure interfaces to the following procedures:
CH ̲MSG ̲ID ref. 3.1.10.23
Outputs prompt for MSG ̲ID and finds the message in the PDB-file table
KBD ̲DATA ref. 3.1.10.1
Outputs prompts and reads the responses
UPDATA ̲PDB ̲LMH ref. 3.1.10.27
Updates PDB-file table with last message handled
3.2.3.2.2 E̲x̲t̲e̲r̲n̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ORIGINATOR ̲TERM Procedure interfaces to the following monitor procedures:
MON INTASC
Converts message no from an integer to an ASCII String.
MON MTCB CREAT
Creates an MTCB for remarks
MON MTCB CREATEFILE
Creates a file for remarks
MON IO APPENDBYTES
Updates for file with remarks
MON MTCB WRITE
Updates a MTCB
MON RDF GANOTRM
Converts logical term no to actual term no
MON QACCESS INS
Enqueues message to coordination
MON MTCB RELEASEFILE
Releases remarks file
MON MTCB RELEAS
Releases remarks MTCB
3.2.3.3 COORDINATOR ̲TERM Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.3.3.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The COORDINATOR ̲TERM Procedure is invoked by:
COORDINATE Main ref. 3.1.3.1
Input to COORDINATOR ̲TERM Procedure is:
. TCB ̲SAVE (variables)
. Message sent for coordination
. remarks from originator
Output from COORDINATE ̲TERM Procedure is:
. Message returned to originator
. Remarks to originator
. Completion code
The COORDINATOR ̲TERM Procedure interfaces to the following procedures:
CH ̲MSG ̲CLASS ref. 3.1.10.24
Checks the access rights to the message
ITRANSFER ref. PSP/0099
Outputs msg id + text to terminal
LOAD ̲MSG ̲BUFF ref. 3.1.10.26
Reads remarks into buffer
KBD ̲DATA ref. 3.1.10.1
Outputs prompts and reads responses
3.2.3.3.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The COORDINATOR ̲TERM Procedure interfaces to the following monitor procedures:
MON QACCESS READ ̲MON
Reads an element in the CO ̲queue
MON QACCESS INS
Inserts the message in a printqueue and the remarks to the originator
MON QACCESS DEL
Deletes an entry in the Co-queue
MON QACCESS REL ̲ACT ̲FLAG
Releases the active flag in the Co-queue
MON QACCESS REORG
Reorgnizes the Co-queue
MON MTCB READ
Reads an MTCB
MON MTCB WRITE
Updates an MTCB
MON MTCB CREAT
Creates an MTCB for remarks
MON MTCB CREATEFILE
Creates a file for remarks
MON MTCB RELEASEFILE
Closes the remarks file
MON MTCB RELEAS
Releases the remarks MTCB
MON SENDMESSAGE
Sends a print request to the printer process
MON WAITEVENT
Waits for printout to complete
MON RDF GANOTRM
Converts logical term no to actual term no
3.2.4.1 D̲I̲S̲P̲L̲A̲Y̲ ̲M̲o̲d̲u̲l̲e̲
3.2.4.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISPLAY Module is invoked by the module:
TEP ̲MAIN ref. PSP/0099
Input to DISPLAY
. COMMAND ̲NO (register)
. MODULE ̲NO (register)
. SUBMODULE ̲NO (register)
To indicate kind of display procedure
Output from DISPLAY
. Completion code (register)
The DISPLAY Procedure interfaces to the following procedures:
QUEUE ̲INDEX ref. 3.1.4.2
For display of dtg elements in queue
PDB ̲MSG ̲STATUS ref. 3.1.4.3
For display of PDB table status
SH ̲DELIVERY ref. 3.1.4.4
For SH-msg printout
DISP ̲HDB ̲MSG ref. 3.1.4.5
For display of msg from RT-queue
LIST ̲PDB ̲MSG ref. 3.1.4.6
For print of msg in PDB pool
PRINT ̲ON ̲TP ref. 3.1.4.7
For print of msg from precedence queues
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Reestablish condition as before the procedure was started. Used in case of error or if the
operator cancels the current action
MES ̲ERROR ref. 3.1.10.2
Sends error notification to the operator
3.2.4.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISPLAY Procedure interfaces to the following monitor procedure:
MON ERROR
To terminate the process in case of serious error.
3.2.4.2 QUEUE ̲INDEX Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.2.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The QUEUE ̲INDEX Procedure is invoked by the module:
DISPLAY ref. 3.1.4.1
Input to QUEUE ̲INDEX
. COMMAND ̲NO (variables)
. TCB ̲SAVE (variables)
Kind of terminal VDU or TP
Output from QUEUE ̲INDEX
. Display of Q-elements if any
. Completion code (register)
In case of error exit (link)
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
The QUEUE ̲INDEX Procedure interfaces to the following procedures:
KEYBOARD ̲CTRL ref. 3.1.10.33
For block and unblock of keyboard
DISP ̲LINES ref. 3.1.4.9
For display of table lines
DISP ̲HEADER ref. 3.1.4.8
To get table header into buffer from critical region
MES ̲ERROR ref. 3.1.10.2
Sends error notification to the operator
ITRANSFER ref. PSP/0099
For write to terminal and read from terminal
ICONTROL ref. PSP/0099
Sends commands to terminal for clear screen, set page mode or set line mode
KBD ̲DATA ref. 3.1.10.1
Prompts for QUEUE ID and checks response
3.2.4.2.2. E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The QUEUE ̲INDEX Interfaces to the following monitor procedures:
MON QACCESS READ ̲NON
Red queue elemtent
MON CONVDTG
Convert dtg - integer to ASCII
3.2.4.3 PDB ̲MSG ̲STATUS Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.3.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PDB ̲MSG ̲STATUS is invoked by the procedure:
DISPLAY ref. 3.1.4.1
Input to PDB ̲MSG ̲STATUS
. TCB ̲SAVE (array)
Terminal status
. PROCESS ̲NO (variable)
Terminal number
. PDBTAB (critical region)
PDB file table
Output from PDB ̲MSG ̲STATUS
. Status of PDB pool displayed
. Completion code (register)
In case of error exit (link)
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
For error notification to operator
The PDB ̲MSG ̲STATUS Interface to the following procedures:
KEYBOARD ̲CTRL ref. 3.1.10.33
For block and unblock keyboard
DISP ̲HEADER ref. 3.1.4.8
Get table header
DISP ̲LINES ref. 3.1.4.9
Display lines
ICONTROL ref. PSP/0099
Clear screen and set line mode
3.2.4.3.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PDB ̲MSG ̲STATUS Interfaces to the following monitor procedures:
MON REGION RCOPYN
Copy PDB file table into buffer
Copy table header into buffer
MON INTASC
Convert msg no from integer to ASCII
MON MTCB READ
Read MTCB to get dtg
MON CONVDTG
Convert dtg from integer to ASCII
3.2.4.4 SH ̲DELIVERY Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.4.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The SH ̲DELIVERY Procedure is invoked by:
DISPLAY ref. 3.1.4.1
Input to SH ̲DELIVERY is:
. Process no (variable)
. A message in SH-queue
Output from SH ̲DELIVERY is:
. Message printed
. An alrm in case of error
. Completion code
The SH ̲DELIVERY Procedure interfaces to the following procedures:
KDB ̲DATA ref. 3.1.10.1
Prompts for password and checks it.
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
SH ̲ALARM re. 3.1.4.10
Generates the alarms and performs the rerouting of the messaage in case of errors
3.2.4.4.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The SH ̲DELIVERY Procedure interfaces to the following monitor procedures:
MON QACCESS READ ̲NON
Reads the SU-queue
MON SENDMESSAGE
Sends a printrequest to the printer proces
MON WAITEVENT
Wait for printout to complete
3.2.4.5 DISP ̲HDB ̲MSG Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.5.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The Procedure is invoked by:
TEP ̲MAIN ref PSP/0099
Input to DISP ̲HDB ̲MSG:
None
Output from DISP ̲HDB ̲MSG:
None
The procedures interfaces to the following procedures:
DISP ̲MESSAGE ref. 3.1.10.28
When the terminal is a VDU and the RT-queue element indicates a message to be displayed
LIST ̲PDB ̲MSG ref. 3.1.4.6
When the terminal is a teleprinter nd the RT-queue element indictes a message to be displayed.
DISP ̲HEADER ref. 3.1.4.8
The error text is copied from critical region to local buffer
DISP ̲LINES ref. 3.1.4.9
The error text is displayed/printed
KEYBOARD ̲CTRL ref. 3.1.10.33
When blocking/unblocking the keyboard
ICONTROL ref. PSP/0099
If the terminal is a VDU the screen is set in line mode after displaying the error text
MES ̲ERROR ref. 3.1.10.2
When the operators security classification is lower than message classification.
3.2.4.5.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲MDB ̲MSG Procedure interfaces to the following monitor procedures:
QACCESS
The RT-queue is read, an element is appended or a processed element is deleted.
MTCB
The input MTCB is read
CONVDTG
A long integer DTG is converted to Ascu characters
REGION
A text string is copied from critical region TXTLNS to a local buffer
3.2.4.6 LIST ̲PDB ̲MSG Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.6.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The LIST ̲PDB ̲MSG is invoked by the procedures:
DISPLAY ref. 3.1.4.1
RELEASER ̲RELEAS ref. 3.1.5.3
Input to LIST ̲PDB ̲MSG
. PROCESS ̲NO (variable)
Terminal number
. TCB ̲SAVE (array)
Terminal status
. COMMAND ̲NO (variable)
Kind of procedure
. MTCB ̲INDEX ̲MSG (variable)
Output from LIST ̲PDB ̲MSG
. Completion code (register)
. MTCB ̲INDEX ̲MSG (variable)
Updated
In case of error exit (link)
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
For error notification to operator
. SEQUENCE ̲NO (variable)
. SUBSEQUENCE ̲NO (variable)
For use in case of clean up
The LIST ̲PDB ̲MSG interfaces to the following procedures:
CH ̲MSG ̲ID ref. 3.1.10.23
Prompt for msg id and checks the answer
UPDATE ̲PDB ̲LMH ref. 3.1.10.27
Update PDB table with last msg handled
3.2.4.6.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The LIST ̲PDB ̲MSG Interfaces to the following monitor procedures:
MON MTCB CREAT
Create pseudo MTCB
MON MTCB WRITE
Write in ral MTCB - status of msg (OUT)
Write in pseudo MTCB
MON QACCESS INS
Insert pseufo MTCB in terminal queue
MON SENDMESSAGE
Send message to PIP - process if TP
MON WAITEVENT
Waitr response from PIP process
3.2.4.7 PRINT ̲ON ̲TP Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.7.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRINT ̲ON ̲TP Procedure is invoked by the procedure:
DISPLAY ref. 3.1.4.1
Input to PRINT ̲ON ̲TP
. PROCESS ̲NO (variable)
Terminal no
Output from PRINT ̲ON ̲TP
. Msg printed if any in print-queues
. Completion code
In case of error exit (link)
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
For error notificaton to operator
. SEQUENCE ̲NO (variable)
. SUBSEQUENCE ̲NO (variable)
For use in case of clean up
The PRINT ̲ON ̲TP Procedure interfaces to no internal procedure
3.2.4.7.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRINT ̲ON ̲TP Procedure interfaces to the following monitor procedures:
MON SENDMESSAGE
Send message to PIP Process
MON WAITEVENT
Wait response from PIP process
3.2.4.8 DISP ̲HEADER Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.8.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲HEADER Preocedure is invoked by the procedures:
QUEUE ̲INDEX ref. 3.1.4.2
PDB ̲MSG ̲STATUS ref. 3.1.4.3
DISP ̲HDB ̲MSG ref. 3.1.4.5
Input to DISP ̲HEADER
. COMMAND ̲NO (variable)
To indicate caller
Output from DISP ̲HEADER
. BUFF ̲1 ̲RUN ̲INDEX (variable)
Updated
. Completion code (register)
The DISP ̲HEADER Procedure interfaces to no internal procedure
3.2.4.8.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲HEADER Procedure interfaces to the following procedure:
MON REGION RCOPYN
Get header line from critical region
3.2.4.9 DISP ̲LINES Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.9.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲LINES Procedure is invoked by the procedures:
DISP ̲HDB ̲MSG ref. 3.1.4.5
PDB ̲MSG ̲STATUS ref. 3.1.4.3
QUEUE ̲INDEX ref. 3.1.4.2
Input to DISP ̲LINES
. TCB ̲SAVE (array)
Terminal status
. NEED ̲APPEND ̲FLAG (variable)
Flag indicating if clear screen is needed
. TX ̲COUNT (variable)
Counter for no of bytes to be displayed
Output from DISP ̲LINES
. TX ̲COUNT (variable)
Resat
. BUFF ̲1 ̲SENT ̲FLAG (variable)
Indicate empty IO-buffer
. BUFF-1 ̲RUN ̲INDEX (variable)
. Completion code (register)
In case of error exit (link)
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
For error notification to operator
. SEQUENCE ̲NO (variable)
. SUBSEQUENCE ̲NO
For use in case of clean up
The DISP ̲LINES Procedure interfaces to the following procedures:
ICONTROL ref. PSP/0099
Set page mode and clear screen
ITRANSFER ref. PSP/0099
Write to terminal
3.2.4.9.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲LINES Procedure has no external interface
3.2.4.10 SH ̲ALARM Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.4.10.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The SH ̲ALARM Procedure is invoked by:
SH ̲DELIVERY ref. 3.1.4.4
Input to SH ̲ALARM Procedure is:
. REROUTE FLAG (variable)
. ALARM FLAG (variable)
. BLOCK FLAG (variable)
. PROCESS NO (variable)
. TCB (Variable)
. A queue element in the SH-queue
Output from SH ̲alarm Procedure is:
. An entry in the supervisor DT-queue
. An entry in the supervisor AL-queue
. Keybourd blocked
. Completion code
The SH ̲ALARM Procedure interfaces to the following procedures:
MES ̲CHECKP ref. 3.1.10.34
Checkpoint the rerouting of the SH-message
PSM ̲MES ref. PSP/0099
Sends a message to the PSM process for blocking the terminal
3.2.4.10.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The SH ̲ALARM Procedure interfaces to the following monitor proceudres:
MON MTCB CREAT
Creates a MTCB for distribution
MON MTCB WRITE
Updates the MTCB for distribution
MON QACCESS INS
enqueues the message for distribution
MON MTCB RELEAS
decrements the MTCB use count
MON QACCESS READ ̲DEST
deletes queue element in SH ̲queue
MON SEND ̲REPORT
generates an alarm
l̲e̲v̲e̲l̲ ̲ ̲m̲e̲s̲s̲a̲g̲e̲ ̲l̲i̲n̲e̲ ̲ ̲ ̲d̲e̲l̲e̲t̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲r̲e̲p̲l̲a̲c̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲i̲n̲s̲e̲r̲t̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲a̲c̲c̲e̲p̲t̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲c̲o̲m̲m̲e̲n̲t̲
0 A i dtg msgid N/A PREC
ACT new N/A
FM
PREC INFO new
DTG new
FM
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
1 FM N/A FM
new TO
new next
TO/INFO
next
TO/INFO next
TO
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
2 TO next TO
new TO/XMT/INFO next
TO/XMT/INFO next
TO/XMT/ new TO/XMT/INFO
INFO next
TO/INFO/XMT
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
3 XMT next XMT
new TO/XMT/INFO
new next
TO/XMT/INFO
TO/XMT/INFO next
TO/XMT/INFO next
TO/XMT/INFO
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
4 INFO next INFO/BT INFO
new INFO
NEW next
- INFO/BT INFO/BT
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
…02…5 BT N/A N/A N/A CLASS-SPECAT
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
Relation between edit command and prompt response and action for each level
(continues)
…06…1 …02… …02… …02… …02…
l̲e̲v̲e̲l̲ ̲ ̲m̲e̲s̲s̲a̲g̲e̲ ̲l̲i̲n̲e̲ ̲ ̲d̲e̲l̲e̲t̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲r̲e̲p̲l̲a̲c̲e̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲i̲n̲s̲e̲r̲t̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲a̲c̲c̲e̲p̲t̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲c̲o̲m̲m̲e̲n̲t̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
6 CLASS SPECAT N/A CLASS new SIC
SPECAT new NEW SIC or text
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲
7 SIC SIC SIC next text SIC
new new
text
line next
text
line
line or BT next
text next
text
line
line
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
8 TEXT next text text
line
new new
text
line msg
text
line
line line next
text
line next
text
line or
BT/INT
̲DIST
line BT or
BT/INT
̲DIST
line
.
.
.
.
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
9 BT N/A N/A INT
DIST INTDIST/EOM
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
10 INT ̲DIST NEXT INT DIST/ new INT ̲DIST NEXT
INT
̲DIST NEXT
INT
DIST/ this
prompt
EOM
EOM will
not
be
issued
in
case
of
msg
is
readdressed
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
Relation between edit commands and prompt response and action for each level
(continued)