The fourth argument for %SCANRPL must be between 1 and length of the third argument.
20
Cause . . . . . : The fourth argument of %SCANRPL represents the start position for the scan. The third argument represents the string to scan. The start position must be a value between 1 and the length of the string.
Recovery . . . : Correct the parameters for built-in function %SCANRPL. Compile again.