× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



cobol400-l-request@xxxxxxxxxxxx wrote:

>   3.  Conditioned Field (Good, Brad)
>
>date: Thu, 28 Apr 2005 11:29:50 -0400
>
>I have a screen with an IO field and another output only field.
> 
>If the user types a value over a certain limit into the IO field, I set
>an indicator 53 in the COBOL on and move a message to the output only
>field saying "over limit".
> 
>On my screen I have an error message on the IO field for indicator 53.  
> 
>What I want to happen is that the error message triggers AND the "over
>limit" shows in the output only field.

You can show a message and have your "over limit" field display, but you can't 
use ERRMSGID() as part of it.

>From the DDS manual:

"When an ERRMSG or ERRMSGID keyword is in effect, no processing other than the 
processing for these keywords is performed for the record. If neither keyword 
is in effect, the record is processed in the normal manner."

The only thing signalled/sent back to the display is the ERRMSG itself plus the 
5250 error signal which can do some cursor positioning, etc. AFAIK, no data 
goes to the display. The screen data will be unchanged.

If you want a 'message', you'll have to send the message as data to the message 
line and not use an ERRMSG feature. Of course, you'll lose any automatic 
attribute/cursor changes and have to control those yourself.

Tom Liotta

-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertech.com


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.