home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug104.arc
/
RECP15.LQR
/
RECDEX.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
3KB
|
74 lines
* FILE:- RECDEX.CMD
* Reindex Program for Record Library
* DATE:- 14/03/86
* UPDATE:-
SET INTEN OFF
STORE T TO LEVEL3
DO WHILE LEVEL3
ERASE
@ 0,0 SAY"Reindex"
@ 1,38 SAY"-=-"
@ 2,28 SAY"--+-- dBASE II --+--"
@ 3,38 SAY"-=-"
@ 5,37 SAY"-===-"
SET INTEN ON
@ 6,24 SAY" --+-- REINDEXING MENU --+-- "
SET INTEN OFF
@ 7,37 SAY"-===-"
@ 9,14 SAY"=================================================="
@ 10,17 SAY"2 ---> TO REINDEX THE 33 RPM .DBF FILE"
@ 12,17 SAY"4 ---> TO REINDEX THE 45 RPM .DBF FILE"
@ 14,17 SAY"6 ---> TO RETURN TO RECORD LIBRARY MENU"
@ 16,17 SAY"8 ---> TO dBASE II - FOR MANUAL USE"
@ 17,14 SAY"=================================================="
SET TALK OFF
@ 19,37 SAY"-===-"
SET INTEN ON
@ 20,24 SAY"< SELECT REQUIRED NUMBER >"
SET INTEN OFF
@ 21,37 SAY"-===-"
STORE 0 TO NOW
@ 20,52 GET NOW PICTURE "9"
READ
DO CASE
CASE NOW = 2
ERASE
@ 0,0 SAY"Reindexing 33"
SET INTEN ON
@ 3,21 SAY" --+-- REINDEXING 33RPM FILE --+-- "
SET INTEN OFF
@ 4,37 SAY"-===- "
SET TALK ON
USE B:RECLIB
INDEX ON ARTIST TO ARTIND
USE
CASE NOW = 4
ERASE
@ 0,0 SAY"Reindexing 45"
SET INTEN ON
@ 3,21 SAY" --+-- REINDEXING 45RPM FILE --+-- "
SET INTEN OFF
@ 4,37 SAY"-===- "
SET TALK ON
USE EXTPLY
INDEX ON ARTIST TO EXTIND
USE
CASE NOW = 6
RELEASE LEVEL3,NOW
RETURN
CASE NOW = 8
ERASE
RELEASE LEVEL3,NOW
CANCEL
ENDCASE
ENDDO
RETURN
INDEX THE 33 RPM .DBF FILE"
@ 12,17 SAY"4 ---> TO REINDEX THE FILE"
@ 12,17 SAY"4 ---> TO REINDEX THE