Escape many loops

I did some searching but wasn’t able to find a satisfactory answer.

Read file
for #I = 1 to 10
for #j = 1 to 10
see if date matches
write header
escape
end
end

I want to escape both for loops and go to the next read. do I need to escape the outer loop too?
Thank you for taking the time…

Not if you label your loops.


READ-FILE.
Read file 
  FOR1.
  for #I = 1 to 10 
    FOR2.
    for #j = 1 to 10 
      if date matches 
        write header 
        escape bottom (FOR1.)
      end-if
    end-for   /* FOR2.
  end-for  /* FOR1.
end-read /* read-file.

Thank you so much! Was having strange results and this might be the answer!