Based on your picture, I don't think "line 3" belongs to the same frame as "line 2" (and maybe "line 1" and line 2 "don't belong to the same frame).
Try creating an anchor between the frame with "line 2" (top frame) and the frame with "line 3" (bottom frame), then set the property "Keep With Anchoring Object" on the bottom frame to "Yes".
See the Reports help description for "Keep With Anchoring Object":
The Keep with Anchoring Object property indicates whether to keep an object and the object to which it is anchored on the same logical page.
Setting Keep with Anchoring Object to Yes means that if the object, its anchoring object, or both cannot fit on the logical page, they will be moved to the next logical page.
If you set Keep with Anchoring Object to Yes for a repeating frame, it means the first instance of the repeating frame must be able to fit on the same page as its anchoring object.
Otherwise, the Keep With Anchoring Object condition is not satisfied.
If you set Keep With Anchoring Object to Yes for any layout object other than a repeating frame, it means the object must be able to format entirely on the same page as its anchoring object.
The anchor between the two objects may be explicit or implicit.
Consequently, Keep With Anchoring Object may have an effect even if you have not explicitly created an anchor between two objects.
The question was if the option "Keep With Anchoring Object" is available in JD Edwards Report Design Aid (RDA) tool.
This forum is only for Oracle Reports.
click on end of page1 in template and delete unwanted space after that save template and test it again