0
학습 목적으로 다음을 시도하고 있습니다. COBOL을 통해 표를 표시하려고합니다 ... SCREEN SECTION
에 표시되는 방식을 정의하고 싶습니다.COBOL의 화면 섹션에 테이블을 표시하는 방법은 무엇입니까?
다음은 발생 또는 발생하도록되어 - 모든 여러 화면을 열지 않고 :
(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.
@peehaa 가능하면 태그를 수정할 때 모든 것을 수정하십시오. –