ASSERT condition OTHERWISE value-1 [ value-2 ... value-n ]
1.
1. The ASSERT statement is evaluated only when the program runs with the -ea Java option. In order to take advantage of assertions, you should run the COBOL program with one of the following commands
2. If condition is true, the program continues to the next statement.
3. If condition is false, then a java.lang.AssertionError is raised. The error message is set to the combination of the values specified in the OTHERWISE clause.
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |