top - download
⟦88f85e986⟧ Wang Wps File
Length: 58929 (0xe631)
Types: Wang Wps File
Notes: FIX/1164/PSP/0060
Names: »3301A «
Derivation
└─⟦714fc5a2b⟧ Bits:30006132 8" Wang WCS floppy, CR 0290A
└─ ⟦this⟧ »3301A «
WangText
…00……00……00……00……00…K…02……00……00…K
K…07…J…08…J…0c…J…0e…,…0a…,…0c…,…0f…,…01…, ,…06…+…09…+…0b…+…0e…+…0f…+…02…+
+…06…*…09…*…0d…*…0f…*…02…* *…07…)…09…)…0d…)…0f…)…02…)…06…(…09…(…0c…(…00…(…01…(
(…06…'…09…'…0c…'…00…'
'…05…&…08…&…0c…&…0f…&…02…&…06…%…0a…%…0d…%…01…%…05…$…08…$…0b…$…86…1 …02… …02… …02…
…02…FIX/1164/PSP/0060
…02…JJJ/890612…02……02…
FIKS MES SUBSYSTEM PSP
…02…MLA/830125…02… FIKS
3.2.5.1 R̲E̲L̲E̲A̲S̲E̲ ̲M̲o̲d̲u̲l̲e̲
3.2.5.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RELEASE procedure is invoked by:
TEP ̲MAIN ref: PSP/0099
Input to RELEASE is:
. Command No. (register)
. Module No. (register)
. Submodule No. (register)
. TCB ̲SAVE (version)
. PDBTAB (critical region)
Output from Release is:
. Completion Code (register)
. PDBTAB updated (critical region)
The RELEASE procedure interfaces to the following procedures:
ORIGINATOR ̲RELEASE ref. 3.1.5.2
Releases a message from originator position
RELEASER ̲RELEASE ref. 3.1.5.3
Releases a message from releaser position
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Releases all resources in case of cancel
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
3.2.5.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RELEASE procedure interfaces to the following monitor procedure:
MON ERROR
Terminates the process in case of a serious error.
3.2.5.2 ORIGINATOR ̲RELEASE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.5.2.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ORIGINATOR ̲RELEASE is invoked by:
RELEASE ref. 3.1.5.1
Input to ORIGINATOR ̲RELEASE is:
. TCB ̲SAVE (var)
. message on file referred in PDBTAB
Output from RELEASER ̲RELEASE is:
. Completion code (register)
. PDBTAB updated (critical region)
The ORIGINATOR ̲RELEASE procedure interfaces to the following procedures:
CH ̲MSG ̲ID ref. 3.1.10.23
Prompts for MSG ̲ID and reads the response
UPDATE ̲PDB ̲LMH ref. 3.1.10.27
Updates Last message handled entry in PDBTAB
RELEASE ̲TO ̲MDS ref. 3.1.5.4
Releases the message to the MDS Process
ITRANSFER ref. PSP/0099
Issues prompt for transfer to release position and outputs the DTG.
3.2.5.2.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The ORIGINATOR ̲RELEASE procedure interfaces to the following monitor procedures:
MON MTCB WRITE
Updates status word in MTCB
MON RDF GANOTRM
Gets actual term no from logical term no
MON QACCESS INS
Inserts message into releasers RLqueue
MON MTCB RELEASE
Releases MTCB after insertion in queue
MON GETDTG
Reads system time
3.2.5.3 RELEASER ̲RELEASE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.5.3.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RELEASER ̲RELEASE procedure is invoked by:
RELEASE ref. 3.1.5.1
Input to RELEASER ̲RELEASE is:
. an entry in RLqueue
. TCB ̲SAVE (var)
. PDBTAB (critical region)
Output from RELEASER ̲RELEASE is:
. completion code
. message released to the MDS process or message returned to originator
. a remarks file to the originator
. originators PDBTAB updated
The RELEASE ̲RELEASE procedure interfaces to the following procedures:
CH ̲MSG ̲CLASS ref. 3.1.10.24
Checks the access rights to the message
DISP ̲MESSAGE ref. 3.1.10.28
Displays the message if terminal is a VDU
LIST ̲PDB ̲MSG ref. 3.1.4.6
Prints the message if terminal is a TP
KBD ̲DATA ref. 3.1.10.1
Outputs prompt for RELEASE and REMARKS and reads the responses.
RELEASE ̲TO ̲MDS ref. 3.1.5.4
Releases the message to the MDS process
CHECK ̲CC ref. 3.1.10.35
Checks for serious error in case of unsuccessful file access.
3.2.5.3.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RELEASER ̲RELEASE procedure interfaces to the following monitor procedures:
MON QACCESS READ ̲MON
Reads an element in the RL-queue
MON QACCESS INS
Inserts an entry in originator LP-queue
MON QACCESS DEL
Deletes an entry in the RL-queue
MON MTCB CREAT
Creates an MTCB for a remarks file
MON MTCB CREATEFILE
Creates a file for remarks
MON MTCB WRITE
Updates message and remark MTCB's
MON MTCB RELEASE FILE
Decrements file usecount on remarks file
MON MTCB RELEAS
Decrements MTCB usecount on remarks MTCB
MON MTCB RESERVE
Increment MTCB usecount on the message
MON IO APPENDBYTES
Updates remarks file with remarks
MON RDF GANOTRM
Gets actual terminal no from logical terminal no
3.2.5.4 RELEASE ̲TO ̲MDS Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.5.4.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RELEASE ̲TO ̲MDS proceudre is invoked by:
ORIGINATOR ̲RELEASE ref. 3.1.5.2
RELEASOR ̲RELEASE ref. 3.1.5.3
Input to RELEASE ̲TO ̲MDS is:
. The message to be released
. Command no (var)
. file for remarks
. process no (var)
. PDBTAB (critical version)
Output from RELEASE ̲TO ̲MDS is:
. completion code (register)
. message released
. STATIC updated (critical region)
. remarks file updatead
. PDBTAB updatead (critical region)
The RELEASE ̲TO ̲MDS Procedure interfaces to the following procedures:
MES ̲CHECKP ref. 3.1.10.34
Checkpoint following events:
. inserting in MDS queue
. inserting in purge queue
. PDB table after update
. message after update
ITRANSFER ref. PSP/0099
Prompts RELEASED and writes DTG on terminal
UPDATE ̲STATIC ref. 3.1.5.5
Updates STATIC region
3.2.5.4.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲f̲a̲c̲e̲
The RELEASE ̲TO ̲MDS procedure interfaces to the following monitor procedures:
MON MTCB GETFILE
Gets file descriptor to message
MON MTCB READ
Reads message MTCB
MON MTCB WRITE
Updates message and remarks MTCB's
MON MTCB RELEASEFILE
Closes message file
MON MTCB RELEAS
Decrements message MTCB Usecount
MON GETDTG
Reads system time
MON IO MODIFYBYTES
Writes DTG to message file
MON IO READBYTES
Reads MSG ̲ID for logging
MON IO APPENDBYTES
Updates remarks file
MON IO UPDATE
Updates system volume
MON REGION RENTER
Enters PDBTAB region
MON REGION RGETN
Reads PDBTAB for originator terminal
MON REGION RPUTN
Updates PDBTAB
MON REGION RLEAVE
Leaves PDBTAB region
MON QACCESS INS
Inserts message to the MDS and purge processes
MON LOG ̲JOURNAL
Logs file release event
3.2.5.5 UPDATE ̲STATIC Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.5.5.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The UPDATE ̲STATIC procedure is invoked by:
RELEASE ̲TO ̲MDS ref. 3.1.5.4
Input to UPDATE ̲STATIC is:
. Message MTCB and file
Output from UPDATE ̲STATIC is:
. completion code
. STATIC updated
3.2.5.5.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The UPDATE ̲STATIC procedure interfaces to the following monitor procedures:
MON IO READBYTES
Reads the address-list from the message
MON MTCB READ
Reads the message MTCB to get class and procedence
MON RDF GANOAIG
Get the content of an AIG
MON REGION RENTER
Enters STATIC region
MON REGION RGETN
Reads a record from STATIS region
MON REGION RLEAVE
Leaves STATIC region
3.2.6.1 D̲E̲L̲E̲T̲E̲ ̲M̲o̲d̲u̲l̲e̲
3.2.6.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DELETE Module is invoked by the procedure:
TEP ̲MAIN ref PSP/0099
Input to DELETE
. COMMAND ̲NO (in register)
. PDBTAB (critical region)
. TCB ̲SAVE (array)
For access right to terminal
Output from DELETE
. PDBTAB (critical region)
Updated
. MTCB released
. Enqueued for purging if SH-msg
. Completion code
The DELETE procedure interfaces to the following procedures:
. CH ̲MSG ̲ID ref. 3.1.10.23
Prompts for msg id and checks the answer
. MES ̲CHECKP ref. 3.1.10.34
Ensures the system knows the new PDB table
. MES ̲ERROR ref. 3.1.10.2
Sends error notification to operator
. CANCEL ̲FIX ̲UP ref. 3.1.10.3
Reestablish condition as before the procedure was started
3.2.6.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DELETE procedure interfaces to the following monitor procedures:
MON REGION RENTER
Get access to critical region - PDB table
MON REGION RPUTN
Delete entry in PDB table
MON REGION RLEAVE
Release PDB table
MON MTCB GETFILE
Get FD for msg
MON MTCB RELEASEFILE
Release msg file
MON MTCB RELEAS
Release msg MTCB
MON QACCESS INS
Enqueue to purge in case of SH-msg
MON ERROR
Terminates the process in case of serious error
3.2.7.1 R̲E̲A̲D̲D̲R̲E̲S̲S̲ ̲M̲o̲d̲u̲l̲e̲
3.2.7.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The READDRESS Module is invoked by the Module:
TEP ̲MAIN ref. PSP/0099
Input to READDRESS is
. COMMAND ̲NO (variable)
. MODULE ̲NO (variable)
. SUBMODULE ̲NO (variable)
to indicate kind of READDRESS (RAD,RAE)
. PROCESS ̲NO (variable)
Terminal number
. TCB ̲SAVE (array)
Terminal status
. PDBTAB (critical region)
PDB File table
Output from READDRESS
. Completion code (register)
. PDBTAB (critical region)
Updated PDB file table
. A complete PDB msg if successful readdressing
The READDRESS Procedure interfaces to the followig procedures:
CR ̲NEW ̲MESSAGE ref. 3.1.10.4
Create a list MTCB, msg MTCB, msg file and assign a msg id to the msg
RETR ̲FM ̲HDB ref. 3.1.10.29
Start retrieval from HDB
Retrieve keys are msg id and dtg
PREPARE ref. 3.1.1.1
Prepare signal header without class, specat and sic.
ITRANSFER ref. PSP/0099
Prompt BT's
ICONTROL ref. PSP/0099
Set VDU in page mode and clear screen
READ ̲INPUT ref. 3.1.1.5
Transfer teaxt input from terminal to file
CH ̲SRS ̲FEEDB ref. 3.1.10.30
Checks the result of the retrieve from HDB
FILE ̲TO ̲FILE ref. 3.1.10.31
Moves HDB msg to PDB file
PRMT ̲DTG ref. 3.1.10.15
Prompts for dtg and reads response
COMPLETE ̲PDB ref. 3.1.10.18
Appends the address list to msg file
Updates binary header, MTCB and PDB file table.
MES ̲CHECKP ref. 3.1.10.34
Ensures checkpointing of MTCB's and PDB file table
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
CHECK ̲CC ref. 3.1.10.35
Checks for serious error after unsuccessful fileaccess
3.2.7.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The READDRESS Procedure interfaces to the following monitor procedures:
MON REGION RCOPYN
To get header of PDB file table
MON MTCB READ
Read dtg
MON MTCB GETFILE
Get FD for HDB Message
MON IO READBYTES
Read binary header
Read HDB message
Read new message
MON IO APPENDBYTES
Append buffer to msg file
MON IO MODIFYBYTES
Overwrite new message
Write binary header
MON IO UPDATE
To ensure the system knows the file
MON TESTHDB
Check if HDB message still on HDB
MON MTCB RELEASEFILE
Decrement file usecount for HDB msg and msg file
MON MTCB RELEAS
Decrement HDB-MTCB usecount and msg-MTCB usecount
MON MTCB RESERVE
Increment file usecount
MON ERROR
To Terminate the process in case of serious error
3.2.8.1 R̲E̲T̲R̲I̲E̲V̲E̲ ̲M̲o̲d̲u̲l̲e̲
3.2.8.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RETRIEVE Procedure is invoked by the:
module TEP ̲MAIN ref. PSP/0099
Input to RETRIEVE:
. COMMAND ̲NO (register)
. MODULE ̲NO (register)
. SUBMODULE ̲NO (register)
Output from RETRIEVE
. Completion code (register)
The RETRIEVE Procedure interfaces to the following procedures:
KBD ̲DATA ref. 3.1.10.1
When requesting retrieval data
CANCEL ̲FIX ̲UP ref. 3.1.10.3
When the operator cancels the retrieved or an error occurs. The procedure reestablishes
the condition as before the procedure was called.
MES ̲ERROR ref. 3.1.10.2
When a recoverable error occurs
3.2.8.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RETRIEVE Procedure interfaces to the following monitor procedures:
MTCB
When transferring retrieval information to subsystem SRR.
QACCESS
When enqueuing MTCB to SRP
LOG ̲JOURNAL
When logging the retrieval request
ERROR
When an unrecoverable error or resource error occurs
3.2.9.1 R̲E̲T̲R̲I̲E̲V̲E̲ ̲D̲I̲S̲T̲R̲I̲B̲U̲T̲E̲ ̲M̲o̲d̲u̲l̲e̲
3.2.9.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RETRIEVE ̲DISTRIBUTE Procedure is invoked by the Module TEP ̲MAIN, Ref. PSP/0099
Input to RETRIEVE ̲DISTRIBUTE:
. COMMAND ̲NO (register)
. MODULE ̲NO (register)
. SUBMODULE ̲NO (register)
Output from RETRIEVE
. Completion code (register)
The procedure interfaces to the following procedures:
RETR ̲FM ̲HDB ref 3.1.10.29
The operator is prompted for message id and retrieval DTG and a retrieval request is sent
to SRR subsystem
KBD ̲DATA ref. 3.1.10.1
The operator is requested to input terminal id's of the receivers in the message
CH ̲SRS ̲FEEDB ref. 3.1.10.30
The answer of the retrieval request is inspected
ENQUEUE ̲TO ̲MDS ref. 3.1.9.2
Pseudo MTCB's containing MTCB-index of the retrieved message and receivers are enqueued to
MDS
MES ̲ERROR ref. 3.1.10.2
When a recoverable error occurs
CANCEL ̲FIX ̲UP ref. 3.1.10.3
When the operator cancels the operation or when a fixup of data area is required after an
error
3.2.9.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RETRIEVE ̲DISTRIBUTE Procedure interfaces to the monitor
MON ERROR
in case of a resource error or a fatal error
3.2.9.2 E̲N̲Q̲U̲E̲U̲E̲ ̲T̲O̲ ̲M̲D̲S̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.9.2.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
ENQUEUE ̲TO ̲MDS is invoked by the:
RETRIEVE ̲DISTRIBUTE Module ref. 3.1.9.1
Input to ENQUEUE ̲TO ̲MDS:
. MTCB Index of the message retrieved from HDB
. BUFF 1 - buffer containing all destination terminals
Output from ENQUEUE ̲TO ̲MDS: None
3.2.9.2.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The following monitor procedures are called:
MON MTCB
MON RDF GANOTERM
When converting terminal no. to actual terminal no.
MON QACCESS INS
When enqueuing to MDS
3.2.10.1 KBD ̲DATA Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.1.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The KBD ̲DATA Procedure is invoked by:
PREPARE ref. 3.1.1.1
GET ̲EDIT ̲CMD ref. 3.1.2.2
ORIGINATOR ̲TERM ref. 3.1.3.2
COORDINATOR ̲TERM ref. 3.1.3.3
QUEUE ̲INDEX ref. 3.1.4.2
SH ̲DELIVERY ref. 3.1.4.4
RELEASER ̲RELEASE ref. 3.1.5.3
RETRIEVE ref. 3.1.8.1
RETR ̲DISTRIBUTE ref. 3.1.9.1
PRMT ̲MASK ̲ID ref. 3.1.10.5
PRMT ̲PREC ̲CODE ref. 3.1.10.6
PRMT ̲FM ̲ADR ref. 3.1.10.7
PRMT ̲TO ̲ADR ref. 3.1.10.8
PRMT ̲XMT ̲ADR ref. 3.1.10.9
PRMT ̲INFO ̲ADR ref. 3.1.10.10
PRMT ̲INT ̲DIST ref. 3.1.10.11
PRMT ̲CLASS ref. 3.1.10.12
PRMT ̲SPECAT ref. 3.1.10.13
PRMT ̲SIC ref. 3.1.10.14
PRMT ̲DTG ref. 3.1.10.15
CH ̲MSG ̲ID ref. 3.1.10.23
RETR ̲FM ̲HDB ref. 3.1.10.29
CONTROL ref. PSP/0093
NPDN ̲STF ref. PSP/0093
ESM ref. PSP/0093
TABLE ̲HANDLING ref. PSP/0093
SUPERVISION ref. PSP/0093
DIST ̲SFS ref. PSP/0093
Input to KBD ̲DATA is:
. Command no
. Sequence no
. Process no
. TCB ̲SAVE
. USP ̲SAVE
. TCB ̲SAVE
Output from KBD ̲DATA is:
. prompt buffer with prompt and operator response
. User record with operator response converted as requested
. completion code
The KBD ̲DATA Procedure interfaces to the folowing proceudres:
ITRANSFER ref. PSP/0099
Output the prompt and read the response.
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
3.2.10.1.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The KBD ̲DATA Procedure interfaces to the following monitor procedurs:
MON INTASC
Converts an ASCII string number to an integer
MON REGION RCOPYN
Reads a record from a critical region
MON RDF GTRMNO
Gets the logical termial no from a terminal id.
MON RDF GANOEX
Check the existance of an ANO
MON RDF GAIGEX
Checks the existance of an AIG
MON CONVDTG
Convert a DTG as an ASCII string to a long integer and vice versa
3.2.10.2 MES ̲ERROR Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.2.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲f̲a̲c̲e̲
The MES ̲ERROR Procedure is invoked by the procedures:
PREPARE ref. 3.1.1.1
READ ̲INPUT ref. 3.1.1.5
TP ̲MASK ̲IO ref. 3.1.1.6
EDIT ref. 3.1.2.1
GET ̲EDIT ̲CMD ref. 3.1.2.2
ACC ̲NEW ̲LINE ref. 3.1.2.7
COORDINATE ref. 3.1.3.1
READDRESS ref. 3.1.7.1
RETRIEVE ref. 3.1.8.1
RETR ̲DISTRIB ref. 3.1.9.1
DISPLAY ref. 3.1.4.1
QUEUE ̲INDEX ref. 3.1.4.2
SH ̲DELIVERY ref. 3.1.4.4
RELEASE ref. 3.1.5.1
DELETE ref. 3.1.6.1
KBD ̲DATA ref. 3.1.10.1
CANCEL ̲FIX ̲UP ref. 3.1.10.3
PRMT ̲MASK ̲ID ref. 3.1.10.5
PRMT ̲PREC ̲CODE ref. 3.1.10.6
PRMT ̲TO ̲ADR ref. 3.1.10.8
PRMT ̲INFO ̲ADR ref. 3.1.10.10
CH ̲MSG ̲ID ref. 3.1.10.23
DISP ̲MESSAGE ref. 3.1.10.28
SFS procedures ref. PSP/0093
ESM ref. PSP/0093
NPDN ̲CONNECTION ref. PSP/0093
CONTROL ref. PSP/0093
SUPERVISION ref. PSP/0093
TABLEHANDLINE ref. PSP/0093
DISTRIBUTE ref. PSP/0093
Input to MES ̲ERROR
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
error notification to operator
Output from MES ̲ERROR
. Completion code (register)
. Error code displayed
The MES ̲ERROR Procedure interfaces to the following procedure:
ITRANSFER ref. PSP/0099
For display of error code
3.2.10.2.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The MES ̲ERROR Procedure has no external interface
3.2.10.3 CANCEL ̲FIX ̲UP Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.3.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The Procedure CANCEL ̲FIX ̲UP is invoked by:
PREPARE ref. 3.1.1.1
EDIT ref. 3.1.2.1
COORDINATE ref. 3.1.3.1
DISPLAY ref. 3.1.4.1
RELEASE ref. 3.1.5.1
READDRESS ref. 3.1.7.1
RETRIEVE ref. 3.1.8.1
RETRIEVE ̲DISTRIBUTE ref. 3.1.9.1
Input to CANCEL ̲FIX ̲UP is:
. Sequence no
. Subsequence no
. Process no
. Command no
. MTCB's
. file's
. Queue entries
. PDB ̲file table
. TCB ̲SAVE
The CANCEL ̲FIX ̲UP Procedure interfaces to the following procedures:
ICONTROL ref. PSP/0099
Outputs control chars to the VDU's
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
MES ̲CHECKP ref. 3.1.10.34
Checkpoints insertion in purge queue and the updated PDBTAB
PURGE ̲BUFFER ref. 3.1.10.32
Fills IO ̲buffers with zeros
3.2.10.3.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CANCEL ̲FIX ̲UP Procedure interfaces to the following monitor procedures:
MON REGION RENTER
Enters a ctitical region (PDBTAB)
MON REGION RGETN
Reads a record from a critical region (PDBTAB)
MON REGION RPUTN
Updates a critical region (PDBTAB)
MON REGION RLEAVE
Leaves a critical region (PDBTAB)
MON MTCB READ
Read a MTCB into a buffer
MON MTCB RELEASEFILE
Decrements a file usecount
MON MTCB RELEAS
Decrements a MTCB usecount
MON MTCB WRITE
Updates a MTCB with the contents of a buffer
MON MTCB RESERVE
Increments a MTCB usecount
MON QACCESS INS
Inserts a MTCB in a queue
MON QACCESS REL ̲ACT ̲FLAG
Releases the active flag on a queue element
MON QACCESS DEL
Deletes a queue element
MON QACCESS REORG
Reorganizes a queue
MON QACCESS READ ̲DEST
Reads a queue element destructive
MON IO MODIFYBYTES
Writes a DRG on file
MON IO UPDATE
Updates system volume
MON ERROR
Terminates the process in case of a serious error
3.2.10.4 CR ̲NEW ̲MESSAGE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.4.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CR ̲NEW ̲MESSAGE Procedure is invoked by the procedures:
PREPARE ref. 3.1.1.1
READDRESS ref. 3.1.7.1
Input to CR ̲NEW ̲MESSAGE
. PDB ̲TABLE ̲HEAD (array)
Indicate status of PDB pool
. TCB ̲SAVE (array)
Terminal identification
Output from CR ̲NEW ̲MESSAGE
. MTCB ̲INDEX ̲MSG (variable)
. MTCB ̲INDEX ̲ALIST (variable)
. FD ̲MSG (variable)
. MSG ̲NO (variable)
Number assigned to current message
. PDB ̲TABLE ̲HEAD (variable)
Msg no updated
. Msg file created
. Dummy binary header written on msg file
. Msg id for msg written in buffer
. Msg id displayed
. Completion code (register)
In case of error exit (link)
. SEQUENC ̲NO (variable)
. SUBSEQUENCE ̲NO (variable)
To indicate how much clean-up is needed
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
Error notification for operator
The CR ̲NEW ̲MESSAGE interfaces to the following procedures:
ITRANSFER ref. PSP/0099
For display of msg id
CHECK ̲CC ref. 3.1.10
Checks for serious error after unsuccessful file access
3.2.10.4.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CR ̲NEW ̲MESSAGE Procedure interfaces to the following monitor procedures
MON MTCB CREAT
Creation of MTCB for msg and address list
MON MTCB CREATEFILE
Creation of PDB-msg-file
MON IO APPENDBYTES
Append dummy binary header to msg file
MON INTASC
Convert msg no from integer to ASCII
3.2.10.5 PRMT ̲MASK ̲ID Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.5.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲MASK ̲ID Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1.4
Input to PRMT ̲MASK ̲ID is:
. sequence no (variable)
Output from PRMT ̲MASK ̲ID is:
. Completion code (register)
. Mask no (variable)
The PRMT ̲MASK ̲ID Procedure interfaces to the following procedures:
KBD ̲DATA ref. 3.1.10.1
Prompts for FORMATTED ̲MSG and reads the response.
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
3.2.10.5.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.6 PRMT ̲PREC ̲CODE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.6.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲PREC ̲CODE Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1..4
ACC ̲NEW ̲LINE ref. 3.1.2.7
Input to PRMT ̲PREC ̲CODE is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
. Action procedence incase of info precedence
Output from PRMT ̲PREC ̲CODE is:
. Completion code (register)
. Message updatead according to response.
The PRMT ̲PREC ̲CODE interfaces to the followig procedures:
KBD ̲DATA ref. 3.1.10.1
Prompts for PREC ̲ACT or PREC ̲INFO and reads the response
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
3.2.10.6.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.7 PRMT ̲FM ̲ADR Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.7.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲FM ̲ADR Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1.4
ACC ̲NEW ̲LINE ref. 3.1.2.2
Input to PRMT ̲FM ̲ADR is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲FM ̲ADR is:
. Completion code (register)
. Message updated according to operator response
. Message sizing updated (variables)
The PRINT ̲FM ̲ADR Interfaces to the following procedures:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
GET ̲PLAIN ̲ADDR ref. 3.1.10.16
Gets plain address on RDF-file
3.2.10.7.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.8 PRMT ̲TO ̲ADR Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.8.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲TO ̲ADR Procedure is invoked by:
HEADER ̲INPUT ref 3.1.1.4
ACC ̲NEW ̲LINE ref 3.1.2.8
Input to PRMT ̲TO ̲ADR Procedure is:
. Sequence no (variable)
. Command no (variable)
. Message during preparation
Output from PRINT ̲TO ̲ADR Procedure is:
. Completion code (register)
. Message sizing updated (variable)
The PRMT ̲TO ̲ADR Procedure interfaces to the procedures:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
GET ̲PLAIN ̲ADDR ref. 3.1.10.16
Gets the plain address from the RDF file.
3.2.10.8.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.9 PRMT ̲XMT ̲ADR Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.9.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲XMT ̲ADR Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1.4
ALL ̲NEW ̲LINE ref. 3.1.2.8
Input to PRMT ̲XMT ̲ADR Procedure is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲XMT ̲ADR Procedure is:
. Completion code (register)
. Message updated according to operator response
. Message sizing updated (variables)
The PRMT ̲XMT ̲ADR Procedure interfaces to the procedures:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
GET ̲PLAIN ̲ADDR ref. 3.1.10.16
Gets the plain address from the RDF file
3.2.10.9.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.10 PRMT ̲INFO ̲ADR Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.10.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲INFO ̲ADR Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1.4
ALL ̲NEW ̲LINE ref. 3.1.2.8
Input to PRMT ̲INFO ̲ADR Procedure is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲INFO ̲ADR Procedure is:
. Completion code (register)
. Message updated according to operator response
. Message sizing updated (variables)
The PRMT ̲INFO ̲ADR Procedure interfaces to the procedures:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
GET ̲PLAIN ̲ADDR REF: 3.1.10.16
Gets the plain address from the RDF file
3.2.10.10.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.11 PRMT ̲INT ̲DIST Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.11.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲INT ̲DIST Procedure is invoked by:
PREPARE ref. 3.1.1.1
ACC ̲NEW ̲LINE ref. 3.1.2.8
Input to PRMT ̲INT ̲DIST Procedure is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲INT ̲DIST Procedure is:
. Completion code (register)
. Message updated according to operator response
. Message sizing updated (variables)
The PRMT ̲INT ̲DIST Procedure interfaces to the procedure:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
3.2.10.11.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.12 PRMT ̲CLASS Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.12.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲CLASS Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1.4
ACC ̲NEW ̲LINE ref. 3.1.2.8
Input to PRMT ̲CLASS Procedure is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲CLASS Procedure is:
. Completion code (register)
. Message updated according to operator response
. Message sizing updated (variables)
The PRMT ̲CLASS Procedure interfaces to the procedure:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
3.2.10.12.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲CLASS Procedure Interfaces to the monitor procedure:
MON REGION RCOPYN
Reads classification plain text from CLASS1
3.2.10.13 PRMT ̲SPECAT Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.13.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲ The PRMT ̲CLASS Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1.4
ACC ̲NEW ̲LINE ref. 3.1.2.8
Input to PRMT ̲CLASS Procedure is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲CLASS Procedure is:
. Comkpletion code (register)
. Message updated according to operator response
. Message sizing updated (variables)
The PRMT ̲CLASS Procedure interfaces to the procedures:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
3.2.10.13.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲SPECAT Procedure interfaces to the following monitor procedure:
MON REGION RCOPYN
Reads specat plain text from SPECTB
3.2.10.14 PRMT ̲SIC Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.14.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲SIC Procedure is invoked by:
HEADER ̲INPUT ref. 3.1.1.4
ACC ̲NEW ̲LINE ref. 3.1.2.8
Input to PRMT ̲SIC Procedure is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲SIC Procedure is:
. Completion code (register)
. Message updated according to operator response
. Message sizing updated (variables)
The PRMT ̲SIC Procedure interfaces to the procedure:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
3.2.10.14.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.15 PRMT ̲DTG Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.15.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲DTG Procedure is invoked by:
PREPARE ref. 3.1.1.1
READDRESS ref. 3.1.7.1
ACC ̲NEW LINE ref. 3.1.2.8
Input to PRMT ̲DTG Procedure is:
. Sequence no (variables)
. Command no (variables)
. Message during preparation
Output from PRMT ̲DTG Procedure is:
. Completion code (register)
. Message updated accaording to operator response
. Message sizing updated (variables)
The PRMT ̲DTG Procedure interfaces to the procedures:
KBD ̲DATA ref. 3.1.10.1
Outputs prompt and reads the response
ITRANSFER ref. PSP/0099
Displays the DTG if "/" input
3.2.10.15.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲DTG Procedure interfaces to the following monitor procedures:
MON GET ̲DTG
Reads system time
MON IO MODIFYBYTES
Writes DTG to message file
3.2.10.16 GET ̲PLAIN ̲ADDR Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.16.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲PLAIN ̲ADDR Procedure is invoked by the procedures:
PRMT ̲FM ̲ADR ref. 3.1.10.7
PRMT ̲TO ̲ADR ref. 3.1.10.8
PRMT ̲XMT ̲ADR ref. 3.1.10.9
PRMT ̲INFO ̲ADR ref. 3.1.10.10
Input to GET ̲PLAIN ̲ADDR
. SEQUENCE ̲NO (variable)
Kind of prompt
. Prompt answer (buffer)
. Address list element (buffer)
. MSG ̲LANGUAGE (variable)
Danish or english
. RD ̲RDF (variable)
File descriptor for RDF file
Output from GET ̲PLAIN ̲ADDR
. Plain address (buffer)
. Completion code (register)
In case of error exit (link)
. SEQUENCE ̲NO (variable)
. SUBSEQUENCE ̲NO (variable)
To indicate how much clean-up is needed
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
Error notification for operator
The GET ̲PLAIN ̲ADDR interfaces to the following procedure.
ITRANSFER ref PSP/0099
For display of plain address
3.2.10.16.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲PLAIN ̲ADDR Interfaces to the following monitor procedure
MON RDF GANOADR
Convert ano to plain address
3.2.10.17 UPDAT ̲FILE ̲TAB Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.17.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The UPDAT ̲FILE ̲TAB Procedure is invoked by the procedures:
PREPARE ref. 3.1.1.1
COMPLETE ̲PDB ref. 3.1.10.18
Input to UPDAT ̲FILE ̲TAB
. COMMAND ̲NO (variable)
. MODULE ̲NO (variable)
To indicate caller
. MTCB ̲INDEX ̲MSG (variable)
. MTCB ̲INDEX ̲ALIST (variable)
. MSG ̲NO (variable)
. CHAR ̲COUNT (variable)
Size of message excl address list
. ALIST ̲COUNT (variable)
Size of address list
. CP ̲CHAR ̲COUNT (variable)
No of bytes in old msg in EDIT
. FIRST ̲UPDATE ̲FLAG (variable)
Set if first time to update
. PDBTAB (critical region)
PDB file table
. OFFSET ̲FILETAB ̲HEAD (variable)
Offset to actual PDB table entry
Output from UPDAT ̲FILE ̲TAB
. PDBTAB (critical region)
Updated PDB file table
. FIRST ̲UPDATE ̲FLAG (variable)
Updated
. Completion code (register)
In case of error exit (link)
. ERROR ̲LABEL (variable)
Error location code
. EROR ̲CO (variable)
Error code
The UPDAT ̲FILE ̲TAB Procedure interfaces to no internal procedures
3.2.10.17.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The UPDAT ̲FILE ̲TAB Procedure interfaces to the following monitor procedures:
MON REGION RENTER
Enter critical region - PDB file table
MON REGION RGETN
Get PDB file table
MON REGION RPUTN
Write PDB file table into critical region
MON REGION RLEAVE
Leave critical region
3.2.10.18 COMPLETE ̲PDB Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.18.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The COMPLETE ̲PDB Procedure is invoked by the procedures:
PREPARE ref. 3.1.1.1
TERMINATE ̲EDIT ref. 3.1.2.10
READDRESS ref. 3.1.7.1
Input to COMPLETE ̲PDB
. MODULE ̲NO (variable)
. COMMAND ̲NO (variable)
to indicate caller
. MTCB ̲INDEX ̲MSG (variable)
. MTCB ̲INDEX ̲ALIST (variable)
. FD ̲MSG (variable)
File descriptor for PDB file
. FD ̲ALIST (variable)
File descriptor for address list if on file
. CHAR ̲COUNT (variable)
size of message excl. address list
. ALIST ̲COUNT (variable)
size of address list
. PROCESS ̲NO (variable)
Terminal no.
. MSG ̲NO (variable)
Message no for current msg
. CP ̲CHAR ̲COUNT (variable)
Size of old message if EDIT
. FIRST ̲UPDATE ̲FLAG (variable)
Flag for UPDAT ̲FILE ̲TAB
. Ref to answered dtg (register)
. PDBTAB (critical region)
PDB file table - for use in UPDAT ̲FILE ̲TAB
Output from COMPLETE ̲PDB
. Complete PDB-file
. Resources for address list released
. PDBTAB (critical region)
PDB-table updated
. MTCB for msg updated
. Completion code
In case of error exit (link)
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
The COMPLETE ̲PDB Procedure interfaces to the following procedures:
FILE ̲TO ̲FILE ref. 3.1.10.31
To move address list file to PDB-file (msg file)
UPDAT ̲FILE ̲TAB ref. 3.1.10.17
For update of PDB file table
CHECK ̲CC ref. 3.1.10.35
Checks for serious error after unsuccessful file access
3.2.10.18.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The COMPLETE ̲PDB Procedure interfaces to the following monitor procedures
MON IO MODIFYBYTES
Update of binary header
MON IO UPDATE
To ensure the system knows the files
MON IO APPENDBYTES
To append address list.
MON MTCB READ
Read address list MTCB
MON MTCB RELEAS
Release address list MTCB
MON MTCB RELEASEFILE
Release address list file
MON MTCB WRITE
Update msg MTCB
3.2.10.19 GET ̲BUFF ̲SPACE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.19.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲BUFF ̲SPACE is invoked by the Procedures:
TP ̲MASK ̲IO ref. 3.1.1.6
HEADER ̲INPUT ref. 3.1.1.4
PRMT ̲INT ̲DIST ref. 3.1.10.11
ACC ̲NEW ̲LINE ref. 3.1.2.7
ACC ̲CUR ̲LINE ref. 3.1.2.8
TERMINATE ̲EDIT ref. 3.1.2.10
Input to GET ̲BUFF ̲SPACE
. COMMAND ̲NO (variable)
To indicate caller
. BUFF ̲1 ̲RUN ̲INDEX (variable)
Pointer for text in IO-buffer
Ouput from GET ̲BUFF ̲SPACE
. BUFF ̲1 ̲RUN ̲INDEX (variable)
Updated
. Completion code (register)
In case of error exit (link)
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
The GET ̲BUFF ̲SPACE interfaces to no internal procedures.
3.2.10.19.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲BUFF ̲SPACE Procedure interfaces to the following monitor procedure:
MON IO APPENDBYTES
For appending buffer to PDB msg file
3.2.10.20. GET ̲ALST ̲SPACE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.20.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲ALST ̲SPACE Procedure is invoked by the procedures:
HEADER ̲INPUT ref. 3.1.1.4
ACC ̲NEW ̲LINE ref. 3.1.2.7
ACC ̲CUR ̲LINE ref. 3.1.2.8
Input to GET ̲ALST ̲SPACE
. ALIST ̲RUN ̲PTR (variable)
Pointer address list element in buffer
Output from GET ̲ALST ̲SPACE
. ALIST ̲RUN ̲PTR (variable)
Updated
. Completion code (register)
The GET ̲ALST ̲SPACE Interfaces to the following procedure:
STORE ̲ALIST ref. 3.1.10.21
3.2.10.20.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The GET ̲ALST ̲SPACE has no external interface
3.2.10.21 S̲T̲O̲R̲E̲ ̲A̲L̲I̲S̲T̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.10.21.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The STORE ̲ALIST Procedure is invoked by the procedures:
GET ̲ALST ̲SPACE ref. 3.1.10.20
ACC ̲CUR ̲LINE ref. 3.1.2.9
PREPARE ref. 3.1.1.1
Input to STORE ̲ALIST
. ALIST ̲COUNT (variable)
Size of address list
. MTCB ̲INDEX ̲MSG (variable)
. MTCB ̲INDEX ̲ALIST (variable)
Output from STORE ̲ALIST
. Updated MTCB for address list
. Address list file if needed
. FD ̲ALIST (variable)
Filedescriptor if file created
. Completion code
In case of error exit (link)
. ERROR ̲LABEL (variable)
Error location code
. ERROR ̲CO (variable)
Error code
. ERROR ̲GROUP (variable)
. ERROR ̲NO (variable)
Parameters for error notification to operator
. SEQUENCE ̲NO (variable)
. SUBSEQUENCE ̲NO (variable)
To indicate what to reestablish
Only the variables necessary for the actual error situation are updated
The STORE ̲ALIST interfaces to the following procedure:
CHECK ̲CC ref.3.1.10.35
Checks for serious error after unsuccessful file access
3.2.10.21.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The STORE ̲ALIST Procedure interfaces to the following monitor procedures:
MON MTCB READ
Read MTCB for address list
MON MTCB CREATEFILE
Create file for address list
MON MTCB WRITE
Update MTCB for address list
MON IO APPENDBYTES
Append address list to file
3.2.10.22 PDB ̲MTCB ̲UPDAT Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.22.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PDB ̲MTCB ̲UPDAT Procedure is invoked by the procedure:
PREPARE ref. 3.1.1.1
ACC ̲NEW ̲LINE ref. 3.1.2.7
Input to PDB ̲MTCB ̲UPDAT
. PROMPT ̲LEVEL (variable)
Indicate current prompt
. Prompt answer in buffer
. PROCESS ̲NO (variable)
Terminal number
. MTCB for msg (array)
. Binary header (buffer)
. CHAR ̲COUNT (variable)
Size of msg excl. address list
Output from PDB ̲MTCB ̲UPDAT
. MTCB for msg updated
. Binary header updated (buffer)
. Completion code
The PDB ̲MTCB ̲UPDAT interfaces to no intercal procedures:
3.2.10.22.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PDB ̲MTCB ̲UPDAT interfaces to the following monitor procedure:
MON MTCB WRITE
Update MTCB
3.2.10.23 CH ̲MSG ̲ID Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.23.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CH ̲MSG ̲ID Procedure is invoked by:
EDIT ref. 3.1.2.1
COORDINATE ref. 3.1.3.1
LIST ̲PDB ̲MSG ref. 3.1.4.6
ORIGINATOR ̲RELEASE ref. 3.1.5.2
DELETE ref. 3.1.6.1
Input to CH ̲MSG ̲ID is:
. Command no (variable)
. Sequence no (variable)
. Process no (variable)
. TCB SAVE (variable)
Output from CH ̲MSG ̲ID is:
. Completion code (register)
. ref. to requested
message (variable)
The CH ̲MSG ̲ID Procedure interfaces to the following procedures:
KDB ̲DATA ref. 3.1.10.1
Output prompt and reads the response
SCAN ̲FILE ̲TAB ref. 3.1.10.25
Scans PDBTAB to find requested message
CH ̲MSG ̲CLASS ref. 3.1.10.24
Checks the access rights to the message
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator
3.2.10.23.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲f̲a̲c̲e̲
None
3.2.10.24 CH ̲MSG ̲CLASS Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.24.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CH ̲MSG ̲CLASS Procedure is invoked by:
RELEASER ̲RELEASE ref. 3.1.5.3
COORDINATOR ̲TERM ref. 3.1.3.3
CH ̲MSG ̲ID ref. 3.1.10.23
Input to CH ̲MSG ̲CLASS is:
. MTCB index for message (variable)
. TCB ̲SAVE (variable)
Output from CH ̲MSG ̲CLASS is:
. Completion code (register)
. MTCB read into MTCB ̲BLOCK (variable)
3.2.10.24.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CH ̲MSG ̲CLASS Procedure interfaces to the following monitor procedure:
MON MTCB READ
Reads a MTCB into a buffer
3.2.10.25 SCAN ̲FILE ̲TAB Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.25.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The SCAN ̲FILE ̲TAB Procedure is invoked by:
CH ̲MSG ̲ID ref. 3.1.10.23
Input to SCAN ̲FILE ̲TAB is:
. Process no (variable)
. Message no (register)
. PDBTAB (critical region)
Output from SCAN ̲FILE ̲TAB is:
. PDB-file table read into buffer
. MTCB index (variable)
. Completion code (register)
3.2.10.25.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The SCAN ̲FILE ̲TAB Procedure interfaces to the following monitor procedure:
MON REGION RCOPYN
Reads PDB-file table into a buffer
3.2.10.26 LOAD ̲MSG ̲BUFF Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.26.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The LOAD ̲MSG ̲BUFF Procedure is invoked by:
COORDINATOR ̲TERM ref. 3.1.3.3
Input to LOAD ̲MSG ̲BUFF Procedure is:
. Ref to MTCB index (register)
. Ref to file address (register)
. Buffer size (register)
. Byte offset to first
char to be read (register)
Output from LOAD ̲MSG ̲BUFF Procedure is:
. Byte offset adjusted (register)
. Transferred bytes (register)
. Message in buffer (variable)
. Completion code (register)
3.2.10.26.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The LOAD ̲MSG ̲BUFF Procedure interfaces to the following monitor procedures:
MON MTCB GETFILE
Opens the file
MON IO READBYTES
Reads the message into the buffer
MON MTCB RESERVE
Increments the MTCB-usecount
MON MTCB RELEASEFILE
Closes the file
MON MTCB RELEAS
Releases the MTCB
3.2.10.27 UPDATE ̲PDB ̲LMH Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.27.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The UPDATE ̲PDB ̲LMH Procedure is invoked by:
ORIGINATOR ̲TERM ref. 3.1.3.2
LIST ̲PDB ̲MSG ref. 3.1.4.6
ORIGINATOR ̲RELEASE ref. 3.1.5.2
Input to UPDATE ̲PDB ̲LMH is:
. Process no (variable)
. PDB-file table (critical region)
. message no (variable)
Output from UPDATE ̲PDB ̲LMH is:
. PDB-file table updated (critical region)
. Completion code
3.2.10.27.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The UPDATE ̲PDB ̲LMH Procedure is interfacing to the following monitor procedures:
MON REGION RENTER
Enters PDB-file table region
MON REGION RPUT
Updates PDB-file table region
MON REGION RLEAVE
Leaves the PDB-file table region
3.2.10.28 DISP ̲MESSAGE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.28.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲MESSAGE is invoked by the procedures:
DISP ̲HDB ̲MSG ref. 3.1.4.5
RELEAS ̲RELEASE ref. 3.1.5.3
DISTRIBUTE ref. PSP/0093
Input to DISP ̲MESSAGE
. Ref to MTCB ̲INDEX (register)
. Display mode (register)
. Parameter + text (BUFF ̲2)
for ITRANSFER call,
in case call is DISTRIBUTE
Output from DISP ̲MESSAGE
. Information displayed according to display mode
The DISP ̲MESSAGE Procedure interfaces to the following procedures:
KEYBOARD ̲CTRL ref. 3.1.10.33
Block or unblock keyboard
ICONTROL ref. PSP/0099
Set line mode, set page mode
clear screen, unblock keyboard,
block keyboard
ITRANSFER ref. PSP/0099
Write to terminal
Read from terminal
MES ̲ERROR ref. 3.1.10.2
Display error code
PURGE ̲BUFFER ref. 3.1.10.32
Purge buffers
3.2.10.28.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The DISP ̲MESSAGE Procedure interfaces to the following monitor procedures:
MON MTCB READ
Get dtg
MON MTCB GETFILE
Get filetype and FD
MON IO READBYTES
Read bin head
Read part of message
MON TESTHDB
Check for existence on HDB
MON MTCB RESERVE
MON MTCB RELEASEFILE
MON MTCB RELEAS
3.2.10.29 PETR ̲FM ̲HDB Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.29.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RETR ̲FM ̲HDB Procedure is invoked by one of the following procedures:
RETR ̲DISTRIB ref. 3.1.9.1
READDRESS ref. 3.1.7.1
Input to RETR ̲FM ̲HDB:
- MODULE ̲NO (variable)
Output from RETR ̲FM ̲HDB:
- Completion code (register)
The procedure interfaces to:
KBD ̲DATA ref. 3.1.10.1
When prompting message id or DTG
3.2.10.29.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The RETR ̲FM ̲HDB Procedures interfaces to the monitors:
MTCB
When a retrieve request is sent to SRR
QACCESS
When the MTCB id of the retrieval request is enqueued to SRR
LOG ̲JOURNAL
When logging the retrieval
3.2.10.30 CH ̲SRS ̲FEEDB Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.30.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CH ̲SRS ̲FEEDB Procedure is invoked by one of the procedures:
RETR ̲DISTRIB or ref. 3.1.9.1
READDRESS ref. 3.1.7.1
Input to CH ̲SRS ̲FEEDB: None
Output from CH ̲SRS ̲FEEDB:
in case of successful retrieval the variable MTCB ̲INDEX ̲AUX is updated with the MTCB of the
message.
No internal procedures are called by the procedure
3.2.10.30.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CH ̲SRS ̲FEEDB procedure interfaces to the following monitor procedures:
QACCESS
When the RD-queue is read and when an element is deleted
WAITEVENT
When the RD-queue is empty
MTCB
When inspecting the retrieval results
3.2.10.31 FILE ̲TO ̲FILE Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.31.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The FILE ̲TO ̲FILE Procedure is invoked by the following procedures:
READDRESS ref. 3.1.7.1
COMPLETE ̲PDB ref. 3.1.10.18
Input to FILE ̲TO ̲FILE
. MODULE ̲NO (variable)
Indicate caller
. HDB ̲FLAG (variable)
Indicate if source file is on HDB
. FTF ̲BYTEOFFSET (variable)
Offset on source file if READDRESS
. FTF ̲COUNT (variable)
No of bytes to move
. FD ̲AUXX (variable)
Filedescriptor for source file
. FD ̲MSG (variable)
Filedescriptor for destination file
. HDB ̲BYTEOFFSET (variable)
Startoffset on HDB
Output from FILE ̲TO ̲FILE
. Data appended to msg file
. Completion code
The FILE ̲TO ̲FILE Procedure interfaces to no internal procedures
3.2.10.31.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The FILE ̲TO ̲FILE Procedure interfaces to the following monitor procedures:
MON IO READBYTES
Read from sourcefile
MON IO APPENDBYTES
Append to msg-file
3.2.10.32 PURGE ̲BUFFER Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.32.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PURGE ̲BUFFER Procedure is invoked by the following procedures:
PREPARE ref. 3.1.1.1
TERMINATE ̲EDIT ref. 3.1.2.10
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Input to PURGE ̲BUFFER
NONE
Output from PURGE ̲BUFFER
. IO buffers filled with nulls
. Completion code (register)
The PURGE ̲BUFFER Procedure interfaces to no internal procedures
3.2.10.32.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.33 KEYBOARD ̲CTRL Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.33.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The KEYBOARD ̲CTRL Procedure is invoked by the procedures:
QUEUE ̲INDEX ref. 3.1.4.2
DISP ̲MESSAGE ref. 3.1.10.28
PDB ̲MSG ̲STATUS ref. 3.1.4.3
Input to KEYBOARD ̲CTRL
. Block or unblock cmd (register)
Output from KEYBOARD ̲CTRL
. Terminal keyboard blocked or unblocked
. Completion code
The KEYBOARD ̲CTRL Procedure interfaces to the following procedures:
ICONTROL ref. PSP/0099
Send control codes to terminal
3.2.10.33.1 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
None
3.2.10.34 MES ̲CHECKP Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.34.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The MES ̲CHECKP Procedure is invoked by:
TERMINATE ̲EDIT ref. 3.1.2.10
RELEASE ̲TO ̲MDS ref. 3.1.5.4
DELETE ref. 3.1.6.1
READDRESS ref. 3.1.7.1
PREPARE ref. 3.1.1.1
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Input to MES ̲CHECKP Procedure is:
. Checkpoint code (register)
. MTCB index (register)
. Term no (register)
. Queue no (register)
. Name of checkpoint
process (variable)
3.2.10.34.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The MES ̲CHECKP Procedure interfaces to the following monitor procedures:
MON SENDMESSAGE
Sends message to Checkpoint process
MON WAITANSWER
Waits for answer from Checkpoint process
MON ERROR
Terminates the process in case of a serious error
7.2.10.35 CHECK ̲CC Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.35.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CHECK ̲CC Procedure is invoked by:
PREPARE ref. 3.1.1.1
READ ̲INPUT ref. 3.1.1.5
TP ̲MASK ̲IO ref. 3.1.1.6
EDIT ref. 3.1.2.1
TERMINATE ̲EDIT ref. 3.1.2.10
ORIGINATOR ̲TERM ref. 3.1.3.2
COORDINATOR ̲TERM ref. 3.1.3.3
RELEASER ̲RELEASE ref. 3.1.5.3
RELEASE ̲TO ̲MDS ref. 3.1.5.4
READDRESS ref. 3.1.7.1
CR ̲NEW ̲MESSAGE ref. 3.1.10.4
COMPLETE ̲PDB ref. 3.1.10.18
GET ̲BUFF ̲SPACE ref. 3.1.10.19
STORE ̲ALIST ref. 3.1.10.21
FILE ̲TO ̲FILE ref. 3.1.10.31
Input to CHECK ̲CC is:
. Error code (variable)
Output from CHECK ̲CC is:
N/A
3.2.10.35.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The CHECK ̲CC Procedure interfaces to the following monitor procedures:
MON ̲ERROR
Terminates process in case of a serious error
MON WAITEVENT
Waits 5 sec. before returning
3.2.10.36 PRMT ̲ZPW ̲DTG Procedure
…0e……0e… ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲…0f……0f…
3.2.10.36.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PRMT ̲ZPW ̲DTG procedure is inwoked by:
HEADER ̲INPUT ref. 3.1.1.4
Input to PRMT ̲ZPW ̲DTG is:
* The message during preparation
* Prompt level
* Command no.
* Sequence no.
Output from PRMT ̲ZPW ̲DTG is:
* Message updated according to operators input
The PRMT ̲ZPW ̲DTG procedure interfaces to the following procedures:
KBD ̲DATA ref. 3.1.10.1
outputs the prompt ZPW ̲ and reads the response.
MES ̲ERROR ref. 3.1.10.2
Issues an error code to the operator.
3.2.10.36.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
none.
3.2.11 P̲A̲S̲ ̲m̲o̲d̲u̲l̲e̲
3.2.11.1 I̲n̲t̲e̲r̲n̲a̲l̲ ̲i̲n̲t̲e̲r̲f̲a̲c̲e̲
The PAS module is invoked by the module:
TEP ̲MAIN Ref. PSP/0099
I̲n̲p̲u̲t̲ ̲t̲o̲ ̲P̲A̲S̲:̲
o Command no. (register)
o Module no. (register)
o Submodule no. (register)
To indicate kind of preparation (PAS)
o Process no. (variable)
terminal no.
o TCB ̲SAVE (Array)
terminal status
o PDB TAB (crit.region)
PDB File table for temporary use.
O̲u̲t̲p̲u̲t̲ ̲f̲r̲o̲m̲ ̲P̲A̲S̲
o Completion code (register)
o PDB TAB (crit. region)
o A complete PDB msg queued to MDS
The PAS procedure interfaces to the following procedures:
CR ̲NEW ̲MESSAGE ref. 3.1.10.4
Creates an alist MTCB, msg MTCB, msg file and assigns a msgid to the msg.…86…W
…02… …02… …02… …02… …02… …02…
STORE ̲ALIST ref. 3.1.10.21
Stores the address list in MTCB
READ ̲INPUT ref. 3.1.1.5
Transfers text input from terminal to file
PRMT ̲DTG ref. 3.1.10.15
Reads actual DTG from system clock
COMPLETE ̲PDB ref. 3.1.10.18
Appends the address list to the msg file.
Updates binary header, MTCB, and PDB TAB
ORIGI ̲RELEASE ref. 3.1.5.2
Releases msg, i.e. enqueues it to MDS,
updates PDB TAB, and displays release time.
CANCEL ̲FIX ̲UP ref. 3.1.10.3
Reestablish condition as before PAS was entered.
Used in case of error or cancel.
3.2.11.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
The PAS 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.3 P̲r̲o̲c̲e̲s̲s̲i̲n̲g̲
The following flow-charts are divided into sections as mentioned in 3.1
Example
3.3.4.2
module level procedure level
her skal sidde 194 sider af flowcharts
3.4 D̲a̲t̲a̲ ̲O̲r̲g̲a̲n̲i̲z̲a̲t̲i̲o̲n̲ ̲I̲O̲-̲b̲u̲f̲f̲e̲r̲s̲ ̲d̲u̲r̲i̲n̲g̲ ̲h̲e̲a̲d̲e̲r̲ ̲p̲r̲e̲p̲a̲r̲a̲t̲i̲o̲n̲
The general IO-buffer (BUFF ̲1 and BUFF ̲2) are used in the following way during header preparation:
A
B
C
D
E
F
G
BUFF ̲1 BUFF ̲2
The BUFF ̲1 is used to build up the header line by line.
BUFF ̲2 is split up in several pieces:
A: is used to build up the address list line by line.
B: is used to save an incore copy of the state event table (STEVTB)
C: is used as a work area for monitor call's (e.g. GETDTG, INTASC)
D: is used as a work area too, when C is not big enough or when two work areas are needed.
E: is used as user record i.e. when prompting the operator, his response will be returned
in a converted form in this field.
F: is used as prompt buffer i.e. when prompting the operator, the prompt and the response
will be in this field.
G: is used to build up the binary header.
I̲O̲-̲b̲u̲f̲f̲e̲r̲s̲ ̲d̲u̲r̲i̲n̲g̲ ̲m̲e̲s̲s̲a̲g̲e̲ ̲t̲e̲x̲t̲ ̲p̲r̲e̲p̲a̲r̲a̲t̲i̲o̲n̲
The general IO-buffers (BUFF ̲1 and BUFF ̲2) are used as double buffers during text preparation.
I̲O̲-̲b̲u̲f̲f̲e̲r̲ ̲d̲u̲r̲i̲n̲g̲ ̲e̲d̲i̲t̲
A A
B
C
B D
E
F
C G
BUFF ̲1 BUFF ̲2
The general IO-buffers (BUFF ̲1 and BUFF ̲2) are used in the following way during edit:
BUFF ̲1 is split up in several pieces:
A: is used to build the new message one line at a time.
B: is used when reading parts of the old message
C: is used to store the binary header of the old message
For BUFF ̲2 ref. to IO-buffer during header preparation
For other variables please refer to source listings.
3.5 S̲t̲o̲r̲a̲g̲e̲ ̲A̲l̲l̲o̲c̲a̲t̲i̲o̲n̲
N/A
3.6 P̲e̲r̲f̲o̲r̲m̲a̲n̲c̲e̲ ̲C̲h̲a̲r̲a̲c̲t̲e̲r̲i̲s̲t̲i̲c̲s̲
N/A
3.7 L̲i̲m̲i̲t̲a̲t̲i̲o̲n̲s̲
N/A
3.8 E̲r̲r̲o̲r̲ ̲C̲o̲d̲e̲s̲/̲E̲r̲r̲o̲r̲ ̲L̲o̲c̲a̲t̲i̲o̲n̲s̲ ̲
In case of an operator error the MES will issue an error notification to the operator. It
will have the following format:
? -X : YYY
where X will identify the type of the error (e.g. syntax error, security error) and YYY will
be the error code.
MES error codes are listed below
inds`ttes 3 sider
When a monitor procedure returns with an error, this error code will be reported on the consol
together with an error label which points out the location in the MES code. The error labels
are listed below:
inds`ttes 21 sider for EDB
3.9 L̲i̲s̲t̲i̲n̲g̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲
Please refer to the SCCLDD Document
4 Q̲U̲A̲L̲I̲T̲Y̲ ̲A̲S̲S̲U̲R̲A̲N̲C̲E̲
4.1 Q̲u̲a̲l̲f̲i̲c̲a̲t̲i̲o̲n̲ ̲T̲e̲s̲t̲s̲
Please refer to:
System Test Report S010 FIX/0000/TRP/0085
System Test Report S020 FIX/0000/TRP/0086
4.2 O̲t̲h̲e̲r̲ ̲Q̲u̲a̲l̲i̲t̲y̲ ̲A̲s̲s̲u̲r̲a̲n̲c̲e̲ ̲P̲r̲o̲v̲i̲s̲i̲o̲n̲s̲
N/A
5 P̲R̲E̲P̲A̲R̲A̲T̲I̲O̲N̲S̲ ̲F̲O̲R̲ ̲D̲E̲L̲I̲V̲E̲R̲Y̲
Please refer to the SCCLDD Document
6 N̲O̲T̲E̲S̲
N/A
7 A̲P̲P̲E̲N̲D̲I̲C̲E̲S̲
N/A
Fig. 3.3.10.7 Processing…01…PRMT ̲FM ̲ADR
Fig. 3.3.10.8 Processing…01…PRMT ̲TO ̲ADR
Fig. 3.3.10.8 Processing…01…PRMT ̲TO ̲ADR/SET ̲PLAIN ̲ADR Procedure
Fig. 3.3.10.8 Processing…01…PRMT ̲TO ̲ADR/SET ̲ALIST ̲Procedure
Fig. 3.3.10.10 Processing…01…PRMT ̲INFO ̲ADR
Fig. 3.3.10.35 …01…CHECK ̲CC
Fig. 3.3.11 …01…Processing
Fig. 3.3.11.1 …01…PAS MAIN Module
Fig. 3.3.11.2 …01…CRE ̲HEADER (PAS)
Fig. 3.3.11.1 …01…PAS MAIN Module