Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
file
acct#1
product1
date1
date2
etc.
product2
date1
date3
date4
etc.
acct#2
product1
date3
etc.
7000-read-rtn.
move ws-ip-rec to ws-ip-prev
read ip-file into ws-ip-rec
at end set ip-eof to true
move high-values to ws-ip-rec
not at end add +1 to ws-ip-cnt
end-read
perform 7010-set-breaks
.
7010-set-breaks.
if curr-acct not = prev-acct
set acct-is-finished to true
set prod-is-finished to true
set date-is-finished to true
end-if
if curr-prod not = prev-prod
set prod-is-finished to true
set date-is-finished to true
end-if
if curr-date not = prev-date
set date-is-finished to true
end-if
0000-main-line.
perform 7000-read-ip
if ip-eof
display error msg
stop run
end-if
perform 1000-acct-lev
until file-is-finished
perform 6900-print-rpt-end
perform 9000-end-it
stop run
.
1000-acct-lev.
perform 6000-print-rpt-heads
set reset-acct-sw to true
perform 2000-prod-lev
until acct-is-finished
perform 6100-print-acct-tots
zero tots, etc.
.
2000-prod-lev.
set reset-prod-sw to true
perform 3000-date-lev
until prod-is-finished
.
3000-date-lev.
set reset-date-sw to true
perform 4000-detl-lev
until date-is-finished
.
4000-detl-lev.
move ip data to rpt-line or whatever
perform 7000-read-ip
.
01 ws-break-switches.
05 ws-acct-sw pic x(001).
88 acct-is-finished value 'F'.
88 reset-acct-sw value 'R'.
0000-mainline.
.
.
.
perform 8000-init
perform 7000-read-ip
if ip-eof
display 'no data in i/p file'
stop run
end-if
perform 1000-process-codes
until ip-eof
.
.
.
1000-process-codes.
set reset-code-sw to true
perform 1100-process-detl
until code-is-finished
.
1100-process-detl.
collect data, etc.
perform 7000-read-ip
.