Consultor Eletrônico



Kbase P131850: RESULTS: How to modify a RESULTS generated procedure to have its output appended to the end of an ex
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/27/2008
Status: Unverified

GOAL:

RESULTS: How to modify a RESULTS generated procedure to have its output appended to the end of an existing file?

GOAL:

How to change a RESULTS generated procedure to have its output sent to the printer?

GOAL:

How to edit a RESULTS generated procedure to have its output sent to a new file?

FACT(s) (Environment):

Windows
Progress 8.x
Progress 9.x
OpenEdge 10.x

FIX:

By default, the RESULTS generated .p procedure sends its output to the TERMINAL:
1. To send the output to the printer, change the statement: OUTPUT TO TERMINAL PAGED. to OUTPUT TO PRINTER PAGED.
2. To send the output to a new file, change the statement: OUTPUT TO TERMINAL PAGED. to OUTPUT TO TheNewFileName.txt PAGED.
3. To append the output to the end of an existing file, change the statement: OUTPUT TO TERMINAL PAGED. to OUTPUT TO TheExistingFileName.txt PAGED APPEND.