btw - I could see how query1 & query2 need a union - as does query 3 and query 4....but wonder if the real query shouldn't be
query 1
union
query 2
union all
query 3
union
query 4
.....not sure if that changes anything or not (optimization wise)....oh...I think I have seen comments about only a few rows coming back....if true, then parallel query features are useless unless we ran each side of the union in parallel....and I don't think ASE does (IQ would but not ASE).