Error Message Display

Tags:
iSeries v6r2
RPG Program
We have written an RPG program that runs on a Hand Held RF Scanner running a 5250 emulation program. We defined the screen to display error messages on line 12 o fhte display. When we run the program on the scanner or a standard display screen, the error message always displays on line 24. Any idea why the error message goes to line 24 and not line 12 as we defined? We have tried using the MSGLOC command and that is not working DSPSIZ(24 80 *DS3) MSGLOC(16) CHGINPDFT PRINT(*LIBL/QSYSPRT) INDARA

Software/Hardware used:
I-Series V6R2 O/S

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: 3  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
    What record is active when the problem occurs? What lines does it cover? What kinds of messages are you seeing the problem on? (I.e., what keywords, actions or code generates the messages?) You don't show that you use the ERRSFL keyword; do you have a message subfile? -- Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    BTW, if you have a 24x80 display, why use line 12? (And why does your MSGLOC keyword say "16" rather than "12"?) -- Tom
    125,585 pointsBadges:
    report
  • ToddN2000
    are you trying to run the same program and display file on 2 types of devices with different screen sizes ?  That sounds like the problem. The DDS  needs to have display setting for the appropriate device. If you try to open a full 24x80 on a hand-held it will probably fail unless the resolution is high enough. 
    11,245 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