-3022: Invalid number of tables for outer join
Explanation:
If an <OUTER JOIN INDICATOR> was specified in at least one <JOIN PREDICATE> of the <QUERY SPEC>, the number of the underlying tables of the <QUERY SPEC> <FROM clause> must be precisely two or the following must apply:
User Action:
The attempt should be made to add any missing OUTER JOIN indicators or to split the SQL statement into several SQL statements, or to achieve the desired effect by <QUERY EXPRESSION>s in the <FROM clause>.