Robert Singer
Programmer
If you have multiple SELECT statements that are joined by the UNION keyword (UNION, UNION ALL, etc.), which SELECT statement determines what the value of SQLCODE will be after execution? Is it the result of the first SELECT, the last SELECT, the highest (absolute value) SQLCODE, or something else? (Also, in which manual can you find this information?) Thank you for your assistance.