Consultor Eletrônico



Kbase P164473: Error 12868 when assigning a value to THIS-PROCEDURE.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/8/2010
Status: Unverified

SYMPTOM(s):

Error 12868 when assigning a value to THIS-PROCEDURE.

** Unable to understand after ? ?THIS-PROCEDURE =? (247)

May not assign values to system handles THIS-OBJECT or THIS-PROCEDURE. (12868)

FACT(s) (Environment):

Code contains the following line:
ASSIGN THIS-PROCEDURE = ?.
All Supported Operating Systems
OpenEdge 10.1x
OpenEdge 10.2x

CAUSE:

For a long time, Progress recommended setting handles to ? (unknown value) after deleting them. This was necessary to prevent value the old value from persisting in the handle, making it possible for a newly created object to use the same handle and causing application bugs.

Progress OpenEdge now uses what are called ?opaque IDs?. Handle numbers are now mappings to to the actual pointers, and are virtually guaranteed not to get reused.

Error 12868 was introduced because it is no longer necessary to set handles to ? after deletion.

FIX:

Remove the ASSIGN statement that assigns THIS-PROCEDURE=?. This can be done without any repercussions.