9. Prompt Key Processing

LANSA's prompt key processing features offer the following benefits:

How to use it is described in these topics:

9.1 The PROMPT_KEY Parameter

9.2 Prompt Key Processing Programs   

9.3 What Happens When the PROMPT Key is Used

9.4 The Simplest Type of Prompt Key Processing

9.5 Even More Complex Prompt Key Processing

What is PROMPT?

Under the IBM SAA/CUA standards, PROMPT is defined as:

"Prompt is a common dialogue action that assists users to complete entry fields. It can save time for users and reduce the chance of typing errors.
To use prompt, users place the selection cursor on the entry field for which they want a list of possible entries. When they request prompt, a pop-up window appears containing a menu panel with single- or multiple-choice selection fields.
When users select one or more choices from the selection field, the pop-up window disappears. The choice text is placed into the entry field as though users had typed it there."

A Prompt dialogue example:


       DEMO01          Demonstration Panel                       
                                                                 
                                                                 
       Specify the following and press enter.                    
                                                                 
       Account number . . . . .  ______________  
                                                                 
       Account type . . . . . .  __________  
                                                                 
       Company number . . . . .  _____  
                                                                 
       Transaction amount . . .  ____________  

 

 

                                                                  
      DEMO01          Demonstration Panel                           
                                                                    
                                       ...........................  
      Specify the following and press e: COMP01  Companies       :  
                                       :                         :  
      Account number . . . . .   _____ : Number Description      :  
                                       :  01    ACME ENGINEERING :  
      Account type . . . . . .  _____  :  02    CONSOLIDATED ENG :  
                                       :  03    ACME WELDING     :  
      Company number . . . . .  ___    :  04    DESIGN INC.      :  
                                       :                         :  
      Transaction amount . . .  _____  :.........................:  

 

 

                                                                
       DEMO01          Demonstration Panel                       
                                                                 
                                                                 
       Specify the following and press enter.                    
                                                                 
       Account number . . . . .  ______________ 
                                                                 
       Account type . . . . . .  __________  
                                                                 
       Company number . . . . .  03___  
                                                                 
       Transaction amount . . .  ____________