Consultor Eletrônico



Kbase P20198: Temp-table passed as output parameter does not come back emp
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/09/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1x

SYMPTOM(s):

Temp-table passed as output parameter does not come back empty

CAUSE:

This application returns an error if the record is not found. The error condition backs out of the transaction which would pass the temp-table back to the calling program and overwrite the initial temp-table.

FIX:

This is expected Progress Programing behavior. If a process generates an error the transaction should roll back to the last good set of data. If this is not the desired behavior the procedure that is responsible for the record finding should either return the message not as an error but as a output parameter or should be coded to empty the temptable if the "Record not found" flag is raised.