Consultor Eletrônico



Kbase P101007: Getting error (3593) when compiling code
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/02/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Getting error (3593) when compiling code

Corresponding procedure or user-defined function already ended or is missing. (3593)

** <program> Could not understand line <number>. (196)

There is a RUN <procedure> statement at the line where the problem occurs

The procedure contains a DATASET parameter, such as:

RUN <procedure> (DATASET dsMydataset)

When removing the DATASET keyword, the error (201) appears:

** Unknown Field or Variable name - <field-name>. (201)

** Unknown Field or Variable name - dsMyDataset. (201)

CAUSE:

This is a known issue being investigated by development. The error (3593) is a misleading error message.

FIX:

Declare the proDataset with the DEFINE DATASET statement.

For example:
/* < Declaration of the Temp-Table myTempTable> */

DEFINE DATASET dsMyDataset FOR myTempTable.

RUN <procedure> (DATASET dsMyDataset).