home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / icat.zip / icatos2.zip / icatos2 / bin / catdebug.cmd next >
OS/2 REXX Batch file  |  1997-04-18  |  2KB  |  58 lines

  1. @Echo off
  2. ECHO Setting up ICAT Debug Information
  3.  
  4. rem  CATDEBUG.CMD - ICAT debug output settings
  5.  
  6. rem  Typically, the only recognized settings for any of the CAT_DEBUG
  7. rem  environment variables are ALL and/or ON.  Any other setting will
  8. rem  cause the environment variable to be ignored.
  9.  
  10. rem  CAT_DEBUG - recognized settings are:
  11. rem    ALL - all other settings are ignored and *everything* is output
  12. rem    ON - use the individual settings which follow
  13.  
  14. SET CAT_DEBUG=ON
  15.  
  16. rem  CAT_DEBUG.IPROBECALLS - recognized settings are:
  17. rem    ALL - individual CAT_DEBUG.IPROBECALL* settings are ignored and
  18. rem            all are assumed ON
  19. rem    ON - use the individual settings for each CAT_DEBUG.IPROBE_CALL*
  20. rem            environment variable
  21.  
  22. SET CAT_DEBUG.IPROBECALLS=ON
  23.  
  24. rem  The only recognized setting for Individual CAT_DEBUG.IPROBECALL*
  25. rem  variables is ON.  Note that non-SUCCESS return codes are always
  26. rem  output as long as CAT_DEBUG.IPROBECALLS is ALL or ON.
  27. rem    CAT_DEBUG.IPROBECALLBEEP - beep on each iprobe call
  28. rem    CAT_DEBUG.IPROBECALLINPUT - display iprobe_* call input
  29. rem    CAT_DEBUG.IPROBECALLOUTPUT - display iprobe_* call output
  30. rem    CAT_DEBUG.IPROBECALLRC - display all iprobe_* call return codes
  31. rem    CAT_DEBUG.IPROBECALLTIMER - display iprobe_* call elapsed time
  32.  
  33. SET CAT_DEBUG.IPROBECALLBEEP=OFF
  34. SET CAT_DEBUG.IPROBECALLINPUT=ON
  35. SET CAT_DEBUG.IPROBECALLOUTPUT=ON
  36. SET CAT_DEBUG.IPROBECALLRC=ON
  37. SET CAT_DEBUG.IPROBECALLTIMER=OFF
  38.  
  39. rem  The following environment variables control how much info is output
  40. rem  to the debug file during debug file initialization.  The only
  41. rem  recognized setting for each is ON.
  42. rem    CAT_DEBUG.ENVIRONMENT - display ICAT environment variables
  43. rem    CAT_DEBUG.SYSINFO - display ICAT host IP address and OS/2 version
  44.  
  45. SET CAT_DEBUG.ENVIRONMENT=ON
  46. SET CAT_DEBUG.SYSINFO=ON
  47.  
  48. rem  The following environment variables control whether or not the debug
  49. rem  engine can output certain messages.  The only recognized setting for
  50. rem  each is ON.
  51.  
  52. SET CAT_DEBUG.MESSAGE=ON
  53. SET CAT_DEBUG.MODULEINFO=ON
  54. SET CAT_DEBUG.OBJECTINFO=ON
  55. SET CAT_DEBUG.THREADINFO=ON
  56. SET CAT_DEBUG.CALLFNINFO=ON
  57.  
  58.