ERROR | partitioned/clustered/ordered parameter must be a function argument |
CAUSE | A partitioning or clustering/ordering specification specified on an argument that is not one of the function arguments. |
ACTION | Specify partitioning/clustering/ordering based on the function ref-cursor formal argument. |