If the previous BRANCH statement did not redirect the program, the following ENTER command simulates pressing the Enter key to add a new line:
ENTER TABF 1 TABB 1 BRANCH ANY,KLOOP1
The TABF and TABB commands simulate pressing the ®| (forward tab) and |¬ (back tab) keys. In this program, the TABF statement moves the cursor forward to the next input field and the TABB statement moves the cursor back to the previous input field. This is done to ensure that the cursor is in the first space of the inserted line.
The BRANCH statement directs the program to the statement labeled KLOOP1, which copies the next line of screen data.
|
Copyright © 2013 CA.
All rights reserved.
|
|