Kbase P78913: Passing ProDataSet as OUTPUT parameter BY-REFERENCE does not retrieve any data
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/06/2005 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.0A
OpenEdge 10.0B
SYMPTOM(s):
Passing ProDataSet as OUTPUT parameter BY-REFERENCE does not retrieve any data
ProDataSet is populated in persistent procedure on initialization
Calling an internal procedure with a dataset output parameter in the persistent procedure
Procedure call does not return the data in the dataset defined in the persistent procedure.
CAUSE:
Enhancement Request# 20040527-002
CAUSE:
In OpenEdge 10.0x this is expected behavior.
Currently, Progress 4GL only supports the push-model for ProDataSets when passed by-reference.
This means that the calling procedure will push the dataset into the called procedure, thus the called procedure will reference the dataset in the calling procedure. When using an OUTPUT BY-REFERENCE parameter, this means that the calling procedure will end up receiving the data it pushed into the calling procedure.
FIX:
No fix as the product is behaving as expected.
A suggestion has been logged with Development to implement support for pull-model passing by reference; this would allow the calling procedure to reference the dataset in the called procedure.