home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG102.ARC
/
STOCTAKE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
2KB
|
34 lines
*STOCTAKE.PRG
*STOCTAKE PROGRAM TO INSERT DATA FROM MANUAL STOCKTAKE TO DATABASE
SET TALK OFF
ERASE
USE STOCK
DO WHILE T
STORE ' ' TO CODEA
STORE 0000 TO QTY
@ 1,0 SAY 'INSERT CODE TO ADD TO LIST ZERO= EXIT' GET CODEA
@ 2,0 SAY 'INSERT QUANITY OF STOCKED ITEM ' GET QTY
READ
IF CODEA=' '
LOOP
ENDIF
IF CODEA='0'
RETURN
ENDIF
APPEND BLANK
REPLACE COD WITH CODEA
REPLACE QUANITY WITH QTY
CLEAR GETS
ENDDO
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL COD C ц QUANITY Nچ