RNF3967
The datatype is not allowed for the return value of a method.
30
Cause . . . . . : When calling a method, return values must have the following types:
- character (A) with the limitation that when the VARYING keyword is specified, the length must be greater than 1
- indicator (N)
- UCS-2 (C) with the limitation that when the VARYING keyword is specified, the length must be greater than 1
- Integer with a length of 3, 5, 10 or 20 (3I, 5I, 10I, 20I)
- Float with a length of 4 or 8 (4F, 8F)
- Object (O)
- Arrays of any type above with the limitation that character and UCS-2 arrays must not have the VARYING keyword specified, and the length must be 1.
Recovery . . . : Change the datatype of the return value. Compile again.