We updated from 11.x to 12.0.7.1837 a while ago; since that some of our SQLs don't work as before - this is the case when the statement uses a given named variable more than once.
Here a simple example:
SELECT *
FROM myTable t
WHERE ...
&<NAME = BPKENN prefix = " AND t.bpkenn = '" suffix...