Hi Charles,

Can parenthesis be used to group WITH statements?  I am modifying a
humongous SORT statement with many WITH clauses and would like to group
them.  If so, what are the rules?

WITH (COND1 OR COND2) AND WITH (COND3 OR COND4) ?

(WITH COND1 OR WITH COND2) AND (WITH COND3 OR WITH COND4) ?

Preferably, omit the repeated WITH so that the second example above becomes
  WITH (COND1 OR COND2) AND (COND3 OR COND4)

The semantics of multiple WITH clauses is different depending on the UniVerse flavour in use.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to