DIAG SE[lftest] [ Troubleshooting Terminal, Printer, and Serial Device Connections ] MPE/iX 5.0 Documentation
Troubleshooting Terminal, Printer, and Serial Device Connections
DIAG SE[lftest]
Determines if the hardware of a particular DTC is functioning properly.
Security level: 1.
Syntax
________________________________________________________________________
| |
| |
|SE[LFTEST] dtcnum |
________________________________________________________________________
Parameter
dtcnum
The number TermDSM associates with a particular DTC. The DTC command
lists each DTC with its assigned number. This list is also printed when
you make a mistake while typing in a DTC number.
Range: 1 - n, where n is the total number of DTCs configured
on the system.
CAUTION This subcommand aborts all sessions on the DTC under test. Data
for those sessions may be lost.
Description
After entering the Selftest subcommand, the following is printed on the
terminal:
Warning: This will reset all users on that DTC. As
many as 48 terminal users could be affected. (TDSM 44)
Do you want to continue (yes/no)?
If you answer no to this question, you will be returned to the
diagnostics prompt. If you answer yes, the following will be printed on
the terminal:
How many times do you want to repeat this operation?
You should then enter how many times you want to run the DTC selftest.
Enter a number between 1 and 65535. The following question is then
printed on the terminal:
Do you want to stop looping if an error is found
(yes/no)?
If you answer yes, the series of selftests will stop if an error is
encountered. For example, you specified you want the selftest to run 10
times and an error is encountered in the third selftest. If you answered
yes to this last question, the remaining seven selftests will not be run.
If you answered no, all 10 selftests will be executed regardless of the
results of each test. The following is then printed on the terminal:
Each DTC self test can take as long as 7 minutes.
Enter a control-y to stop the self test loop (the
control-y will take effect when the current self
test finishes).
Anytime that you want to stop the diagnostic, press CTRL-Y. After the
current loop has executed, the diagnostics prompt will appear and you may
enter another subcommand.
The Selftest subcommand causes a complete DTC selftest to be run. This
selftest includes the selftests for each of the interface cards within
the DTC, and a download of the DTC across the LAN. Any jobs or sessions
that are running on devices connected to the DTC are aborted.
NOTE Each loop of the Selftest subcommand is functionally identical to
the RESET DTC subcommand. The inclusion of both commands is for
your convenience, and to provide looping capability in the event an
intermittent hardware failure is suspected.
As each selftest completes, the results of each SIC selftest will be
printed on the terminal in the format:
SIC type SIC selftest status Ports (Good or x:bad)
--- ------------------- ------------------- ---------------------
n type status pppp pppp
where:
n
Number of the interface card within the DTC.
type
The type of card in the slot. These are the possible values and their
meanings:
RS-232 Direct RS-232-C direct-connect card
RS-232 Modem modem card
RS-422 Direct RSno2cardrintthenslot card
(not installed)
status
The results of the card selftest. These are the possible values and
their meanings:
OK selftest passed
MAIN CIRCUITRY BROM CRCchardwarewerrorailure
ALL PORTSABAD failure on all ports
PORT 0 BAD failure on port zero (other ports may also have failed)
SOME PORTS BAD failure on more than one port but not all (port zero okay)
pppp pppp
The number of ports on the card is shown by the number of characters in
this string. Six characters represents a modem card. Eight characters
represents a direct connect card. A G means the port is good; an X means
that the port is bad.
The results of the selftest are printed with SIC #5 at the top, followed
by #'s 4,3,...0. This corresponds with the physical arrangement of the
boards in the DTC.
When all selftests have completed, the following will be displayed:
The DTC self test passed nnnnnnn times and failed
mmmmmmm times.
where nnnnnnn and mmmmmmm are the total number of times the selftest
passed or failed respectively.
After all selftests complete, the DTC software is downloaded to the DTC
so that users can again use devices connected to the DTC. You will
receive messages to inform you of each download if you are running
TermDSM from the console. You will then be returned to the diagnostics
prompt.
Example
(diagnostics)
SElftest # (DTC Selftest)
PRint #,#,# (Print to specified port)
Internal #,#,# (Internal loopback on specified port)
EXTernal #,#,# (Loopback through hood on specified port)
Terminal #,#,# (Write and read to terminal on that port)
(carriage return to exit) ?SE 2|
Warning: This will reset all users on that DTC. As many as 48
terminal users could be affected. (TDSM 44) Do you want to continue
(yes/no)? y How many times do you want to repeat this operation? 2
Do you want to stop looping if an error is found (yes/no)? n
Each DTC self test can take as long as 7 minutes. Enter a control-y to
stop the self test loop (the control-y will take effect when the
current self test finishes).
SIC SIC type SIC selftest status Ports (Good or x:bad)
--- ------------------- ------------------- ---------------------
5 (not installed)
4 (not installed)
3 (not installed)
2 RS-232 Direct OK GGGG GGGG
1 RS-232 Direct OK GGGG GGGG
0 RS-232 Modem OK GGGG GG
SIC SIC type SIC selftest status Ports (Good or x:bad)
--- ------------------- ------------------- ---------------------
5 (not installed)
4 (not installed)
3 (not installed)
2 RS-232 Direct OK GGGG GGGG
1 RS-232 Direct OK GGGG GGGG
0 RS-232 Modem OK GGGG GG
The test passed 2 times and failed 0 times.
(diagnostics)
SElftest # (DTC Selftest)
PRint #,#,# (Print to specified port)
Internal #,#,# (Internal loopback on specified port)
EXTernal #,#,# (Loopback through hood on specified port)
Terminal #,#,# (Write and read to terminal on that port)
(carriage return to exit) ?
In the above example, DTC number two is selftested twice. The selftest
passes both times.
MPE/iX 5.0 Documentation