Consultor Eletrônico



Kbase 21514: How To Capture Messages From an Interactive Session on UNIX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Unverified

GOAL:

How to Capture Messages Displayed from an interactive Progress session and output them to a file

FACT(s) (Environment):

Progress on UNIX

FIX:

Capturing messages displayed from an interactive Progress session and output them to a file can be helpful when debugging a problem. It might happen that a message is displayed to the client session so fast that a user cannot see it. Sometimes messages from the Data Dictionary, or messages generated when connecting to the ORACLE DataServer, flash on the screen.

One way to find out what message was displayed is to look at the
Recent Messages option in the Procedure Editor's Help menu. It will
display the last messages associated to a number.

If the message is not a message associated to a number, but rather an
application message or other types of message, you can use a utility
from the Operating System called script.

Script makes typescript of the terminal session and outputs everything
that is sent to the terminal to the file you specify in the command.
For example:

script file.out

Everything that is sent to the terminal will be put out to the file file.out. To stop the script from sending the output to the file, just exit.