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



See embedded reply below:

----- Original Message -----
> From: "M. Lazarus" <mlazarus@xxxxxxxx>
> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
> Sent: Tuesday, October 21, 2003 2:15 PM
> Subject: Re: Command CHOICEPGM
>

> Mark,
>
> At 10/21/03 02:04 PM, you wrote:
> >"C' is for "Choice text" (appears next to each field when you press F4
for
> >the whole command);
>
>   That part I have working fine.  I can step through in debug, no problem.
>
>
> >"P" is for the allowed values, when the user puts the cursor in that
field
> >and presses F4 to see the list of allowed values.
>
>   When I do that, even though I still have the choice pgm in debug, it
> doesn't transfer control to that pgm; it doesn't break.  I receive CPD6805
> "Invalid length defined in list of permissible values."  Since it never
> seems to pass the "P" (at least I can't see it, since the debug session
> doesn't get invoked) value, it never gets to the routine that concatenates
> the data and binary values, I would imagine that that's the problem.
>

When a "P" is specified, it expects the first two bytes of "parm 2" to be a
length,
in binary. RTFM. /* read the fine manual */

>
> >A "Prompt Override Program" is called before the prompt screen appears,
when
> >a user types a command name and presses F4=Prompt, to "fill in" or
> >"override" any
> >"default" values, before the prompt screen is displayed.
>
>   Is that the field value vs. the text next to the entry field?

Yes!

>
>   -mark
>
> _______________________________________________
> 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.