Consultor Eletrônico



Kbase P92383: Error 8122 when passing dataset-handle back from AppServer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/7/2009
Status: Verified

SYMPTOM(s):

Error 8122 when passing dataset-handle back from AppServer

wrong number of bytes read by ub_read(). (8122)

4GL client calls program on the AppServer and passes an output dataset-handle

4GL program builds the output dataset piece by piece as it executes

4GL program on the AppServer detects error condition and issues a RETURN to exit from the program

FACT(s) (Environment):

OpenEdge 10.x
All Supported Operating Systems

CAUSE:

Bug# 20040830-005

CAUSE:

Attempting to return a partially defined ProDataSet (i.e. one where one of the temp-tables has been partially defined and the TEMP-TABLE-PREPARE method has not been called) causes the error

FIX:

Modify the application code so that the the output dataset-handle is set to unknown prior to exiting from the program