|
IBAUTIL.EXE returns error codes (levels) to DOS when exiting. The error level can be used in a DOS batch file as a branching condition. A description of the error levels are found below:
|
CODE NAME |
VALUE |
|
SUCCESS |
0 |
|
OPERATOR TERMINATION |
1 |
|
INVALID NIC |
2 |
|
BAD COMMAND LINE PARAM |
3 |
|
EEPROM CHECKSUM FAILURE |
4 |
|
EEPROM READ FAILURE |
5 |
|
EEPROM WRITE FAILURE |
6 |
|
EEPROM DUMP FAILURE |
7 |
|
(Not used) |
8 |
|
NO MEMORY |
9 |
|
NO NICS FOUND |
10 |
|
When writing batch files to use the error levels, remember that any error level equal to or greater than the error level specified satisfies that error level condition. For example, an error level of 4 would test false if the program returned an error level 3 or less, but would test true if the program returned an error level of 4 or greater. Thus, you should write the batch file to process the error levels in inverse order, with the highest possible error level handled first, then each subsequent error level in decreasing order.
This applies to:
|