Consultor Eletrônico



Kbase P28724: How to OUTPUT STREAM to a file in WebSpeed?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

GOAL:

How to OUTPUT STREAM to a file in WebSpeed?

FACT(s) (Environment):

WebSpeed 3.x

FIX:

Following code sample works against a Progress sports database.

DEFINE STREAM <variable-name>.
OUTPUT STREAM <variable-name> TO <file-name>.
FOR EACH customer.
PUT STREAM <variable-name> NAME.
END.
OUTPUT STREAM <variable-name> CLOSE.

This method can be used when parsing information to an XML file