(C5089) Subroutines with illegal parameter type or return type
There is a subroutine where a User-Defined Type (UDT) is the return type, or the type of a parameter. The following table below lists the illegal definitions for UDTs.
Array of queue (any dimension) (*) In these cases, a middle UDT is needed. For example, if the return type of a function should be an array of string, it should be defined as:UDT array of STR_UDT, and STR_UDT, a string
subroutine F1
return type ARR_STR1, defined as array of string STR_QUEUE1,
type of parameter P1, defined as queue