home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / z3doc / db-quit.lbr / DB-QUIT.DZC / DB-QUIT.DOC
Encoding:
Text File  |  1993-06-07  |  1.9 KB  |  41 lines

  1.  
  2.                DBASE II'S "QUIT TO" UNDER Z33/Z34
  3.  
  4.  
  5. dBase II writes a $$$.SUB file in the default user area of drive 
  6. A when you use the "QUIT TO" command.  That won't work under 
  7. ZCPR33 or ZCPR34 if your dBase is running from a user area other 
  8. than 0, because the CCP normally looks for $$$.SUB in user 0.
  9.  
  10. Some time ago Bruce Morgen suggested a solution using dBase's 
  11. machine language interface, but the explanation was rather 
  12. sketchy and probably not comprehensible to those who aren't 
  13. assembly language programmers.
  14.  
  15. In this library you will find an automatic solution, based on 
  16. Bruce's idea.  Just put USER.HEX and QUIT.CMD in your dBase 
  17. directory (drive and user area).  When you want to quit dBase and 
  18. run some additional commands, just type "DO QUIT".
  19.  
  20. You will be asked for the command line you want to run from the Z- 
  21. System prompt.  The command line may contain multiple commands 
  22. separated by semi-colons.  Do not surround the command line with 
  23. quotation marks.
  24.  
  25. After you have entered the command line, the default user area 
  26. will be changed to 0, dBase will be exited, and the command line 
  27. executed.  If you want to return to dBase automatically, just 
  28. make "DBASE" the last command on the command line you enter.
  29.  
  30. If you have modified your system to look for $$$.SUB on a drive 
  31. other than A (I use M, my RAM disk), that's a simple 
  32. modification.  Use ZPATCH or ZEDFILE to look for "$$$     .SUB" 
  33. in the DBASEOVR.COM file (there is more than one occurrence).  
  34. The byte just before the filename is the drive it will be written 
  35. to; in this case "01" for drive A.  Change that byte to match the 
  36. drive you use for your $$$.SUB file, such as "0D" for drive M.
  37.  
  38. It is probably a good idea to have an alias in your ARUNZ 
  39. ALIAS.CMD file that automatically logs you into the dBase 
  40. directory before running dBase II.
  41.