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



Dan,

> What if you have a POP that would plug in required parameter values?  Or
> does the command first have to be "Prompted"?  Eh, kind of a chicken & egg
> thing.

For commands with at least one "key" parameter (ie, most IBM CHGxxx
commands), the command must get prompted first for just the key parms
prior to your POP being called.

For commands with no key parms, the POP will get called prior to the
initial display.

So a combination of MIN(1) plus a POP can achieve what you want,
unless run from a CL script.  When run interactively, the MIN(1) will
cause the prompt to occur.  But since you don't have any key parms,
the POP gets called and returns the ??DATE(default) value.  By the
time the prompter displays the panel, it is no longer in error and you
don't see the error message like you do with CRTLIB.

If you ran the command from something other than the command line, the
command would simply fail due to the missing parameter and the POP
would not be called.

Doug

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.