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



That behavior comes from specifying MIN(1) on the PARM. That makes it a required parameter, and if you've not provided a value, the system will ask you for it.

Vern

At 02:50 PM 10/25/2004, you wrote:
But there are some commands that, if you were to just type in the command
without any parameters and you press Enter, it would prompt the command
anyway.  I.e., type in just CRTLIB on the command line, and press Enter.
The CRTLIB command is prompted.  I see this same type of behavior desirable
in my command.

> -----Original Message-----
> From: midrange-l-bounces@xxxxxxxxxxxx / Douglas Handy
> Sent: Monday, October 25, 2004 12:28 PM
<snip>
>
> PS - A common misconception is that a POP will supply a default value
> for a command.  The truth is that a POP is only called when a command
> is prompted.  If you run a command without prompting, the POP is never
> called and thus cannot supply values for any keywords.  So don't make
> the command processing program reliant on always having an explicit
> value -- you still may want a default such as *SAME for CHGxxx type
> commands or something like *TODAY for a date keyword on other
> commands.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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.