home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Database / INTERBASE2_0-2.DMS / in.adf / ARexx / CurrentEnvironmentPrefs.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1993-03-23  |  801 b   |  29 lines

  1. /*
  2.  *
  3.  * Script name:     CurrentEnvironment.rexx
  4.  * Author:          Franz Hemmer
  5.  * Purpose:         Demonstrate how to obtain name and path of current environment in InterBase.
  6.  * Related Program: InterBase Pro
  7.  * Written:         22.03.93
  8.  *
  9.  */
  10.  
  11. Options Results
  12.  
  13. /*----------------------------------------------*/
  14. /* Address InterBase port, and execute command. */
  15. /*----------------------------------------------*/
  16. ADDRESS INTERBASE1 CURRENT_ENVIRONMENT_PREFS
  17. parse var result maxgarbage autoram workdir
  18. SAY 'Maximum acceptable garbage percentage: 'maxgarbage
  19. IF autoram = 2 THEN
  20.    DO
  21.       SAY 'Auto RAM                             : ON  'autoram
  22.    END
  23. ELSE
  24.    DO
  25.       SAY 'Auto RAM                             : OFF 'autoram
  26.    END
  27. ENDIF
  28. SAY 'Working directory for environment    :'workdir
  29.