DB2-1050-00-E Cannot return result -

AMB cannot determine the result field for a function.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

You may have used a complex expression as a function argument; if so, you must create the result field in Working-Storage yourself. Also, check the number of parentheses coded with the function.