× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: ILE error message handling
  • From: bmorris@xxxxxxxxxx
  • Date: Wed, 7 Mar 2001 12:11:36 -0500
  • Importance: Normal


>Date: Wed, 7 Mar 2001 08:27:46 -0600
>From: "Jade Richtsmeier" <jade.richtsmeier@MCIS.cog.mn.us>
>
>Here's my situation.  I have a program that is made up of four modules.
The
>program is called from a menu and is compiled with the QILE activation
>group.  All of our service programs are compiled with *caller activation
>group.  If there is an error in any one of the modules or one of the
service
>programs, the program just 'hangs'.  PSSR isn't handling the error.  I
have
>the PSSR routine defined in every module and service program.

Jade, I'm not aware of any problem that will cause a PSSR not to handle the
error.  What I would do if I were you is step through the program in the
debugger during an error situation.  Before you get the error, set a break
point in all the possible PSSRs just to make sure you see if you _do_
ever get to a PSSR.  I wonder if you're actually getting to a PSSR but
for some reason you're getting another error in the PSSR and therefore
looping in the PSSR.  If this turns out to be the problem, you'd want to
put some loop prevention code in the PSSR, like this:

C      *pssr      begsr
C                 if       in_pssr <> '1'
C                 eval     in_pssr = '1'
C                 ... do your PSSR stuff
C                 endif
C                 eval     in_pssr = '0'
C                 endsr

Barbara Morris


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.