>>>Hi All
>>>
>>>Can you have nested SCAN - ENDSCAN on different files within a SCAN - ENDSCAN on some other file?
>>>
>>>Thanks
>>
>>Sure
>
>Hi Gregory - thanks for the fast reply :) Just to be 100% clear; each nested SCAN - ENDSCAN, as well as the outside SCAN- ENDSCAN, will know which file it is processing and move the record pointer accodingly without affecting any other SCAN - ENDSCAN file loop?
Yes, why not - as long as the nested scan does not scan the alias of the outer scan or moves the pointer of the outer scan by eg seeking
Gregory