シグネチャから RETURNING 句を削除する必要があります。代わりに、インデクサーの getter メソッドの戻り値に property-value を使用します。次に例を示します。
indexer-id string. procedure division using by value idx as binary-long, returning return-str as string. *> remove this phrase getter. set return-str to "return-value" *> and this line set property-value to "property-value" goback end indexer.