Try OpenEdge Now
skip to main content
Error Handling
Using FINALLY End Blocks : Behavior : Buffer scope in a FINALLY block
 

Buffer scope in a FINALLY block

Buffers scoped to the associated block of the FINALLY block will not be available when the FINALLY block. This is because either the buffer was undone and released or committed and released.
If a buffer referenced in a FINALLY block is referenced outside of the associated block, then the scope of that buffer is the smallest enclosing block outside of the associated block that encompasses all references to the buffer. Therefore, these buffers are available to the FINALLY block.