home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / hltrex.zip / read.me < prev    next >
Text File  |  1993-11-10  |  2KB  |  40 lines

  1. Mike:
  2.  
  3. Hopefully I've included everything you need to try this out.  What
  4. I've been doing to test the API is:
  5.  
  6. (1) Open one OS/2 full-screen or windowed session, and run the enclosed
  7.     REXX command file there.  The REXX file just runs in a loop until
  8.     you press CTRL-BREAK or (hopefully) a HALT is raised by an
  9.     external process.
  10.  
  11. (2) Open a second OS/2 full-screen or windowed session, and get the
  12.     process ID of the REXX command file by using either PSTAT or
  13.     RUNNING2.  The thread ID should always be 1 in this case, since
  14.     the REXX command file is not multithreaded.
  15.  
  16. (3) Once you have the process ID of the REXX command file, you should be
  17.     able to halt it by running REXHALT and supplying the PID.  If
  18.     everything was working as expected, you should also be able to
  19.     pop the REXX command file into interactive debug mode by
  20.     telling REXHALT to use RexxSetTrace instead of RexxHalt.
  21.  
  22. The REXX command file does assume that you have already loaded REXXUTIL,
  23. which I do in my STARTUP.CMD file.
  24.  
  25. One caveat is that REXHALT asks for the PID and TID in decimal.  Sorry about
  26. that; I just never got around to adding the numeric base to the atol()'s.
  27. REXHALT prints the values in hexadecimal, which will let you confirm that you
  28. got it right.
  29.  
  30. Feel free to make whatever changes are necessary, and contact me at
  31. (404) 242-9562 x215 if you have any questions at all.  If you need to
  32. send something back to me, my CompuServ ID is 72420,1546 (that's an
  33. Intersoft ID; although it is registered to David Williams, we all
  34. use it as a companywide ID.)
  35.  
  36. Thanks in advance for your time and help,
  37.  
  38. Jonathan Somers
  39.  
  40.