home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug106.arc
/
CHECKS.LBR
/
$REPORT1.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
2KB
|
64 lines
* * * * * $REPORT1.CMD * * * * * 6/30/84
*
* This program will print REPORT "CHECKS OUTSTANDING"
* from $CHECKS.DBF
*
SET TALK OFF
SET EJECT OFF
STORE 'Y' TO again
DO WHILE again = 'Y'
ERASE
DO $accts.mnu
IF account = 'X'
RELEASE again
RETURN
ENDIF
USE $checks
ERASE
?
?
? " Don't forget to turn PRINTER ON !!! " + CHR(7)
?
?
? ' Press any key to continue...'
SET CONSOLE OFF
WAIT
SET PRINT ON
REPORT FORM $REPORT1 FOR acct = '&ACCOUNT' .AND. .NOT. can
? CHR(7)
SET CONSOLE ON
SET PRINT OFF
?
?
? ' Would you like to print another OUTSTANDING CHECK'
?? ' Report (Y/any) ?'
SET CONSOLE OFF
WAIT TO again
STORE !(again) TO again
SET CONSOLE ON
ENDDO
RELEASE again
RETURN
4FG*A 613FIRST BANKCARD CENTER 450.00T01/18/84KV*A 614GIANT FOOD 27.41T01/23/84FG*A 615OS program gener * * * $EXIT.CMD * * * * * 6/30/84
*
* Used to exit from the program.
ERASE
SET INTENSITY OFF
@ 4,30 SAY "EXIT MENU"
@ 5,27 SAY "==============="
@ 8,23 SAY "A - Exit to DBASE II"
@ 10,23 SAY "B - Exit to CP/M"
@ 12,23 SAY "C - ABORT Exit"
@ 16,27 SAY "PLEASE ENTER YOUR DESIRE..."
SET INTENSITY ON
SET CONSOLE OFF
WAIT TO stop
STORE !(stop) TO stop
SET CONSOLE ON
DO CASE
CASE stop = 'A'
USE
RELEASE ALL
SET TALK ON
ERASE
*