The third parameter for %DIFF is not allowed with a time value.
20
Cause . . . . . : When the first or second parameter of built-in function %DIFF is of type time, the third parameter must be *HOURS, *MINUTES, *SECONDS, *H, *MN, or *S. The built-in function is ignored.
Recovery . . . : Correct the third parameter for the built-in function. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.