The duration is not allowed with a time operation.
20
Cause . . . . . : When adding or subtracting a duration to or from a time, the allowed duration built-in functions are %SECONDS, %MINUTES, and %HOURS.
Recovery . . . : Correct the duration built-in function. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.