(C7127) Subroutines with illegal parameter type or return type
In a subroutine where a UDT is the return type or the type of a parameter, the UDT has an illegal definition. The following table lists the illegal definitions for UDTs.
Array of queue (any dimension) (*) In these cases, a middle user-defined type, is needed. For example, if the return type of a function is 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