I re-read your message and see that you are probably trying to send the
message to the invoking program, not next entry in the call stack.
You may want to replace "*         " with "*PGMBDY   " in that case.

Elvis

-----Original Message-----
From: c400-l-bounces@xxxxxxxxxxxx [mailto:c400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Elvis Budimlic
Sent: Wednesday, October 06, 2004 5:20 PM
To: 'C programming iSeries / AS400'
Subject: RE: [C400-L] Sending an *ESCAPE msg via QMHSNDPM

Chris, we have last four parms as:

"*          ",  
1,                                                      
"    ",                                                 
"\0\0\0\0\0\0\0\0");

and use it as a C define, not wrapped in a function call.  This was an
important distinction for us.

HTH - Elvis

-----Original Message-----
Subject: [C400-L] Sending an *ESCAPE msg via QMHSNDPM

 
I have a C program that needs to send an *ESCAPE msg.  In QMHSNDPM I
coded the stack to '*' and '*prv' and stack counter to various values,
but the program keeps getting the unhandled exception message on the
*ESCAPE it just sent.  Our group's working hypothesis is the C program
is getting notified because QMHSNDPM is called from it, and it is the
next up the stack.  

Does this sound correct?  If so, what values do I need to get the
*ESCAPE msg back to the program's caller?

Thanks! 



_______________________________________________
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.






This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].