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



On Tue, Jun 12, 2018 at 1:50 AM, Brian Garland <Brian.Garland@xxxxxxxxxx>
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.


I'm guessing that you have a required parameter in your command?
If so, I have already submitted an RFE for much the same problem. In my
case it was for prompt control and a related prompt control program -- no
validity checking program in my case. But the answer I got from IBM was
that it was "working as designed." Meaning, it is documented that if a
required parameter is not given a value then all parameters are displayed
and no prompt control or exit programs (like prompt control programs,
etc.) are run.


Sincerely,

Dave Clark

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.