Message : CPD432C
Correlated reference &2 defined in format &1 not valid.
Message Long Text :
Cause . . . . . : Correlated reference defined in format &1 not valid for reason code &3. The reason codes and their meanings follow: 1 -- A SQL query cannot be queried because a correlated reference in format &1 is not correctly defined to reference field &2. 2 -- The correlated reference &2 is not a grouping field from the higher level subselect. Recovery . . . : The correlated reference must be valid. For reason code: 1 -- A correlated reference can only reference a field from a higher level subselect. 2 -- The correlated reference must be a grouping field from the higher level subselect. Change the affected correlated reference and try the request again.