Consultor Eletrônico



Kbase P163645: Is there any limit on the total length of all the output fields in a PUT STREAM statement?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/04/2010
Status: Unverified

GOAL:

Is there any limit on the total length of all the output fields in a PUT STREAM statement?

GOAL:

Is there any restriction on the combined size of all the variables in a PUT STREAM statement?

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family

FIX:

There is no limit on the total length of the output of a PUT statement. However, several related limits might be reached while trying to output a very long stream using the PUT statement.

If the output is long enough, the procedure may run out of stack space. Stack space can be increased by using the -s client startup parameter, up to the limits of available memory.
If many character variables are used to hold parts of the output in the PUT statement, the statement itself may reach one of two limits:

The statement may overrun its buffer length. Statement buffer length can be increased using the -inp client startup parameter, up to 32000 bytes.
The maximum number of tokens in a single statement may be reached. The token limit can be increased by using the -tok client startup parameter, up to the limits of available memory.