In reply to Gerry Nelson.

Ah, yes, indeed, Gerry. Using FETCH function instead of FETCHOBS effectively eliminates the outer loop with its primary index. Good CATCH, thank you!