The function has no side effects outside DB2 (no file I/O, no IMS calls, no MQ puts). Declaring this lets the optimizer make aggressive assumptions about execution order.