SET-ERROR-DEVICE: Difference between revisions
Jump to navigation
Jump to search
(created page for the SET-ERROR-DEVICE command) |
m (→References: corrected an error) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@SET-ERROR-DEVICE <logical | @SET-ERROR-DEVICE <logical device no.> | ||
Normally, the error messages from [[RT programs]] will be written on [[Terminal 1]]. However, it is possible to route them to some other terminal by using this command. Example: @SET-ERROR-DEVICE 9 | Change destination of system error messages to the specified terminal. Normally, the error messages from [[RT programs]] will be written on [[Terminal 1]]. However, it is possible to route them to some other terminal by using this command. | ||
; <logical device no.> : (decimal) device to which errors will be sent. | |||
Rules: | |||
#Permitted only for user SYSTEM. | |||
#The messages are normally written on [[terminal 1]]. | |||
#The command is valid until next @SET-ERROR-DEVICE or until start from SAVE area. @[[RESTART-SYSTEM]] ([[Master Clear|MASTER CLEAR]], [[LOAD]]) does not change the error device. Messages from the SINTRAN START program are written on the current error device. | |||
Example: | |||
@SET-ERROR-DEVICE 9 | |||
which will cause the error messages to appear on Terminal 2 (terminal 2 has logical device number 9, see {{ND-doc|60.128.03}}, Appendix C). | |||
== Related commands == | |||
@[[GET-ERROR-DEVICE]] | |||
== References == | == References == | ||
{{ND-doc|60.050.06}} section 6.4.5 | {{ND-doc|60.050.06}} section 6.4.5 | ||
{{ND-doc|60.128.03}} (printed February 1983), page 1-186 | |||
{{ND-doc|60.174.Q01}} | {{ND-doc|60.174.Q01}} | ||
[[Category:System Commands]] | [[Category:System Commands]] |
Latest revision as of 10:31, 22 April 2018
@SET-ERROR-DEVICE <logical device no.>
Change destination of system error messages to the specified terminal. Normally, the error messages from RT programs will be written on Terminal 1. However, it is possible to route them to some other terminal by using this command.
- <logical device no.>
- (decimal) device to which errors will be sent.
Rules:
- Permitted only for user SYSTEM.
- The messages are normally written on terminal 1.
- The command is valid until next @SET-ERROR-DEVICE or until start from SAVE area. @RESTART-SYSTEM (MASTER CLEAR, LOAD) does not change the error device. Messages from the SINTRAN START program are written on the current error device.
Example:
@SET-ERROR-DEVICE 9
which will cause the error messages to appear on Terminal 2 (terminal 2 has logical device number 9, see Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL , Appendix C).
Related commands
References
Norsk Data Document ND–60.050.06 SINTRAN III USERS GUIDE section 6.4.5
Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-186
Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD