× 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.



ile rpg wrote:
> 
>    This is my so-called proof-of-concept code:
> ...
>    D @clstkentry     s             10    inz('*')
>    D @clstkcounter   s             10i 0 inz(1)
>    D @msgkey         s              4
>    D @apierr         s            256
> 
>    C                   call      'QMHSNDPM'
> ...

If you were called as a ILE program, a stack entry of * and a stack
counter of 1 gets to your program's PEP, not to your caller; try using
2.  (If you were called as a procedure, */1 gets to your caller.)

Here's the invocation stack for an OPM program called from the command
line (QUOCMD):
8    QUOCMD      QSYS             
     PROOF       QTEMP       20   

And for an ILE program:
8    QUOCMD      QSYS                     
   < _PEP_PROOF  QTEMP                    
     PROOF       QTEMP       0000000013


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.