- You could also identify the PEP by specifying the special value *PGMBDY
as the call stack entry:

C callp     SndPgmMsg('CPF9898':
C                     'QCPFMSG   *LIBL  ':
C                     MsgTxt:
C                     %Len(MsgTxt):
C                     '*INFO':
C                     '*PGMBDY':
C                     1:
C                     KeyVal:
C                     dsEC)

Other options include *CTLBDY - or *PGMNAME combined with optional
parameter group 1, which offers a way to send the program message relative
to a specified program or procedure name anywhere in the call stack.

Best regards,
Carsten Flensburg




This thread ...


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

This mailing list archive is Copyright 1997-2026 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.