Message file

5 pts.
Tags:
RPG
I am using RPG II on an AS400 opererating in a system 36 enviroment. I've created a message file for our Order Entry program by making a copy of an exsiting source and adding an additional message and MIC. It was tasted using: // member user1-ntrymsg and // * 1251. The message I added was displayed. When I test the program, however, no messgage appers. In fact none of the messages come up when an error occurs. Is there a special produre I have to run in order for the program to display the messages?

Answer Wiki

Thanks. We'll let you know when a new response is added.

In addition to defining the message you generally need to also change the application in order to reference/use the new message. This can be done from within the RPG II program and/or through changes in the screen definition.

If you have not done so already I would recommend reviewing Chapter 15 of http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/books/sc414730.pdf and the applicable parts of http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/books/c0918180.pdf

As I’m not sure exactly how you are trying to reference the messages from within the RPG II program I can’t be much more specific in where to look in the RPG manual.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following