Kbase P4974: The definition given in an &GLOBAL-DEFINE or &SCOPED-DEFINE
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/11/2003 |
|
Status: Verified
SYMPTOM(s):
Preprocessor directive buffer overflow. (2956)
Saving or compiling a procedure generates the error:
Preprocessor directive buffer overflow. (2956)
The definition given in an &GLOBAL-DEFINE or &SCOPED-DEFINE preprocessor directive is too long. The maximum number of characters for a preprocessor definition is the number specified for the -inp startup parameter.
CAUSE:
The definition given in an &GLOBAL-DEFINE or an &SCOPED-DEFINE preprocessor directive results in some 4GL statements that exceed the allowed default 4GL statement length limit.
FIX:
The default allowed length of a 4GL statement is 4096 characters. The input characters (-inp) client startup parameter is used to increase the 4GL statement length up to its maximum allowed length of 32000 characters.
Expanding an &GLOBAL-DEFINE or an &SCOPED-DEFINE preprocessor sometimes results in statements that exceed their default allowed limit of 4096 characters. In such cases, increasing the (-inp) startup parameter resolves this issue.