Testing Program Exit Code


When executing a component in a test scenario it is possible to verify the program exit code after the execution. With z/OS, a program is normally understood to have failed if it returns an exit code larger than 8, and the default check is to verify that the program exit code is indeed less than 8. This can be changed at the component in the test scenario on the Properties tab by changing the default expression ‘value < 8’. This must be a valid Javascript expression, for example:

image2021-8-17_22-19-47.png

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI DevX Workbench for Eclipse 20.14