× 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: Message Subfiles and ILE
  • From: David & Eileen Keck <bstars@xxxxxxxxxxxxx>
  • Date: Mon, 28 May 2001 09:46:08 -0700

I tried '1' for the program queue and call stack entry but received
CPF2479 - call stack entry not found.  However, I also tried the method of
specifying SFLPGMQ(276) and explicitly naming the ILE call stack entry (with
data from the *PSDS) and that worked.  The V4R4 DDS Reference provides no
indication that the special value '*' for SFLPGMQ is not supported in ILE
programs, but that certainly appears to be the case.
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3AUI03/3.151.3
Thanks - Dave K.

----- Original Message -----
From: "William A Pack" <tonypack@bellsouth.net>
To: <MIDRANGE-L@midrange.com>
Sent: Sunday, May 27, 2001 10:41 PM
Subject: RE: Message Subfiles and ILE


> The program is no longer 1 in the call stack.  The first entry is the PEP,
> program entry point.  Use the value "1" and it works...
>
> Tony
>

----- Original Message -----
Consider a working RPG/400 program and associated DDS whose sole purpose is
to display a message in a message subfile on a standard *DS3 non-window
display file.  If you create an ILE version of the program using CVTRPGSRC
(to activation group QILE), would you expect the converted program to behave
the same as original version ?  I did, but no entry ever appears in the
message subfile of the ILE version of the program.

The Send Program Message API QMHSNDPM does cause the message to be reflected
in the job log, and the message details (F9) indicate a correct call stack
entry.  In my test code I specify the Call Stack Entry / Program Queue to be
'*' for both the QMHSNDPM API and the SFLPGMQ DDS keyword.  I have tried
both SFLPGMQ(10) and SFLPGMQ(276).   I can post the code but thought someone
might know what's wrong from this description alone.  Thanks - Dave K.


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

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.