Consultor Eletrônico



Kbase P5470: How Can All Of The Error And Warning Messages Generated By A
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/01/2003
Status: Unverified

GOAL:

How can all of the error and warning messages generated by a program while it is running on the appserver be saved?

FIX:

Define a stream and use the OUTPUT STREAM <x> TO <file> KEEP-MESSAGES statement.

For example,

DEFINE STREAM MessageStream.

OUTPUT STREAM MessageStream TO SomeUniqueFileName KEEP-MESSAGES.

... Your Application Code Goes Here ...

OUTPUT STREAM MessageStream CLOSE.