Consultor Eletrônico



Kbase P74107: Running a procedure using NO-ERROR phrase, error happens but nothing comes back
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/02/2009
Status: Verified

SYMPTOM(s):

Running a procedure using NO-ERROR phrase

ERROR-STATUS:ERROR returns true after call is finished

ERROR-STATUS:NUM-MESSAGES returns zero

FACT(s) (Environment):

All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)

CAUSE:

The program that was run using the NO-ERROR phrase returned back to the caller using either RETURN ERROR "" or RETURN ERROR RETURN-VALUE (where RETURN-VALUE was blank)

FIX:

Modify the application source code so that when the program returns an error an error string (other than blank) is returned