Display information on automatic restart
Component: | BS2000 |
Functional area: | Subsystem management |
Domain: | SYSTEM-MANAGEMENT |
Privileges: | OPERATING |
Routing code: | R |
Function
The SHOW-RESTART-OPTIONS command outputs information indicating whether automatic restart is switched on or off and, if it is on, which parameters are set for the restart.
The command supports structured output in S variables (see "Output in S variables").
Format
SHOW-RESTART-OPTIONS |
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No error | |
1 | CMD0216 | Caller is not privileged | |
64 | EXC0684 | Syntax error |
Output to SYSOUT
Automatic restart is off
/show-restart-opt
% EXC0682 AUTOMATIC RESTART SWITCHED OFF
/show-restart-opt
% EXC0681 AUTOMATIC RESTART SWITCHED ON: DELAY=0000000000 SEC., UPTIME=0000000010 MIN., IPL DEVICE='7D00', IPL VSN='1SBZ.0', DUMP='*STD'
Meaning of the possible inserts
Insert | Possible values | Meaning |
---|---|---|
DELAY | <integer 0..32767> | Number of seconds the automatic dump is displayed by to allow the operator to intervene |
UPTIME | <integer 0..32767> | Number of minutes after SYSTEM READY before automatic restart is initiated after a system crash |
IPL DEVICE | <alphanum-name 2..2> | IPL device mnemonic (2 or 4 characters) |
IPL VSN | <vsn> | VSN of the IPL volume |
DUMP | *NO | Dumps are not generated |
*STD | Dumps are generated on request | |
*SNAP | Snapshots are always generated | |
*SLED | SLEDs are always generated |
Output in S variables
Output information | Name of the S variable | T | Contents | Condition |
---|---|---|---|---|
Time (in seconds) to wait for SLED to write a dump | var(*LIST).DELAY | I | <integer 0..32767> | |
Dump type | var(*LIST).DUMP | S | *NO | |
Device mnemonic of the IPL disk | var(*LIST).IPL-PATH | S | <alphan.-name 2..2> | |
VSN of the IPL disk | var(*LIST).IPL-VOL | S | <vsn 6..6> | |
Automatic restart activated (*ON) or deactivated (*OFF) | var(*LIST).RESTART | S | *ON | |
Time (in minutes) to wait after SYSTEM READY for an automatic restart to be initiated | var(*LIST).UPTIME | I | <integer 0..32767> |