Return codes

When CSQUTIL returns to the operating system, the return code can be:

0
All functions completed successfully.
4
Some functions completed successfully, some did not or forced a syncpoint.
8
All the attempted functions failed.
12
No functions attempted; there was a syntax error in the statements or the expected data sets were missing.

In most cases, if a function fails or is forced to take a syncpoint, no further functions are attempted. In this case, the message CSQU147I replaces the normal completion message CSQU148I.

See the usage notes for each function for more information about success or failure.