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



Hello,

I have a problem, i have two RPG/400 programs. 

One program , lets call it ProgA calls the other program ProgB. No problems at 
all. 

Ok, now the following. The programmers who coded before me decided to use the 
system data structure Progname (pos. 1-10) for the Message files. So, whenever 
a call to sndpgmmsg is done, the message-file variable = W#PGMN (either filled 
with ProgA or ProgB).

Still no problems, everything works ok. But now whenever i recompile ProgB 
(even if i dont adjust anything!) it happens that the programname variable is 
filled with something like 'Q1A9B26BEB.' So whenever i fire-up the ProgB (thru 
ProgA) an error appears cause it cannot find the messagefile "Q1A9B26BEB."

When i cancel all the error-messages and restart the ProgA and then go to ProgB 
the error will not appear anymore.... until i recompile progB.

Weird?

Hopefully someone can help me out,

regards

FrankvanLeeuwen

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.