by dick scherrer » Wed Nov 26, 2008 2:12 am
Hello,
It is mandantory to initialize the host variables used in the predicates of the cursor query before opening the cursor.
As the DECLARE is often done in working-storage, no, there is no requirement to initialize before the declare.
Hope this helps,
d.sch.