RNF0707
The third parameter for %SUBDT is not valid for the type specified by the second parameter.
20
Cause . . . . . : The valid values for the third parameter depend on the second parameter.
- For *YEARS, the third parameter can be 2 or 4.
- For *DAYS, the third parameter can be 2 or 3.
- For *SECONDS, if the second parameter is a timestamp, the third parameter can be between 2 and 14.
- For *MSECONDS, the third parameter must be 6.
- Otherwise, the third parameter must be 2.
Recovery . . . : Correct the third parameter.