Returns the state of the diagnostic IPL mode.
#include <diag/diag.h> int ipl_mode ( source ) int source;
The ipl_mode subroutine returns the state of the diagnostic IPL mode, and the IPL source.
Parameter | Description |
---|---|
source | Set according to IPL source:
If the value of the environment variable DIAG_IPL_SOURCE is NULL or IPL_SOURCE_DISK or IPL_SOURCE_LAN, then the value of source will be set to DIAG_FALSE (0). If the value of the environment variable DIAG_IPL_SOURCE is IPL_SOURCE_CDROM or IPL_SOURCE_TAPE, then the value of source will be set to DIAG_TRUE (1). |
The ipl_mode subroutine returns one of the following values:
Return Value | Description |
---|---|
1 EXENV_IPL | Diagnostics invoked during IPL |
2 EXENV_STD | Standalone Diagnostics, Online Service, or Online Maintenance |
4 EXENV_CONC | Online Concurrent Diagnostics |