top - download
⟦9e04abbec⟧ Wang Wps File
Length: 49896 (0xc2e8)
Types: Wang Wps File
Notes: FIX/1161/PSP/0051 (I)
Names: »3448A «
Derivation
└─⟦a0a781934⟧ Bits:30006149 8" Wang WCS floppy, CR 0333A
└─ ⟦this⟧ »3448A «
WangText
…0b……00……00……00……00…<…0a……00……00…<…0b…<…0d…<…0f……12……0d……12……05……11……0c……11……02……10……09……10……00……0f……08……0f……00……0f……05……0e……08……0e……0b……0e……0c……0e……0d……0e……00……0e…
…0e……06……0d……0a……0d……0d……0d……01……0d… …0c……08……0c……0b……0c……0e……0c……0f……0c……02……0c……05……0c……07……0b……0a……0b……0d……86…1 …02… …02… …02…
3448A…02…FIX/1161/PSP/0051
…02…JJJ/890607…02……02…#
FIKS HSP SUBSYSTEM PSP
…02…MLA/840224…02…FK 7809
FIKS HSP SUBSYSTEM PSP
FIX/1161/PSP/0051
AK
FMK
FMK(5), AMC (4)
FIKS S/W Mgr. 890607
FIKS Conf. Mgr. 890607
1.1
890607
3448A/0333A…02…FIX/1161/PSP/0051
…02…JJJ/890607…02……02…ii
FIKS HSP SUBSYSTEM PSP
…02…MLA/840224…02…FK 7809
840224 All First Issue of Document
890607 DCN 1 Changed in accordance
with
…02……02……02……02… ordre no: 02/88
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…iii
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
1 SCOPE ......................................... 1
1.1 Introduction .............................. 1
1.2 Abbreviations ............................. 4
2 APPLICABLE DOCUMENTS .......................... 5
3 MODULE SPECIFICATION .......................... 6
3.1 Functional Capabilities ................... 6
3.1.1 HSP ̲MAIN .............................. 6
3.1.1.1 HSP ̲MAIN Module ................... 6
3.1.1.2 HSP ̲CHECKP Procedure .............. 7
3.1.1.3 ERR ̲HANDL Procedure ............... 7
3.1.2 HSP ̲MFUNC ............................. 7
3.1.2.1 CREATE ̲ROP Procedure .............. 7
3.1.2.2 GET ̲TERMINAL ̲QNO Procedure ........ 7
3.1.3 PR.FUNCO1 ............................. 8
3.1.3.1 GET ̲LOGPAR Procedure .............. 8
3.1.3.2 PR ̲EPM Procedure .................. 8
3.1.3.3 PR ̲FIXMSG Procedure ............... 8
3.1.4 PR FUNC02 ............................. 9
3.1.4.1 PR ̲TEXT Procedure ................. 9
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…iv
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.1.5 PRINT ̲UTIL ............................ 9
3.1.5.1 WAIT ̲LOCAL ̲FIXUP Procedure ........ 9
3.1.5.2 ADD ̲BYBU Procedure ................ 10
3.1.5.3 OUTPUT ̲BUF Procedure .............. 10
3.1.5.4 BIN ̲DEC Procedure ................. 10
3.1.5.5 PR ̲TEXTBUF Procedure .............. 10
3.1.5.6 OUTP ̲TEXT Procedure ............... 11
3.1.5.7 SETPOSITION ̲PR Procedure .......... 11
3.1.5.8 INREC ̲PR Procedure ................ 11
3.1.5.9 INLINE ̲PR Procedure ............... 11
3.1.5.10 PR ̲LF Procedure ................. 11
3.1.6 PRINT CM .............................. 12
3.1.6.1 SET ̲TRUNK ̲LOAD Procedure .......... 12
3.1.6.2 SET ̲DTG ̲O ̲MSG Procedure ........... 12
3.1.6.3 WRITE ̲LINE Procedure .............. 12
3.1.6.4 FILL ̲HEAD Procedure ............... 12
3.1.6.5 WRITE ̲HEAD Procedure .............. 13
3.1.6.6 PR ̲NODE ̲STA Procedure ............. 13
3.1.6.7 PR ̲MEDE ̲STA Procedure ............. 14
3.1.6.2 PR ̲OLD ̲STA Procedure .............. 14
3.1.6.9 PRINT ̲CM Procedure ................ 15
3.1.7 PR CHECKP Procedure ................... 16
3.1.8 MTCB ̲MINIT ............................ 16
3.1.9 IO .................................... 17
3.1.9.1 READ ̲QE Procedure ................ 17
3.1.9.2 DELETE ̲QE Procedure ............... 17
3.1.9.3 READ ̲MTCB Procedure ............... 17
3.1.10 GET ̲NN ̲ID ̲TR Procedure .............. 18
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…v
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.2 INTERFACE DESCRIPTION ..................... 19
3.2.1 HSP ̲MAIN .............................. 19
3.2.1.1 HSP ̲MAIN ̲MODULE ................... 19
3.2.1.1.1 INTERNAL INTERFACE ............ 19
3.2.1.1.2 EXTERNAL INTERFACE ............ 21
3.2.1.2 HSP ̲CHECKP Procedure .............. 22
3.2.1.2.1 INTERNAL INTERFACE ............ 22
3.2.1.2.2 EXTERNAL INTERFACE ............ 23
3.2.1.3 ERR ̲HANDL Procedure ............... 24
3.2.1.3.1 INTERNAL INTERFACE ............ 24
3.2.1.3.2 EXTERNAL INTERFACE ............ 24
3.2.2 HSP ̲MFUNC ............................. 25
3.2.2.1 CREATE ̲ROP Procedure .............. 25
3.2.2.1.1 INTERNAL INTERFACE ............ 25
3.2.2.1.2 EXTERNAL INTERFACE ............ 26
3.2.2.2 GET ̲TERMINAL ̲QNO Procedure ........ 27
3.2.2.2.1 INTERNAL INTERFACE ............ 27
3.2.2.2.2 EXTERNAL INTERFACE ............ 27
3.2.3 PR ̲FUNCO1 ............................. 28
3.2.3.1 GET ̲LOG ̲PR Procedure .............. 28
3.2.3.1.1 INTERNAL INTERFACE ............ 28
3.2.3.1.2 EXTERNAL INTERFACE ............ 29
3.2.3.2 PR ̲EPM Procedure .................. 30
3.2.3.2.1 INTERNAL INTERFACE ............ 30
3.2.3.2.2 EXTERNAL INTERFACE ............ 31
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…vi
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.2.3.3 PR ̲FIXMS6 Procedure ............... 32
3.2.3.3.1 INTERNAL INTERFACE ............ 32
3.2.3.3.2 EXTERNAL INTERFACE ............ 33
3.2.4 PR ̲FUNCO2 ............................. 34
3.2.4.1 PR ̲TEXT Procedure ................. 34
3.2.4.1.1 INTERNAL INTERFACE ............ 34
3.2.4.1.2 EXTERNAL INTERFACE ............ 35
3.2.5.1 WAIT ̲LOCAL ̲FIXUP Procedure ........ 36
3.2.5.1.1 INTERNAL INTERFACE ............ 36
3.2.5.1.2 EXTERNAL INTERFACE ............ 36
3.2.5.2 ADD ̲BYBU Procedure ................ 37
3.2.5.2.1 INTERNAL INTERFACE ............ 37
3.2.5.2.2 EXTERNAL INTERFACE ............ 37
3.2.5.3 OUTPUT ̲BUF Procedure .............. 38
3.2.5.3.1 INTERNAL INTERFACE ............ 38
3.2.5.3.2 EXTERNAL INTERFACE ............ 38
3.2.5.4 BIN ̲DEC Procedure ................. 39
3.2.5.4.1 INTERNAL INTERFACE ............ 39
3.2.5.4.2 EXTERNAL INTERFACE ............ 39
3.2.5.5 PR ̲TEXTBUF Procedure .............. 40
3.2.5.5.1 INTERNAL INTERFACE ............ 40
3.2.5.5.2 EXTERNAL INTERFACE ............ 41
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…vii
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.2.5.6 OUTP ̲TEXT Procedure ............... 42
3.2.5.6.1 INTERNAL INTERFACE ............ 42
3.2.5.6.2 EXTERNAL INTERFACE ............ 42
3.2.5.7 SETPOSITION ̲PR Procedure .......... 43
3.2.5.7.1 INTERNAL INTERFACE ............ 43
3.2.5.7.2 EXTERNAL INTERFACE ............ 43
3.2.5.8 INREC ̲PR Procedure ................ 44
3.2.5.8.1 INTERNAL INTERFACE ............ 44
3.2.5.8.2 EXTERNAL INTERFACE ............ 44
3.2.5.9 INLINE ̲PR Procedure ............... 45
3.2.5.9.1 INTERNAL INTERFACE ............ 45
3.2.5.9.2 EXTERNAL INTERFACE ............ 45
3.2.5.10 PR ̲LF Procedure ................. 46
3.2.5.10.1 INTERNAL INTERFACE .......... 46
3.2.5.10.2 EXTERNAL INTERFACE .......... 46
3.2.6 PRINT ̲CM .............................. 47
3.2.6.1 SET ̲TRUNK ̲LOAD Procedure .......... 47
3.2.6.1.1 INTERNAL INTERFACE ............ 47
3.2.6.1.2 EXTERNAL INTERFACE ............ 47
3.2.6.2 SET ̲DT6 ̲O ̲MS6 Procedure ........... 48
3.2.6.2.1 INTERNAL INTERFACE ............ 48
3.2.6.2.2 EXTERNAL INTERFACE ............ 48
3.2.6.3 WRITE ̲LINE Procedure .............. 49
3.2.6.3.1 INTERNAL INTERFACE ............ 49
3.2.6.3.2 EXTERNAL INTERFACE ............ 49
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…viii
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.2.6.4 FILL ̲HEAD Procedure ............... 50
3.2.6.4.1 INTERNAL INTERFACE ............ 50
3.2.6.4.2 EXTERNAL INTERFACE ............ 51
3.2.6.5 WRITE ̲HEAD Procedure .............. 52
3.2.6.5.1 INTERNAL INTERFACE ............ 52
3.2.6.5.2 EXTERNAL INTERFACE ............ 53
3.2.6.6 PR ̲NODE ̲STA Procedure ............. 54
3.2.6.6.1 INTERNAL INTERFACE ............ 54
3.2.6.6.2 EXTERNAL INTERFACE ............ 55
3.2.6.7 PR ̲MEDE ̲STA Procedure ............. 56
3.2.6.7.1 INTERNAL INTERFACE ............ 56
3.2.6.7.2 EXTERNAL INTERFACE ............ 57
3.2.6.8 PR ̲OLD ̲STA Procedure .............. 58
3.2.6.8.1 INTERNAL INTERFACE ............ 58
3.2.6.8.2 EXTERNAL INTERFACE ............ 58
3.2.6.9 PRINT ̲CM Procedure ................ 59
3.2.6.9.1 INTERNAL INTERFACE ............ 59
3.2.6.9.2 EXTERNAL INTERFACE ............ 60
3.2.7 PR ̲CHECK .............................. 61
3.2.7.1 INTERNAL INTERFACE ................ 61
3.2.7.2 EXTERNAL INTERFACE ................ 62
3.2.8 MTCBINIT .............................. 63
3.2.8.1 INTERNAL INTERFACE ................ 63
3.2.8.2 EXTERNAL INTERFACE ................ 63
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…ix
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.2.9 IO .................................... 64
3.2.9.1 READ ̲QE Procedure ................. 64
3.2.9.1.1 INTERNAL INTERFACE ............ 64
3.2.9.1.2 EXTERNAL INTERFACE ............ 64
3.2.9.2 DELETE ̲QE Procedure ............... 65
3.2.9.2.1 INTERNAL INTERFACE ............ 65
3.2.9.2.2 EXTERNAL INTERFACE ............ 65
3.2.9.3 READ ̲MTCB Procedure ............... 66
3.2.9.3.1 INTERNAL INTERFACE ............ 66
3.2.9.3.2 EXTERNAL INTERFACE ............ 66
3.2.10 GET̲ NN ̲ID ̲TR Procedure .............. 67
3.2.10.1 INTERNAL INTERFACE .............. 67
3.2.10.2 EXTERNAL INTERFACE .............. 67
3.3 PROCESSING................................. 68
3.3.1 HSP ̲MAIN .............................. 68
3.3.1.1 HSP ̲MAIN Module ................... 69
3.3.1.2 HSP ̲CHECKP Procedure .............. 72
3.3.1.3 ERR ̲HANDL. Procedure .............. 73
3.3.2 HSP ̲MFUNC ............................. 74
3.3.2.1 CREATE ̲ROP Procedure .............. 75
3.3.2.2 GET ̲TERMINAL ̲QNO Procedure ........ 76
3.3.3 PR ̲FUNC01 ............................. 77
3.3.3.1 GET ̲LOGPAR Procedure .............. 78
3.3.3.2 PR ̲EPM Procedure .................. 79
3.3.3.3 PR ̲FIXMSG Procedure ............... 81
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…x
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.3.4 PR ̲FUNC02 ............................. 83
3.3.4.1 PR ̲TEXT Procedure ................. 84
3.3.5 PRINT ̲UTIL ............................ 85
3.3.5.1 WAIT ̲LOCAL ̲FIXUP Procedure ........ 86
3.3.5.2 ADD ̲BYBU Procedure ................ 87
3.3.5.3 OUTPUT ̲BUF Procedure .............. 88
3.3.5.4 BIN ̲DEC Procedure ................. 89
3.3.5.5 PR ̲TEXTBUF Procedure .............. 90
3.3.5.6 OUTP ̲TEXT Procedure ............... 91
3.3.5.7 SETPOSITION ̲PR Procedure .......... 92
3.3.5.8 INREC ̲PR Procedure ................ 93
3.3.5.9 INLINE ̲PR Procedure ............... 94
3.3.5.10 PR ̲LF Procedure ................. 95
3.3.6 PRINT ̲CM .............................. 96
3.3.6.1 SET ̲TRUNK ̲LOAD Procedure .......... 97
3.3.6.2 SET ̲DTG ̲O ̲MSG Procedure ........... 98
3.3.6.3 WRITELINE Procedure ............... 99
3.3.6.4 FILL ̲HEAD Procedure ............... 100
3.3.6.5 WRITE ̲HEAD Procedure .............. 101
3.3.6.6 PR ̲NODE ̲STA Procedure ............. 102
3.3.6.7 PR ̲MEDE ̲STA Procedure ............. 104
3.3.6.8 PR ̲OLD ̲STA Procedure .............. 105
3.3.6.9 PR ̲INT ̲CM Procedure ............... 106
3.3.7 PR ̲CHECKP Procedure ................... 107
3.3.8 MTCBMINIT Procedure ................... 108
3.3.9 IO .................................... 109
3.3.9.1 READ ̲QE Procedure ................. 110
3.3.9.2 DELETE ̲QE Procedure ............... 111
3.3.9.3 READ ̲MTCB Procedure ............... 112
3448A…02…FIX/1161/PSP/0051
…02…MLA/840224…02……02…xi
FIKS HSP SUBSYSTEM PSP
…02……02…FK 7809
3.3.10 GET ̲NN ̲ID ̲TR Procedure .............. 113
3.4 DATA ORGANIZATION ......................... 114
3.5 STORAGE ALLOCATION ........................ 114
3.6 PERFORMANCE CHARACTERISTICS ............... 114
3.7 LIMITATIONS ............................... 114
3.8 ERROR CODES/ERROR LOCATIONS ............... 115
3.9 LISTING REFERENCE ......................... 117
4 Q̲UALITY ASSURANCE ............................. 118
4.1 QUALIFICATION TESTS ....................... 118
4.2 OTHER QUALITY ASSURANCE PROVISIONS ........ 118
5 PREPARATION FOR DELIVERY ...................... 119
6 NOTES ......................................... 120
7 APPENDICES .................................... 121
1 S̲C̲O̲P̲E̲
This document describes the function of the HSP Subsystem
1.1 I̲n̲t̲r̲o̲d̲u̲c̲t̲i̲o̲n̲
The HSP Print functions are categorized as follows:
A: L̲o̲g̲g̲i̲n̲g̲:
The following SCC events are logged:
o Incoming control messages
o Operator command events
o NICS-TARE link events (protocol error)
o Timed events (status polling errors)
o Statistics events (storing of statistical data)
o Intercept events
o Routing control events (generation of new routing tables)
B: H̲o̲u̲r̲ ̲R̲e̲p̲o̲r̲t̲ ̲P̲r̲i̲n̲t̲i̲n̲g̲:̲
The contents of the following hour reports are printed whenever received by the SCC.
o NODE hour report
o MEDE hour report
C: P̲r̲i̲n̲t̲o̲u̲t̲s̲ ̲R̲e̲q̲u̲e̲s̲t̲e̲d̲ ̲b̲y̲ ̲t̲h̲e̲ ̲O̲p̲e̲r̲a̲t̲o̲r̲:̲
The operator can request printouts of the following information:
I: Contents of a narrative message in the intercept queue.
II: On-line diagnostics requested from a MEDE.
III: ANO Index table
IV: AIG index table
S̲u̲b̲s̲y̲s̲t̲e̲m̲ ̲O̲v̲e̲r̲v̲i̲e̲w̲ ̲B̲l̲o̲c̲k̲ ̲D̲i̲a̲g̲r̲a̲m̲
As seen on Figure 1, the HSP subsystem consists of three processes (HSPP01-HSPP03). Each
process (executing the same program HSPP00) prints the data received from a queue group on
a corresponding printer.
Figure 1
HSP Processes
1.2 A̲b̲b̲r̲e̲v̲i̲a̲t̲i̲o̲n̲s̲
Please refer to:
FIKS DATA I/F REF. FIX/0100/MAN/0004
2 A̲P̲P̲L̲I̲C̲A̲B̲L̲E̲ ̲D̲O̲C̲U̲M̲E̲N̲T̲S̲
FIKS DATA I/F REF FIX/0100/MAN/0004
FIKS S/W CONF.CNTRL.LIB.
DESCR.DOC FIX/1000/EWP/0080
CHECKP SUBSYSTEM PSP FIX/1100/PSP/0041
CONV ̲DTG MONITOR PSP FIX/1256/PSP/0039
DOI SUBSYSTEM PSP FIX/1161/PSP/0043
GET ̲DTG MONITOR PSP FIX/1256/PSP/0049
INTASC MONITOR PSP FIX/1256/PSP/0052
INTERCEPT SUBSYSTEM PSP FIX/1164/PSP/0053
PACK ̲MON MONITOR PSP FIX/1266/PSP/0074
RDF MONITOR PSP FIX/1256/PSP/0081
SCCM SUBSYSTEM PSP FIX/1266/PSP/0089
SYSTEM TEST REP. SP50 FIX/0000/TRP/0081
EVA SUBSYSTEM PSP FIX/1161/PSP/0047
System Design Specification for the
Retransmission Procedure FXA/SDS/004
3 M̲O̲D̲U̲L̲E̲ ̲S̲P̲E̲C̲I̲F̲I̲C̲A̲T̲I̲O̲N̲
3.1 F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲C̲a̲p̲a̲b̲i̲l̲i̲t̲i̲e̲s̲
3.1.1 H̲S̲P̲ ̲M̲A̲I̲N̲
3.1.1.1 H̲S̲P̲ ̲M̲A̲I̲N̲ ̲M̲o̲d̲u̲l̲e̲
The function of the HSP ̲MAIN Module is to initiate the HSP process (i.e. create a channel
to the Receive only Printer (ROP)) and to receive a print request in a queue or as a message.
When the print request is received it is determined what type of print is requested:
. PR ̲EPM
. PR ̲FIXMSG
. PR ̲TEXT
. PR ̲CHECKP
A print procedure according to the print type is invoked.
3.1.1.2 H̲S̲P̲ ̲C̲H̲E̲C̲K̲P̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the HSP ̲CHECKP Procedure is to checkpoint the deletion of an intercepted
narrative message. The checkpoint log for the deletion is also printed.
3.1.1.3 E̲R̲R̲ ̲H̲A̲N̲D̲L̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The ERR ̲HANDL Procedure terminates the process.
3.1.2 H̲S̲P̲ ̲M̲F̲U̲N̲C̲
3.1.2.1 C̲R̲E̲A̲T̲E̲ ̲R̲O̲P̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the CREATE ̲ROP procedure is:
. To create a channel to the ROP
. Reset the channel to the ROP
. Issue 10 blank lines on the ROP
3.1.2.2 G̲E̲T̲ ̲T̲E̲R̲M̲I̲N̲A̲L̲ ̲Q̲N̲O̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the GET ̲TERMINAL ̲QNO proceudre is to calculate the next terminal queue number
to be polled.
3.1.3 P̲R̲ ̲F̲U̲N̲C̲O̲1̲
3.1.3.1 G̲E̲T̲ ̲L̲O̲G̲P̲A̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the GET ̲LOGPAR procedure is to convert the parameters which has to be logged
to an ASCII - string and moves it to the output-buffer.
3.1.3.2 P̲R̲ ̲E̲P̲M̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲EPM procedure is to compose and print a Log String. When an entry
in the log queue is made.
3.1.3.3 P̲R̲ ̲F̲I̲X̲M̲S̲G̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲FIXMSG Procedure is to print:
. Node hour report
. Mede hour report
. result of operator initiated online diagnostics
. Narrative messages in intercept
- If the retransmission flag is true, then use the
old address list offset when processing the text
part of the message to avoid that the old address
list is included as text.
3.1.4 P̲R̲ ̲F̲U̲N̲C̲0̲2̲
3.1.4.1 P̲R̲ ̲T̲E̲X̲T̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲TEXT Proceudre is to print:
. ANO tables
. AIG tables
The tables will be printed on operator request in the DOI procedures.
3.1.5 P̲R̲I̲N̲T̲ ̲U̲T̲I̲L̲
3.1.5.1 W̲A̲I̲T̲ ̲L̲O̲C̲A̲L̲ ̲F̲I̲X̲U̲P̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the WAIT ̲LOCAL ̲FIXUP Procedure is to log an error, when an IO-call has failed.
In case the fixup action, on the error, has to be done local in the HSP Procaess, the processing
will be delayed in 2 minutes before the program will return to the calling procedure.
3.1.5.2 A̲D̲D̲ ̲B̲Y̲B̲U̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the ADD-BYBU procedure is to move data from one buffer to the output buffer.
Overflow in the output buffer will result in an error.
3.1.5.3 O̲U̲T̲P̲U̲T̲ ̲B̲U̲F̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the OUTPUT ̲BUF Procedure is to output the content of the Output-buffer.
A short chap, byte count and new line will be inserted.
3.1.5.4 B̲I̲N̲ ̲D̲E̲C̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The BIN ̲DEC Procedure converts an integer to an ASCII string.
The no. of digits to be returned can be specified.
3.1.5.5 P̲R̲ ̲T̲E̲X̲T̲B̲U̲F̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲TEXTBUF Procedure is to print the content of the read buffer and a
line no-count. The line no count will be incremented each time the procedure is invoked.
3.1.5.6 O̲U̲T̲P̲ ̲T̲E̲X̲T̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The OUTP ̲TEXT Procedure moves the content of the read buffer to the output buffer and prints
this.
3.1.5.7 S̲E̲T̲P̲O̲S̲I̲T̲I̲O̲N̲ ̲P̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The SETPOSITION ̲PR Procedure updates the file address when data for print has to be read
from a file.
3.1.5.8 I̲N̲R̲E̲C̲ ̲P̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the INREC ̲PR Procedure is to read a record from a file into a buffer.
3.1.5.9 I̲N̲L̲I̲N̲E̲ ̲P̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the INLINE ̲PR Procedure is to read a line from a file into a buffer.
3.1.5.10 P̲R̲ ̲L̲F̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲LF is to print a number of blank lines.
The number can be any number between 1 and 42.
3.1.6 P̲R̲I̲N̲T̲ ̲C̲M̲
3.1.6.1 S̲E̲T̲ ̲T̲R̲U̲N̲K̲ ̲L̲O̲A̲D̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the SET ̲TRUNK ̲LOAD Procedure is to convert trunk loads for each procedence
level at one trunk. The trunk loads are read from the node hour report and build up, formatted,
in the line buffer for later printout
3.1.6.2 S̲E̲T̲ ̲D̲T̲G̲ ̲O̲ ̲M̲S̲G̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the SET ̲DTG ̲O ̲MSG Procedure is to convert DTG's and build up the line buffer
for print out.
The DTG's are read from the node- or mede hour reports
3.1.6.3 W̲R̲I̲T̲E̲ ̲L̲I̲N̲E̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The WRITE ̲LINE Procedure is used to output a line of the node- or the mede hour report.
3.1.6.4 F̲I̲L̲L̲ ̲H̲E̲A̲D̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the FILL ̲HEAD Procedure is to load the report into a buffer, update head
buffer with originator and DTG and to reset the line buffer
3.1.6.5 W̲R̲I̲T̲E̲ ̲H̲E̲A̲D̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the WRITE ̲HEAD Procedure is to print the head buffer after it has been updated
by the
FILL ̲HEAD Procedure.
3.1.6.6 P̲R̲ ̲N̲O̲D̲E̲ ̲S̲T̲A̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲NODE ̲STA Procedure is to format and print the NODE HOUR REPORT. A
header will be printed containing originator and DTG of report.
The report itself will be printed line by line, each line containing:
. Trunk id
. Retransmission rate
. No of messages on each precedence level
. DTG of oldest message in trunkqueue of each procedure
3.1.6.7 P̲R̲ ̲M̲E̲D̲E̲ ̲S̲T̲A̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲MEDE ̲STA Procedure is to format and print the hour report from the
MEDE.
A header buffer is loaded with originator and DTG and printed.
The report itself will be printed line by line, each line containing:
. Terminal id
. DTG of oldest message in printqueue at each precedence level of terminal.
3.1.6.2 P̲R̲ ̲O̲L̲D̲ ̲S̲T̲A̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲OLD ̲STA Procedure is to format and print the result of an operator
initiated on-line diagnostics. The header will be loaded with the originator and the DTG.
The information to be printed are:
. CPU0 status
. CPU1 status
. RAM status
. PROM status
3.1.6.9 P̲R̲I̲N̲T̲ ̲C̲M̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PRINT ̲CM Procedure is to format and print:
. Node hour report
. Mede hour report
. On-line diagnostic result
3.1.7 P̲R̲ ̲C̲H̲E̲C̲K̲P̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the PR ̲CHECKP Procedure is to format and print a checkpoint message when
a narrative message is intercepted.
The information to be printed are:
. Type of event:
enqueue to intercept
dequeue from intercept
delete of message
accept of message
. Channel number:
SMF - ACP converting
ACP - SMF converting
TO NICS/TARE message
FM NICS/TARE message
already intercepted once
convertion accepted
no destination
. DTG
. MSG ID
. Precedence
3.1.8 M̲T̲C̲B̲ ̲M̲I̲N̲I̲T̲
The MICBMINIT procedure gets the file descriptors for the system volumes (MOVHEAD and FIXHEAD)
and initiates the MTCB Monitor.
3.1.9 I̲O̲
3.1.9.1 R̲E̲A̲D̲ ̲Q̲E̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the READ ̲QE Procedure is to read the first queue element from the highest
priority queue at a terminal.
The queue entry will not be deleted and the MTCB-usecount is not changed
3.1.9.2 D̲E̲L̲E̲T̲E̲ ̲Q̲E̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the DELETE ̲QE Procedure is to delete a specified queue element. The MTCB-use-count
will be decremented.
3.1.9.3 R̲E̲A̲D̲ ̲M̲T̲C̲B̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the READ ̲MTCB Procedure is to read and unpack a specified MTCB.
3.1.10 G̲E̲T̲ ̲N̲N̲ ̲I̲D̲ ̲T̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
The function of the GET ̲NN ̲ID ̲TR Procedure is to get the identification on a trunk.
The trunk identification from one end of the trunk is known. The trunk identification from
the other end of the trunk is wanted.
3.2 I̲N̲T̲E̲R̲F̲A̲C̲E̲ ̲D̲E̲S̲C̲R̲I̲P̲T̲I̲O̲N̲
3.2.1 H̲S̲P̲ ̲M̲A̲I̲N̲
3.2.1.1 H̲S̲P̲ ̲M̲A̲I̲N̲ ̲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 HSP ̲MAIN Module is invoked by:
ESP Ref. PSP/0046
There is no input and output data of the HSP ̲MAIN Module, as it is the Main Module.
The HSP ̲MAIN Module Interfaces to the following procedures:
MTCBMINIT Ref. 3.1.8
Initiates the MTCB Monitor Work area.
ERR ̲HANDL Ref. 3.1.1.3
Terminates the process in case of a serious error.
CREATE ̲ROP Ref. 3.1.2.1
Creates a channel to the ROP
GET ̲TERMINAL ̲QNO Ref. 3.1.2.2
Scans the queues to find a message
READ ̲QU Ref. 3.1.9.1
Reads a queue element
READ ̲MTCB Ref. 3.1.9.3
Reads a MTCB
PR ̲EPM Ref. 3.1.2.1
Prints a log string on the log printer
PR ̲FIXMSG Ref: 3.1.3.3
Prints the signal header and the text part of a narrative message or converts a control message
and prints it as ASCII Strings.
PR ̲TEXT Ref. 3.1.4.1
Prints the contents of a file in ASCII Format.
PR ̲CHECKE Ref. 3.1.7
Prints the checkpoint log.
HSP ̲CHECKE Ref. 3.1.1.2
Checkpoints the deletion of a narrative msg.
DELETE ̲QE Ref. 3.1.9.2
Deletes the queue element just processed.
3.2.1.1.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The HSP ̲MAIN Module interfaces to the following monitor procedures.
MON IO LOOKUP
Gets the FD for FIXHEAD Volume
MON WAIT EVENT
Wait is for print requests
MON MTCB GETFILE
Gets the FD for the message file
MON MTCB RELEASEFILE
Deletes the message file
3.2.1.2 H̲S̲P̲ ̲C̲H̲E̲C̲K̲P̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.1.2.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The HSP ̲CHECKP Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to HSP ̲CHECKP Procedure is:
. Checkpoint type
. MTCB index
. Terminal no
. Queue no
. Ref to QSTA ̲VAR
Output from HSP ̲CHECKP Procedure is:
. Completion Code
. Message deleted in CHECKP ̲FILE
The HSP ̲CHECKP Procedure interfaces to:
PR ̲CHECKP Ref. 3.1.7
Prints the Checkpoint log
ERR ̲HANDL Ref. 3.1.1.3
Terminates the process in case of a serious error
3.2.1.2.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The HSP ̲CHECKP Procedure interfaces to the following monitor procedures:
MON SEND MESSAGE
Sends a message to the checkpoint process for deletion of the narrative message.
MON WAITANSWER
Waits for an answer from the checkpoint process
MON WAITEVENT
Waits for a message for printing of the Checkpoint log.
3.2.1.3 E̲R̲R̲ ̲H̲A̲N̲D̲L̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.1.3.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The ERR ̲HANDL Procedure is invokes by:
HSP ̲MAIN Ref. 3.1.1.1
HSP ̲CHECKP Ref. 3.1.1.2
Input to ERR ̲HANDL Procedure is:
. error code
. error location
Output from ERR ̲HANDL Procedure is:
N/A
3.2.1.3.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The ERR ̲HANDL Procedure interfaces to:
MON ERROR
Terminates the process.
3.2.2 H̲S̲P̲ ̲M̲F̲U̲N̲C̲
3.2.2.1 C̲R̲E̲A̲T̲E̲ ̲R̲O̲P̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.2.1.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The CREATE ̲ROP Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the CREATE ̲ROP Procedure is:
. ref to the QSTA ̲VAR
Output from the CREATE ̲ROP Procedure is:
. The QSTA ̲VAR is updated with the FD for the channel to the ROP
The CREATE ̲ROP Procedure interfaces to:
PR ̲LF Ref. 3.1.5.10
Issues a number of blank lines on the ROP.
WAIT ̲LOCAL ̲FIXUP Ref. 3.1.5.1
Logs the error and returns after 2 minutes.
3.2.2.1.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The CREATE ̲ROP Procedure interfaces to the following monitor procedures:
MON IDENTIFYPROCESS
Gets the terminal no.
MON LCFH
Creates a channel to the ROP.
MON IO APPENDBYTES
Resets the ROP Channel with 80 null chars.
MON ERROR
Terminates the process in case of a serious error.
3.2.2.2 G̲E̲T̲ ̲T̲E̲R̲M̲I̲N̲A̲L̲ ̲Q̲N̲O̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.2.2.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The GET ̲TERMINAL ̲QNO Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to GET ̲TERMINAL ̲QNO is:
. ref to the QST ̲VAR
Output from GET ̲TERMINAL ̲QNO is:
. QSTA ̲VAR updated according to Qno found
3.2.2.2.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.3 P̲R̲ ̲F̲U̲N̲C̲O̲1̲
3.2.3.1 G̲E̲T̲ ̲L̲O̲G̲ ̲P̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.3.1.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The GET ̲LOGPAR Procedure is invoked by:
PR ̲EPM Ref. 3.1.3.2
Input to the GET ̲LOGPAR Procedure is:
. Log format code
. ref to the QSTA ̲VAR
Output from the GET ̲LOGPAR Procedure is:
. Output buffer updated with an ASCII string for print.
The GET ̲LOGPAR Procedure interfaces to the following procedures:
ADD ̲BYBU Ref. 3.1.5.2
Moves log data to output-buffer.
BIN ̲DEC Ref. 3.1.5.4
Converts binary dato to ASCII chars
GET ̲NN ̲ID ̲TR Ref. 3.1.10
Converts the trunk id.
3.2.3.1.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.3.2 P̲R̲ ̲E̲P̲M̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.3.2.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲EPM Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the PR ̲EPM Procedure is:
. Ref to the QSTA ̲VAR containing the MTCB read from log-queue.
Output from the PR ̲EPM Procedure is:
. Log string printed
The PR ̲EPM Procedure interfaces to the following procedures:
ADD ̲BYBU Ref. 3.1.5.2
Moves ASCII Chars to the output buffer
GET ̲LOGPAR Ref. 3.1.3.1
Converts parameters for log
OUTPUT ̲BUF Ref. 3.1.5.3
Prints the log string.
3.2.3.2.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲EPM Procedure interfaces to the monitor procedure:
MON CONUDTG
Converts the DTG for log
3.2.3.3 P̲R̲ ̲F̲I̲X̲M̲S̲G̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.3.3.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲FIXMSG Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the PR ̲FIXMSG Procedure is:
. Ref to the QSTA ̲VAR containing the MTCB read from the report queue.
Output from the PR ̲FIXMSG Procedure is:
. message or report printed
The PR ̲FIXMSG Procedure interfces to the following procedures:
SETPOSITION Ref. 3.1.5.7
Updates the file address var
INREC ̲PR Ref. 3.1.5.8
Reads the binary header of the message
PRINT ̲CM Ref. 3.1.6.9
Prints the reports
INLINE ̲PR Ref. 3.1.5.9
Reads 1 line from narrative message
PR ̲TEXTBUF Ref. 3.1.5.5
Prints 1 line of narrative message including Line No. count.
PR ̲LF Ref. 3.1.5.10
Prints a number of blank lines.
3.2.3.3.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲FIXMSG Procedure interfaces to the following monitor procedures:
MON PACKM UNPCMHD
Unpacks the binary header of a control messaage
MON PACKM UNPNMHD
Unpacks the binary header of a narrative message
3.2.4 P̲R̲ ̲F̲U̲N̲C̲O̲2̲
3.2.4.1 P̲R̲ ̲T̲E̲X̲T̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.4.1.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲TEXT Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the PR ̲TEXT Procedures is:
. Ref to the QSTA ̲VAR containing the file descriptor of the table to be printed.
Output from the PR ̲TEXT Procedure is:
. ANO or AIG table printed.
The PR ̲TEXT Procedure interfaces to the following procedures:
SET POSITION Ref. 3.1.5.7
Updates the file address
INLINE ̲PR Ref. 3.1.5.9
Reads 1 line of table
OUTP ̲TEXT Ref. 3.1.5.6
Prints the line read in INLINE ̲PR
3.2.4.1.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.5.1 W̲A̲I̲T̲ ̲L̲O̲C̲A̲L̲ ̲F̲I̲X̲U̲P̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.1.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The WAIT ̲LOCAL ̲FIXUP Procedure is invoked by:
CREATE ̲ROP Ref. 3.1.2.1
PR ̲LF Ref. 3.1.5.10
WRITE ̲HEAD Ref. 3.1.5.6
OUTPUT ̲BUF Ref. 3.1.5.3
WRITE ̲LINE Ref. 3.1.6.3
Input to the WAIT ̲LOCAL ̲FIXUP Procedure is:
. Error code
. Error location
3.2.5.1.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The WAIT ̲LOCAL ̲FIXUP Procedure interfaces to the following monitor procedures:
MON ERROR
Logs the error
MON WAITEVENT
Used for a delay
3.2.5.2 A̲D̲D̲ ̲B̲Y̲B̲U̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.2.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The ADD ̲BYBU Procedure is invoked by:
GET ̲LOGPAR Ref. 3.1.3.1
PR ̲EPM Ref. 3.1.3.2
PR ̲TEXTBUF Ref. 3.1.5.5
OUTP ̲TEXT Ref. 3.1.5.6
Input to the ADD ̲BYBU Procedure is:
. size of data
. ref to data
. output buffer
Output from the ADD ̲BYBU Procedure is:
. data moved to the output buffer.
3.2.5.2.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.5.3 O̲U̲T̲P̲U̲T̲ ̲B̲U̲F̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.3.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The OUTPUT ̲BUF Procedue is invoked by:
PR ̲EPM Ref. 3.1.3.2
OUTP ̲TEXT Ref. 3.1.5.6
PR ̲CHECKP Ref. 3.1.5.7
Input to the OUTPUT ̲BUF Procedure is:
. Ref to QSTA ̲VAR
. Output buffer
Output from the OUTPUT ̲BUF Procedure is:
. Output buffer printed
. byte count in output buffer reset
The OUTPUT ̲BUF Procedure interfaces to:
WAIT ̲LOCAL ̲FIXUP Ref. 3.1.5.1
Logs on error on return after a delay.
3.2.5.3.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The OUTPUT ̲BUF Procedure interfaces to the monitor procedure:
MON IO APPENDBYTES
Outputs the Output Buffer
3.2.5.4 B̲I̲N̲ ̲D̲E̲C̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.4.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The BIN ̲DEC Procedure is invoked by:
GET ̲LOG ̲PAR Ref. 3.1.3.1
PR ̲TEXTBUF Ref. 3.1.5.5
Input to BIN ̲DEC Procedure is:
. Integer to be converted
. No of requested digits in result (0 = all digits except for leading zero's)
. Ref to a work area
Output from BIN ̲DEC Procedure is:
. ASCII String in work buffer
. Ref to work buffer
. No of digits in work buffer
3.2.5.4.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.5.5 P̲R̲ ̲T̲E̲X̲T̲B̲U̲F̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.5.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲TEXTBUF Procedure is invoked by:
PR ̲FIXMSG Ref. 3.1.3.3
Input to the PR ̲TEXT BUF Procedure is:
. Line no count
. Read buffer
. Ref to QSTA ̲VAR
Output from PR ̲TEXTBUF Procedure is:
. Line no count incremented
. content of read buffer printed
The PR ̲TEXTBUF Procedure interfaces tothe following procedures:
BIN ̲DEC Ref. 3.1.5.4
Converts the line no count to an ASCII String
ADD ̲BYBU Ref. 3.1.5.2
Move data to output buffer
OUTP ̲TEXT Ref. 3.1.5.6
Prints the content of the read buffer
3.2.5.5.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.5.6 O̲U̲T̲P̲ ̲T̲E̲X̲T̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.6.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The OUTP ̲TEXT Procedure is invoked by:
PR ̲TEXT Ref. 3.1.4.1
PR ̲TEXTBUF Ref. 3.1.5.5
Input to the OUTP ̲TEXT Procedure is:
. ref to the QSTA ̲VAR
. the read buffer
Output from the OUTP ̲TEXT Procedure is:
. Content of read- and output buffers printed.
The OUTP ̲TEXT Procedure interfaces to the following procedures:
ADD ̲BYBU Ref. 3.1.5.2
Moves read buffer to the output buffer
OUTPUT ̲BUF Ref. 3.1.5.3
Prints the content of the output buffer
3.2.5.6.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.5.7 S̲E̲T̲P̲O̲S̲I̲T̲I̲O̲N̲ ̲P̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.7.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The SETPOSITION ̲PR Procedure is invoked by:
PR ̲FIXMSG Ref. 3.1.3.3
PR ̲TEXT Ref. 3.1.4.1
Input to the SETPOSITION ̲PR Procedure is:
. ref to wanted position
. file address to be updated
. file location
Output from the SETPOSITION ̲PR Procedure is:
. file address updated.
3.2.5.7.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.5.8 I̲N̲R̲E̲C̲ ̲P̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.8.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The INREC ̲PR Procedure is invoked by:
PR ̲FIXMISG Ref. 3.1.3.3
FILL ̲HEAD Ref. 3.1.6.4
Input to the INREC ̲PR Procedure is:
. address of buffer
. no of bytes to be read
. file descriptor of a file
Output from the INREC ̲PR Procedure is:
. bytes read
. no of bytes read
. error code
3.2.5.8.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The INREC ̲PR Procedure interfaces to the monitor procedure:
MON IO READ BYTES
Reads a record from file.
3.2.5.9 I̲N̲L̲I̲N̲E̲ ̲P̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.9.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The INLINE ̲PR Procedure is invoked by:
PR ̲FIXMS6 Ref. 3.1.3.3
PR ̲TEXT Ref. 3.1.4.1
Input to the INLINE ̲PR Procedure is:
. address of buffer
. no of bytes to be read
. file descriptor of file
Output from the INLINE ̲PR Procedure is:
. bytes read
. no of bytes read
. error code
3.2.5.9.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The INLINE ̲PR Procedure interfaces to the monirot procedure:
MON IO READBYTES
Reads a number of bytes from file
3.2.5.10 P̲R̲ ̲L̲F̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.5.10.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲LF Procedure is invoked by:
CREATE ̲ROP Ref. 3.1.2.1
PR ̲FIXMSG Ref. 3.1.3.3
Input to the PR ̲LF Procedure is:
. no of lines
. ref to QSTA ̲VAR
Output from the PR ̲LF Procedure is:
. blank lines printed
The PR ̲LF Procedure interfaces to the procedure:
WAIT ̲LOCAL ̲FIXUP Ref. 3.1.5.1
Logs an error and returns after a delay
3.2.5.10.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲LF Procedure interfaces to the monitor procedure:
MON IO APPEND BYTES
Prints the blank lines.
3.2.6 P̲R̲I̲N̲T̲ ̲C̲M̲
3.2.6.1 S̲E̲T̲ ̲T̲R̲U̲N̲K̲ ̲L̲O̲A̲D̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.1.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The SET ̲TRUNK ̲LOAD Procedure is invoked by:
PR ̲NODE ̲STA Ref. 3.1.6.6
Input to the SET ̲TRUNK ̲LOAD Procedure is:
. ref to trunkloads in node report
. line buffer
Output from the SET ̲TURNK ̲LOAD Procedures is:
. pointer to trunk loads in node report updated
. line buffer updated
3.2.6.1.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The SET ̲TRUNK ̲LOAD Procedure interfaces to the monitor procedure:
MON INTASC
Converts trunk load to an ASCII String
3.2.6.2 S̲E̲T̲ ̲D̲T̲G̲ ̲O̲ ̲M̲S̲G̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.2.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The SET ̲DTG ̲O ̲MSG Procedure is invoked by:
PR ̲NODE ̲STA Ref. 3.1.6.6
PR ̲MEDE ̲STA Ref. 3.1.6.7
Input to the SET ̲DTG ̲O ̲MSG Procedure is:
. ref to DTG's in reports
. line buffer
. report type
Output from the SET ̲DTG ̲O ̲MSG Procedure is:
. pointer to DTG's in reports
. line buffer updated
3.2.6.2.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
Thew SET ̲DTG ̲O ̲MSG Procedure interfaces to the monitor procedure:
MON CONVDTG
Converts a DTG from a long integer to an ASCII String
3.2.6.3 W̲R̲I̲T̲E̲ ̲L̲I̲N̲E̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.3.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The WRITE ̲LINE Procedure is invoked by:
PR ̲NODE ̲STA Ref. 3.1.6.6
PR ̲MEDE ̲STA Ref. 3.1.6.7
Input to the WRITE ̲LINE Procedure is:
. Ref to the QSTA ̲VAR
. line buffer
Output from the WRITE ̲LINE Procedure is:
. line printed
. completion code
The WRITE ̲LINE Procedure interfaces to:
WAIT ̲LOCAL ̲FIXUP Ref. 3.1.5.1
Logs an error and returns after a delay
3.2.6.3.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The WRITE ̲LINE Procedure interfaces to the monitor procedure:
MON IO APPENDBYTES
Prints the content of the line buffer.
3.2.6.4 F̲I̲L̲L̲ ̲H̲E̲A̲D̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.4.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The FILL ̲HEAD Procedure is invoked by:
PR ̲NODE ̲STA Ref. 3.1.6.6
PR ̲MEDE ̲STA Ref. 3.1.6.7
PR ̲OLD ̲STA Ref. 3.1.6.2
Input to the FILL ̲HEAD Procedure is:
. ref to the QSTA ̲VAR
. type of report
. ref to head buffer
. line buffer
Output from the FILL ̲HEAD Procedure is:
. head buffer updated with originator and DTG
. line buffer resat
The FILL ̲HEAD Procedure interfaces to the procedure:
INREC ̲PR Ref. 3.1.5.8
Reads the control message into a buffer
3.2.6.4.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The FILL ̲HEAD Procedure interfaces to the monitor procedure:
MON CONUDTG
Converts a DTG from long integer to an ASCII string
3.2.6.5 W̲R̲I̲T̲E̲ ̲H̲E̲A̲D̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.5.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The WRITE ̲HEAD Procedure is invoked by:
PR ̲NODE ̲STA Ref. 3.1.6.6
PR ̲MEDE ̲STA Ref. 3.1.6.7
PR ̲OLD ̲STA Ref. 3.1.6.8
Input to the WRITE ̲HEAD Procedure is:
. ref to the QSTA ̲VAR
. buffer address
. buffer size
Output from the WRITE ̲HEAD Procedure is:
. content of head buffer printed
The WRITE ̲HEAD Procedure interfaces to:
WAIT ̲LOCAL ̲FIXUP Ref. 3.1.5.1
Logs the error and returns after a delay
3.2.6.5.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The WRITE ̲HEAD Procedure interfaces to the monitor procedure:
MON IO APPENDBYTES
prints the buffer
3.2.6.6 P̲R̲ ̲N̲O̲D̲E̲ ̲S̲T̲A̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.6.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲NODE ̲STA Procedure is invoked by:
PRINT ̲CM Ref. 3.1.6.9
Input to the PR ̲NODE ̲STA Procedure is:
. ref to the QSTA ̲VAR containing MICB index for node report
. node report on file
Output from the PR ̲NODE ̲STA Procedure is:
. node report formatted and printed
The PR ̲NODE ̲STA Procedure interfaces to the following procedures:
FILL ̲HEAD Ref. 3.1.6.4
fills head buffer with originator and DT6
WRITE ̲HEAD Ref. 3.1.6.5
prints the content of the head buffer
SET ̲TRUNK ̲LOAD Ref. 3.1.6.5
formats the trunk load and inserts it in buffer
SET ̲DTG ̲O ̲MSG Ref. 3.1.6.2
formats the DTG and inserts them in buffer
WRITE ̲LINE Ref. 3.1.6.3
prints the content of the line buffer
3.2.6.6.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.6.7 P̲R̲ ̲M̲E̲D̲E̲ ̲S̲T̲A̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.7.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲MEDE ̲STA Procedure is invoked by:
PRINT ̲CM Ref. 3.1.6.9
Input to the PR ̲MEDE ̲STA Procedure is:
. Ref to the QSTA ̲VAR containing MTCB-index for Mede Report.
. Mede Report on file
Output from the PR ̲MEDE ̲STA Procedure is:
. Mede Report formatted and printed
The PR ̲MEDE ̲STA Procedure interfaces to the following procedures:
FILL ̲HEAD Ref. 3.1.6.4
fills head buffer with originator and DT6
WRITE ̲HEAD Ref. 3.1.6.5
prints the content of the head buffer
SET ̲DTG ̲O ̲MSG Ref. 3.1.6.2
formats the DTG's and inserts them in buffer
WRITE ̲LINE Ref. 3.1.6.3
prints the content of the line buffer
3.2.6.7.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲MEDE ̲STA Procedure interfaces to the following monitor procedures:
MON RDF GTRMID
converts mede id and terminal no to a terminal id
MON ERROR
Log on error from the RDF-Monitor
3.2.6.8 P̲R̲ ̲O̲L̲D̲ ̲S̲T̲A̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.8.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲OLD ̲STA Procedure is invoked by:
PRINT ̲CM Ref. 3.1.6.9
Input to the PR ̲OLD ̲STA Procedure is:
. ref to the QSTA ̲VAR containing the MTCB index for status report
. on-line diagnostic result printed
Output from the PR ̲OLD ̲STA Procedure is:
. On-line diagnostic result printed.
The PR ̲OLD ̲STA Procedure inteffaces to the following procedures:
FILL ̲HEAD Ref. 3.1.6.4
loads originator and DT6 into head buffer
WRITE ̲HEAD Ref. 3.1.6.5
Prints the on-line diagnostic result
3.2.6.8.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.6.9 P̲R̲I̲N̲T̲ ̲C̲M̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.6.9.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PRINT ̲CM Procedure is invoked by:
PR ̲FIXMSG Ref. 3.1.3.3
Input to the PRINT ̲CM Procedure is:
. Ref to the QSTA ̲VAR containing MTCB-index of control message
. Report type
Output from the PRINT ̲CM Procedure is:
. Control message formatted and printed
. Completion code
The PRINT ̲CM Procedure interfaces to the following procedures:
PR ̲NODE ̲STA Ref. 3.1.6.6
Prints the Node hour report
PR ̲MEDE ̲STA Ref. 3.1.6.7
Prints the Mede hour report
PR ̲OLD ̲STA Ref. 3.1.6.8
Print the on-line diagnostic result
WRITE ̲HEAD Ref. 3.1.6.5
Prints the report separation text string
3.2.6.9.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
N/A
3.2.7 P̲R̲ ̲C̲H̲E̲C̲K̲
3.2.7.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲CHECKP Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the PC ̲CHECKP Procedure is:
. Ref to message received
. Ref to QSTA ̲VAR
Output from the PR ̲CHECKP Procedure is:
. Checkpoint message formatted and printed
. An answer is returned to originator
The PR ̲CHECKP Procedure interfaces to the procedure:
OUTPUT ̲BUF Ref. 3.1.5.3
Prints the formatted message
3.2.7.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The PR ̲CHECKP Procedure interfaces to the following monitor procedures:
MON GETDTG
Reads the time
MON INTASC
Converts MSGID and error code to ASCII chars
MON SENDANSWER
Returns an answer to the originator
MON ERROR
Log on error
3.2.8 M̲T̲C̲B̲I̲N̲I̲T̲
3.2.8.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The MTCBMINIT Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Output from MTCBMINIT Procedure is:
. file descriptor for MOVHEAD
. file descriptor for FIXHEAD
. MTCB work area initiated
. completion code
3.2.8.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The MTCBMINIT Procedure interfaces to the following monitor procedures:
MON IO GET ROOT
Gets the file descriptors for MOVHEAD and FIXHEAD
MON MTCB INITE
Initiates the MTCB work area.
3.2.9 I̲O̲
3.2.9.1 R̲E̲A̲D̲ ̲Q̲E̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.9.1.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The READ ̲QE Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the READ ̲QE Procedure is:
. Terminal no
. Queue no
Output from the READ ̲QE Procedure is:
. Queue Element read (MTCB index)
3.2.9.1.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The READ ̲QE Procedure interfaces to the monitor procedure:
MON SCCM RDD ̲QE
Reads a queue element
3.2.9.2 D̲E̲L̲E̲T̲E̲ ̲Q̲E̲ ̲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̲
The DELETE ̲QE Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the DELETE ̲QE Procedure is:
. Terminal no
. Queue no
. Entry no
Output from the DELETE ̲QE Procedure is:
. Queue element deleted
. MTCB use count decremented
3.2.9.2.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The DELETE ̲QE Procedure interfaces to the monitor procedure:
MON SCCM DEL ̲QE
Deletes a queue element
3.2.9.3 R̲E̲A̲D̲ ̲M̲T̲C̲B̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.9.3.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The READ ̲MTCB Procedure is invoked by:
HSP ̲MAIN Ref. 3.1.1.1
Input to the READ ̲MTCB Procedure is:
. index to the specified MTCB
. ref to data buffer
Output from the READ ̲MTCB Procedures is:
. MTCB read and unpacked in data buffer
3.2.9.3.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The READ ̲MTCB Procedure interfaces to the monitor procedure:
MON SCCM RDD ̲QE
Reads and unpacks a MTCB
3.2.10 G̲E̲T̲ ̲N̲N̲ ̲I̲D̲ ̲T̲R̲ ̲P̲r̲o̲c̲e̲d̲u̲r̲e̲
3.2.10.1 I̲N̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The GET ̲NN ̲ID ̲TR Procedure is invoked by:
GET ̲LOGPAR Ref. 3.1.3.1
Input to the GET ̲NN ̲ID ̲TR Procedure is:
. Node is (ASCII)
. Trunk no (Local)
Output from the GET ̲NN ̲ID ̲TR Procedure is:
. Neighbour node is (ASCII)
. Trunk serial no
3.2.10.2 E̲X̲T̲E̲R̲N̲A̲L̲ ̲I̲N̲T̲E̲R̲F̲A̲C̲E̲
The GET ̲NN ̲ID ̲TR Procedure interfaces to the following monitor procedures:
MON SCCM GET ̲NM ̲IDB
Converts node is ASCII to node id binary
MON STA READ,FNC
Reads entry in FNC region
MON SCCM GET ̲NM ̲IDA
Converts node id binary to node id ASC II
Resten af dokumentet er overf]rt til 4653A