Error Reset Key
1345 pts.
0
Q:
Error Reset Key
I have a request that I have not done before. In my display file I use the IBM messages when there is an error. When the screen is displayed again it displays the field in question highlighted and then the user has to press the error reset key. Is there away so the user does not have to press the error reset key and use still use messages in the display file without having to generate my own message line?  Basically eliminate the error reset key from coming up the way I have the display file.  Thanks
ASKED: Sep 30 2009  6:36 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
24520 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Ron

Tell me how you're getting the errors out there...
I don't think you can use any of the standard error outputs like errmsg or errmsgID.
I think you will want to add
1. DSPATR(RI) and DSPATR(PC) on the field with an indicator
2. Create an output field for your "error"
2.1 if you've been using errmsgID use MSGID keyword with that field and same indicator
2.2 if you've been using errmsg then it's an indicator and a string to dsplay.
DSPATR(RI)??? if you want the message to be


If you have been using a message subfile, I think you will have to use a "regular" one line subfile

Phil
------------------------------------------------------------------
I'm using this.
A 49 ERRMSG('Phone Number Required')

I do not want to create a output field. I know I can do that. I want to disable the error reset key from happening. So the user does not have to hit the error reset key but it still shows the error at the bottom WITHOUT a new field. Any ideas. Of course I don't want this to be easy. Thats why I posted it on here. I'm trying to think outside the box but I can not think of anything ....Yet...
Thanks
Ron
-----------------------------------------------------
I think I've done my dump .. time for someone else to "step up to the plate".
Phil
-----------------------------------------------------
Ron
Please let us know if the invite does the trick.
Phil
-----------------------
Ron

Thanks for the feedback.
Tape down the reset key ... no that's way to easy.
I don't think it's going to happen with edtmsg or edtmsgid keywords.

Phil

---------------------------

You can do everything else on the 400 why not this...:+)
I might have to break down and use a field to display the errors. I don;t want too but I might not have any other choice.

Ron
********************************************************************************
********************************************************************************

OK - here's my last shot ------------------ the impossible takes longer ...
1. add DSPATR(PC RI) with indicator control to your field
2. add your message field or message text to the record on line 24 controlled by an indicator.
that should work when you don't have another error to show.

Looks like that's what Yorkshireman recommended.

Phil
********************************************************************************
********************************************************************************

Phil
Last Answered: Oct 20 2009  3:37 PM GMT by Philpl1jb   24520 pts.
Latest Contributors: RonKoontz   1345 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Teandy   3190 pts.  |   Sep 30 2009  9:18PM GMT

Ron,
Try this thread:  <a href="http://archive.midrange.com/midrange-l/200706/msg00013.html" title="http://archive.midrange.com/midrange-l/200706/msg00013.html" target="_blank">http://archive.midrange.com/midrange-l/2…</a>

 

RonKoontz   1345 pts.  |   Oct 1 2009  1:28PM GMT

So I just need to put the INVITE keyword in DDS?
Never knew about the “INVITE” keyword

 

Splat   1040 pts.  |   Oct 1 2009  5:41PM GMT

That keyboard lock is one of the reasons I avoid ever tying an error message to a specific display field. Besides, it eats up indicators. I prefer to use a message subfile & use indicators just to control the display attributes of the field.

 

RonKoontz   1345 pts.  |   Oct 9 2009  1:37PM GMT

It did not work. Any other ideas?

 

Yorkshireman   3200 pts.  |   Oct 20 2009  8:30AM GMT

have you tried avoiding the ERRMSG keyword?

just place the field in reverse image, and output a helpful message at the bottom of the screen.

 

RonKoontz   1345 pts.  |   Oct 20 2009  12:16PM GMT

Well of course that will work. I don’t want that to work. I want to use the ERRMSG so it uses the built in message line. I need all the room I can get on this particular screen. And I can not clean it up or make a second screen on this.

 
0