Consultor Eletrônico



Kbase P125920: Is it possible to write to the database log file from a 4GL application?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/18/2007
Status: Unverified

GOAL:

Is it possible to write to the database log file from a 4GL application?

FACT(s) (Environment):

All Supported Operating Systems

FIX:

Yes, although it is not recommended to write to the database log file, it is possible to write to that file provided the log file is on a directory accessible to the current client session. For example, the following snippet outputs a test string to the database log file:
OUTPUT TO mydbname.lg APPEND.
PUT UNFORMATTED "This is a test." SKIP.
OUTPUT CLOSE.