1 01/07/81  Severity Indicators
 2 
 3 
 4 Severity indicators can be thought of as integers that represent the highest
 5 level of error encountered in the invocation of a command or exec_com.
 6 They are usually referenced by the same name as the command or exec_com
 7 and are described in documentation under the heading of "Severity."
 8 
 9 The severity command or active function can be used to display or test
10 the value of a specified severity indicator.  The
11 set_severity_indicator command can be used to assign a value to a
12 severity indicator from command level.  This is useful in exec_coms
13 that wish to implement severity indicators.
14 
15 
16 Severity Indicators in PL/I:  In PL/I a severity indicator X is
17 referenced by declaring an external fixed bin (35) variable with the
18 name X_severity_.  For example:
19 
20 dcl X_severity_ fixed bin (35) ext;
21 X_severity_ = 0;
22 
23 
24 Severity Indicators in FORTRAN:  In FORTRAN a severity indicator X is
25 referenced by declaring a labelled common block with the name
26 X_severity_.  For example:
27 
28 integer a
29 common /X_severity_/a
30 a = 0
31 
32 
33 Severity Indicators in command language:  In the command language of Multics
34 severity indicators can be referenced using the severity command/active
35 function and set using the set_severity_indicator command.  For example to set
36 and then display the severity indicator X the user would enter:
37 
38 set_severity_indicator X 12
39 severity X
40 
41 and the value of 12 would be displayed.