CLOSE { File-Name [REEL] [ WITH {NO REWIND} ] } ... {LOCK } |
CLOSE WINDOW Window-Handle [ WITH NO DISPLAY ] |
CLOSE POP-UP wcb [CONTROL Cntrl-String] |
close file1 |
close file1 lock |
working-storage section. 01 window-handle usage handle. 01 cust-values. 05 ws-cust-code pic x(5). 05 ws-cust-name pic x(50). screen section. 01 screen-1. 03 scr-cust-code Entry-Field using ws-cust-code line 3.0 column 21.4 size 12.7 cells lines 3.8 cells id 1 3-d. 03 scr-cust-name Entry-Field using ws-cust-name line 8.7 column 21.4 size 24.5 cells lines 4.6 cells id 2 3-d. 03 scr-lab-1 Label line 2.7 column 4.5 size 13.5 cells lines 3.7 cells id 3 title "Code :". 03 scr-lab-2 Label line 9.3 column 4.5 size 13.5 cells lines 3.7 cells id 4 title "Name :". 03 scr-pb-save Push-Button line 16.4 column 15.7 size 15.5 cells lines 6.4 cells id 5 title "Save". ... |
procedure division. display-and-accept. display standard window background-low screen line 41 screen column 91 size 49.7 lines 24.9 cell width 10 cell height 10 label-offset 20 color 257 modeless title "Customers" handle window-handle. display screen-1. perform until exit-pushed accept screen-1 on exception perform is-screen-1-evaluate-func end-accept end-perform. close window window-handle. ... |