|
Override won't help going between the IFS and a message file but if your goal is to provide custom messages for a customer you would create a default message file to distribute with your application. Write an interface to allow customization/addition of messages but place these into a different message file or library. In your application code check for the existence of the custom message file and if found run the OVRMSGF command. -----Original Message----- From: rpg400-l-bounces+rick.chevalier=americredit.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+rick.chevalier=americredit.com@xxxxxxxxxxxx]On Behalf Of SRamanujan@xxxxxxxxxxxxxxxxxx Sent: Monday, December 20, 2004 10:44 AM To: rpg400-l@xxxxxxxxxxxx Subject: RE: Message file from and to IFS Thanks Rick, I am not sure how to do this for what I am looking for. I want to write to a text file from message file to an IFS and from text file back to message file on AS/400 (with new messages). So at some point I need to do this addmsgd. Please let me know how you mean override. I would like to know if there is another better way to do this. Thanks, Sudha Sudha Ramanujan SunGard Futures Systems sramanujan@xxxxxxxxxxxxxxxxxx (312) 577 6179 (312) 577 6101 - Fax -----Original Message----- From: Rick.Chevalier@xxxxxxxxxxxxxxx [mailto:Rick.Chevalier@xxxxxxxxxxxxxxx] Sent: Monday, December 20, 2004 10:33 AM To: rpg400-l@xxxxxxxxxxxx Subject: RE: Message file from and to IFS Yes. I can't think of an API from memory to add messages but even if there isn't one you can always use the ADDMSGD command. I'm not sure why you are wanting to do this though. Why not just override the message file at run time? Rick -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of SRamanujan@xxxxxxxxxxxxxxxxxx Sent: Monday, December 20, 2004 9:51 AM To: rpg400-l@xxxxxxxxxxxx Subject: Message file from and to IFS Hi all, I am trying to externalize message file messages. I would like to know if I could add a message into a message file though a program. Actually, I want to pull in all the existing messages from the file write it to an IFS file and I think I can use QMHRTVM for this and then open a text file and write the details. Can I now do the reverse as well? I have to do this so that the text file can be loaded into other software. The other software can also add their messages that I want to load back to message file on AS/400. Thanks for all your help, Sudha Sudha Ramanujan SunGard Futures Systems sramanujan@xxxxxxxxxxxxxxxxxx (312) 577 6179 (312) 577 6101 - Fax -- 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. Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain legally privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited. -- 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. -- 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. Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain legally privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
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.