Consultor Eletrônico



Kbase P125356: What is the maximum size of arguments passed in the RUN statement to a compile on the fly procedure?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/08/2007
Status: Unverified

GOAL:

What is the maximum size of arguments passed in the RUN statement to a compile on the fly procedure?

FACT(s) (Environment):

Progress 6.x
Progress 7.x
Progress 8.x
Progress 9.x
OpenEdge 10.x

FIX:

The maximum size of all arguments combined is approximately 3,000 bytes when passing data using the following format of the RUN statement:

RUN SomeProgram.p Param1 Param2 etc.

Where Param1, Param2 etc will be passed to the called program and the ABL will perform substitution of {1}, {2}, etc in the called program with the data that was passed and then the resulting program will be compiled on the fly and executed.

If you need to pass more data than this then either use normal parameters and the advanced dynamic object features of the ABL in newer versions to remove the need to do compile on the fly or use shared variables to pass the data.