× 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.



OK. a couple more questions: 

How have you defined the screen's record in the COBOL program?
o     Do you define separate record areas for the input record from  the 
output record?
o     Do you define a separate indicator area (using INDARA in the
   or
o     Do you simply use the COPY DDS-ALL-FORMATS?

Then how is your write statement coded in the COBOL?

Michael Quigley
AS/400 Programming Coordinator
The Way International
www.TheWay.org

Original message:

------------------------------
Sent: Thursday, April 28, 2005 9:00 PM
To: cobol400-l@xxxxxxxxxxxx
Subject: [COBOL400-L] Conditioned Field

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.

What actually happens is the error message gets triggered but the output
only field shows a previous value of "under" even though when I display
the value of that field just before the write to the screen the value is
indeed "over limit".

What would be causing this?

Thanks.

Brad



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.