DB2-1027-00-E Cannot have UPDATE and ORDER in same cursor declaration

Code UPDATE or ORDER in a single cursor declaration.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Check syntax.