学習目的で、私は次のことを試みています: COBOL を介してテーブルを表示しようとしていますSCREEN SECTION
....
以下が発生するか、発生するはずです-すべて複数の画面を開くことなく:
(1) User enters ENTRY-SCREEN
(2) User has to type in a password (nothing happens there yet ... I am going
step by step)
(3) User hits ENTER and gets to the MAIN MENU
(3.1) User hits "D" --> List of states and abbreviations is displayed
(3.2) User hits "S" --> User gets to screen where he can look up state-name
by entering abbreviation.
(4) By pressing F2 the user can go back to the MAIN MENU
(5) By pressing F1 the user can exit the program
私の問題は、新しい画面を開かず、状態ごとに行と列の定義を定義する必要がない 3.1 です。THRU
これを簡単にし、画面セクションでこれを定義する方法はありますか? お気に入り:
PERFORM VARYING counter FROM 1 BY 1 UNTIL counter > 50
*<Display the abbreviation and state-name w/o opening new screen>
END-PERFORM.