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



Followup:

It works now. The problem was that when I had no records to display I wasn't setting the leading binary x'00' properly.

But there's something weird (dare I say it's a bug!) w/ the debugger. I had been stepping through using F10. It would only break when it was the "C" type. But if I manually set a breakpoint at a line within the routine that tests for the "P" the debugger popped up!


At 10/21/03 04:43 PM, you wrote:
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 */

I have all that coded, but when I press F4 in the field the choice program does NOT to run!!


How do I know? I put the choice pgm in debug. When initially prompting the command, the program breaks and I can step through. The text (based on the 30 char value) displays just fine. Pressing F4 does not display the choice pgm. Is there a combination of keywords on the command that are required for F4 to run the choice pgm?

The parm in the command is:

PARM    KWD( EMGPRF )  TYPE( *CHAR )  LEN( 10 )    +
        PROMPT( 'Blah Blah' )   +
        CHOICE( *PGM )  CHOICEPGM( MYCHCPGM )  +
        PMTCTL( CHECKIN )

-mark


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.