IF an RPG error pop-up at a user screen, can we prevent him to put any answer?

25 pts.
Tags:
AS/400
AS/400 Screen
RPG
Any user on AS/400 screen (emulation 5250 or telnet) that is using our AS/400 menu and gets an error that needs a reply (C, G, D, I or else)  I want to prevent the user (interactive) to answer any error message that could popup at the bottom of his screen.  Can this be done on the AS/400?

Software/Hardware used:
I5/os V6r1

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: 6  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

    No. Once the message appears, a response must be given.

    You prevent it by not letting the message appear in the first place. The message appears because the programming is ignoring the error condition.

    It's possible to use the System Reply List to set a default reply for different messages. Use the WRKRPYLE command to access the list. But any job that uses the reply list will always give the default response for the listed messages even if the reply is not appropriate.

    Tom

    125,585 pointsBadges:
    report
  • Denisv88
    Hi

    thanks for the answer

    I don't thing we can use the reply list entry.

    I've looked at the "QIBM_QMH_REPLY_INQ " regertry to see If we could code something butwith no success.

    I event tried to change the user message queue to be QSYSOPR and retrieve the authority to QSYSOPR (only *use) but the message is only at the user screen.

    And if this occur, then the data is corrupted and it take many hours to programmer to fix the data.

    I think it is a 'work as designed' thing
    25 pointsBadges:
    report
  • NeilD

    As Tom has already said; you need to prevent the error messages appearing in the first place.

    So the real questions are :

    1. What are the error messages.

    2. How are they occuring.

    3. What changes do you need to do to the programs to handle them.

    485 pointsBadges:
    report
  • TomLiotta

    I've looked at the "QIBM_QMH_REPLY_INQ " regertry to see If we could code something butwith no success.

    Why not? That's not a bad alternative, but it's not clear what you actually want to accomplish. If you explain, it might suggest a useful direction.

    Please describe an actual scenario that you want to handle. Add a description of how you would want it to work instead of how it works now. And since you're at i 6.1, be aware that the QIBM_QMH_HDL_INQEXT exit point is also available to you.

    Tom

    125,585 pointsBadges:
    report
  • Denisv88
    Hi sorry for the delay,

    After talking to the end user who cause dall of this, I realise that what she did is :

    When receive the duplicate key error, instead of asking our help desk, she just clik the red X at top screen closing her 5250 emulation.

    Then during the afternoon, someone realise that, doing a lots of recorevy.

    So the question is we can prevent the X on top corner to appear, but still users can get rid of their emulation other way.

    Working with the api was for me a way to have a catch all since our applications are not coded to prevent all errors.

    Hi sorry for the delay,

    After talking to the end user who cause dall of this, I realise that what she did is :

    When receive the duplicate key error, instead of asking our help desk, she just clik the red X at top screen closing her 5250 emulation.

    Then during the afternoon, someone realise that, doing a lots of recorevy.

    So the question is we can prevent the X on top corner to appear, but still users can get rid of their emulation other way.

    Working with the API was for me a way to have a catch all since our applications are not coded to prevent all errors.

    Thank you all for your help

    Normal 0 21 false false false FR-CA X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tableau Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;}
    Thank you all for your help

    25 pointsBadges:
    report
  • TomLiotta

    When receive the duplicate key error, instead of asking our help desk, she just clik the red X at top screen closing her 5250 emulation.

    That is mostly a different circumstance (though it affects any current *INQ pop-up message).

    What emulator is used?

    For the iSeries Access emulator, there is a setting that forces a confirmation prompt when closing the emulator window, but there's no way to remove the exit function itself. See Edit-> Preferences-> Exit... for the 'Confirm on Exit' settings. I usually have that set on for myself.

    But of course it doesn't prevent an exit. It mostly just helps avoid accidental closings.

    In my iSeries Access emulator, there is no "red X at top screen". It's a normal Windows 'X' that signals a close of the window. You might have a different kind of emulator or might need to supply more details.

    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