Consultor Eletrônico



Kbase P8447: What is record scope?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/01/2011
Status: Verified

GOAL:

What is the record's scope?

GOAL:

What is meant by record scope?

GOAL:

How is record scope defined?

GOAL:

How does Progress define record scope?

FIX:

The record's scope, is the block in which it was first referenced in your procedure or in a calling procedure.

Use the COMPILE with the LISTING option to determine a record's scope.

Any reference to a record, before the first block in the program, scopes that record to the procedure block. The procedure block does not end until program ends. Therefore, record locks being held until the end of the record scope are held for the duration of the program, even if you explicitly release the record with the RELEASE statement.