Displaying AS/400 Error Message in Red

515 pts.
Tags:
AS/400 Display File
AS/400 errors
Display File
I would like to display error message in red color using ERRMSG or ERRMSGID.[Br style="padding: 0px; margin: 0px;" />[Br style="padding: 0px; margin: 0px;" />Is it possible?

Software/Hardware used:
AS400

Answer Wiki

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

Discuss This Question: 1  Reply

 
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
  • TomLiotta
    I haven't seen ERRMSG() ever supporting any method of color attributes. However, there is the possibility that ERRMSGID() might be possible. When creating the message definition used for ERRMSGID(), try placing the RED display attribute hex value at the beginning of or embedded within the message text. You might want to create a small CL program to fashion the ADDMSGD or CHGMSGD command in order to concatenate hex '28' with the text. Use hex '20' later in the text if you choose to return color back to normal (and if it works with ERRMSGID() at all). I wouldn't plan on it working, but it seems possible. I'd guess that this isn't a usual thing for ERRMSG()/ERRMSGID() because of how processing flows for the user when those come into effect. Tom
    125,585 pointsBadges:
    report

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