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



Hi Brian

I have a feeling it is about the order things are called - as a test, you might actually put in a choice program and see whether that is before or after the validity checking program - I forget, and it's been quite awhile.

Cheers
Vern

On 6/11/2018 8:50 AM, Brian Garland wrote:
I have a CMD with a validity checking program that does it's own prompting
to override the value of a parameter. I'm doing it this way because I do
not like the way CHOICE(*PGM) works.

If I type the command and press ENTER things work correctly. If I type
the command and press F4 the value is not actually replaced.

I've stepped through the flow in debug and can see the value being set in
the validity checking program, but then when the processing program is
called the parameter was reset to the default.

I've been able to reproduce it on both 7.1 and 7.3. Is this a known issue
OS issue?

Maybe I'm just lucky it works with ENTER.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.