home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / rexx / 1434 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.2 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!psuvm!lrl
  2. Organization: Penn State University
  3. Date: Fri, 18 Dec 1992 11:07:06 EST
  4. From: Linda Littleton <LRL@psuvm.psu.edu>
  5. Message-ID: <92353.110706LRL@psuvm.psu.edu>
  6. Newsgroups: comp.lang.rexx
  7. Subject: Re: PARSE CALLER
  8. Lines: 16
  9.  
  10. My major reason for suggesting PARSE CALLER is for debugging.  Imagine a
  11. complex system with many separate Rexx programs calling each other, and
  12. imagine that one particular Rexx program which is called by many
  13. different programs is getting a strange error.  You need to figure out
  14. the circumstances under which this program was called, that is, you need
  15. to know which other program made the call to the program that's getting
  16. the error.
  17.  
  18. You might argue that all I need to do is turn off SIGNAL ON SYNTAX, put
  19. in a line that will cause an error to happen, and voila, I'll see the
  20. trace back.  However, this method is only useful if the error I'm
  21. looking for occurs on the first call.
  22.  
  23. BTW, I'm not sure PARSE CALLER is the right way to do this.  The
  24. information I'd like to get is not just who called me, but who called
  25. her and so forth all the way back.
  26.