|
Sounds like something from QRPLOBJ. I'd sign off your session and back on to see if it changes. Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com Frank van Leeuwen - Van Boxtel Software BV To: rpg400-l@xxxxxxxxxxxx <fvleeuwen@van-boxtel-s cc: oftware.nl> Subject: System variable for program name invalid Sent by: rpg400-l-bounces@midran ge.com 09/17/2004 11:02 AM Please respond to RPG programming on the AS400 / iSeries 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 -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.