Kbase P109582: Running a remote AppServer procedure ASYNCHRONOUS and passing a DATASET-HANDLE as an INPUT-OUTPUT pa
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/18/2009 |
|
Status: Verified
SYMPTOM(s):
Running a remote AppServer procedure ASYNCHRONOUS and passing a DATASET-HANDLE as an INPUT-OUTPUT parameter fails.
Executing the following RUN statement fails with error message:
RUN server.p ON SERVER happ TRANSACTION DISTINCT ASYNCHRONOUS SET hproc
EVENT-PROCEDURE "Finished" IN THIS-PROCEDURE (i, OUTPUT v-msg, INPUT-OUTPUT DATASET-HANDLE ds).
Not legal to run request with dataset parameters asynchronously. (12769)
FACT(s) (Environment):
In OpenEdge 10.0x the message shown is "Not legal to run request with dataset parameters async"
OpenEdge 10.0x
OpenEdge 10.1x
OpenEdge 10.2A
All Supported Operating Systems
CAUSE:
This is expected behavior.
You cannot specify a ProDataSet object or ProDataSet object handle as a parameter for an asynchronous remote procedure or a user-defined function; support for this functionality isn't implemented in current releases.
FIX:
Do not RUN remote procedures ASYNCHRONOUS if you intend to exchange ProDataSet or ProDataSet handle objects with them.