Failing COBOL syntax within a test case causes the test to fail and displays the standard COBOL error messaging in the test case summary, within the test output files.
You can also place assertions within your test cases to determine a failing or successful test. You can manually set a non-zero return code to mark a test as failed, or you can conditionally call one of the following library routines, which marks the test as failed and enables you to include a specific reason within a test report.
Test cases than run to completion without any of the above occurring are considered to have passed.