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



>>>However, when I place the cursor on line 24 when the 
>>>message is showing and press F1, I am not getting 
>>>the screen that shows the entire message with 
>>>2nd level text.  Instead, control returns to the CL 
>>>program.  The display file has the ALTHELP 
>>>and HELP keywords defined.  

>>Try emulated Help key

>same problem.  Even on a dumb terminal. 

I think you want *SAME instead of *EXT

I have an old S/38 CL program that I use this with all the time.  Because it
was S/38, F1 = Exit.  Here's a snippet:
     A                                      DSPSIZ(24 80 *DS3)          
     A                                      MSGLOC(24)                  
     A                                      CF01(01 'CF01')             
     A          R BMENUR                                                
     A                                      CF03(03 'CALL QCL')         
     A                                      CF04(04 'Prompt, please')   
     A                                      CF06(06 'DSPMSG')           
     A                                      CF09(09 'Retrieve previous')
     A                                      HELP(12 'Help')             
...
     A          R BMENUS                    SFL

     A                                      SFLMSGRCD(20)

     A            WMSGK                     SFLMSGKEY

     A            WPGMQ                     SFLPGMQ

     A          R BMENUC                    SFLCTL(BMENUS)

     A                                      OVERLAY

     A                                      LOCK

     A                                      SFLDSP

     A                                      SFLINZ

     A                                      SFLSIZ(0006)

     A                                      SFLPAG(0003)

     A            WPGMQ                     SFLPGMQ


And the CL that goes with it:
             SNDF       RCDFMT(BMENUC) 
             SNDRCVF    RCDFMT(BMENUR)  
...
/* wrong library */
             SNDPGMMSG  MSG('Invalid library.  Please supply valid +   
                          library name in SRC or OBJ parameter.') +    
                          TOPGMQ(*SAME)                                
...

Buck 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.