Show multiple error messages at the bottom of display file

2505 pts.
Tags:
AS/400
DSPF
I want to show multiple messages on a DSPF, when user keys page down, I want it to appear one by one. I know we can do this, but now I don't remember exactly. Please give a hint.

Software/Hardware used:
As400 RPG

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: 5  Replies

 
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
    To scroll through messages, you would use a message subfile. Descriptions and examples are in Chapter 4 of the Application Display Programming manual, topic 'Displaying Messages from Subfiles'. Download the .PDF to read the topic. The messages are loaded into the subfile automatically from the program message queue. All messages you send to the queue are loaded. -- Tom
    125,585 pointsBadges:
    report
  • RamvishakRamesh
    But mine is a simple display file, not a subfile.. will the concept works here as well?
    2,505 pointsBadges:
    report
  • TomLiotta
    Your display doesn't need to be a subfile. You add the message subfile DDS to your display file. Look over the documentation. -- Tom
    125,585 pointsBadges:
    report
  • RamvishakRamesh
    Great.. am done with it.. The only issue is second level messages are not getting displayed from the message file
    2,505 pointsBadges:
    report
  • TomLiotta
    Three things are needed for 2nd-level text in a message display: (1) message ID, (2) message file name and (3) message file library. Library can be a special value such as *LIBL if the message file is in the program's library list. Show how the messages are sent to the message queue if you can't determine which element is missing. 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