× 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: ENDRQS (was [None])
  • From: thomas@xxxxxxxxxxx
  • Date: 2 Aug 2001 13:54:27 -0700

Neeraj:

The mix of OPM and ILE can be an issue depending on how activation groups are 
created and destroyed and other factors. You might eventually need to make 
modifications in the ILE programming to handle the task fully.

I'd begin with a simple investigation of handling this in a pure OPM 
environment. That will simplify it and let you tackle a piece at a time. Go 
back to ENDRQS and look up "request processing programs" to see how ending a 
'request' relates to ending call levels. By turning some of your programs into 
request processing programs, you can take better advantage of ENDRQS.

When you use DSPJOB OPTION(*PGMSTK), note the first column 'Rqs Lvl' and how it 
relates to the various program or procedure call stack entries. This gets you 
going on what happens when you end a request with ENDRQS and on how to 
determine what the return point will be.

When you're comfortable with request processing, any remaining issues can be 
cleared up.

Tom Liotta

On Tue, 31 July 2001, Neeraj.Verma@smed.com wrote:

> I have a very strange requirement and am not sure if there is any solution.
> Problem is as follows:
> > I have a call tree like PGMA-->PGMB-->PGMC. These programs can be a mixture
> of OPM and ILE.
> > I have created a menu and an interactive call to PGMA is attached as a menu
> option. PGMA can be called either from Menu or Command line. During my call
> to PGMA,  suppose PGMC has some error. I want to trap the error, show user
> a relevant message, kill all the call stack programs(PGMA, PGMB & PGMC)
> with no further processing and come back to same starting place(Menu or
> Command line). Is this possible? Is there a command or API to kill the call
> within the job and return to same starting place? ENDRQS kills the call
> level but does not return to same starting place.
> > Please let me know your suggestions.
> > Thanks
> Neeraj

-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788
Fax  253-872-7904
http://www.400Security.com


___________________________________________________
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 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.