Viewing or changing an employee's telephone number

A couple of panels are used to view or change an employee's telephone number in the sample telephone application. These panels are the same, regardless of whether IMS or CICS® is used.

Procedure

To view or change an employee's telephone number:

  1. On the first panel of the telephone application, enter the first and last name of the employee whose telephone number you want to view or change. To see an entire listing of employee numbers, put an * next to the LAST NAME input line. If only part of a first or last name is known, use the percent character (%) to qualify the list of names to appear in the directory. For example, entering K% on the LAST NAME input line calls a list of the telephone numbers of all employees whose last name begins with a K. Similarly, the first name can be qualified.

    To keep this sample program as simple as possible and to allow updating, scrolling is not used with the IMS and CICS versions. Scrolling is used with the ISPF/CAF version. Only the first panel of selected names and phone numbers can be displayed. The second panel is the Telephone Directory itself. The employee telephone number is highlighted. To update an employee telephone number, type over the highlighted number and press ENTER. To update a phone number listed under the name Heather A Nicholls, specify NICHOL% when you are not sure if there are one or two ls in Nicholls.

    Figure 1. Telephone application—first display
    ------------------------- TELEPHONE DIRECTORY --------------------
    
    
    
                                LAST  NAME ==> _
    
                                FIRST NAME ==>
    
    
    
    
    
    LAST NAME              *  FOR LIST OF ENTIRE DIRECTORY
                           %  FOR GENERIC LIST (EX. K% = ALL  K - NAMES)
    FIRST NAME(OPTIONAL)   %  FOR GENERIC LIST
    
      
  2. Press ENTER to display the panel on which the phone number is highlighted.
  3. If you want to change a phone number, type over the number to be changed. You can type over as many numbers as are listed in the display. For example, suppose that you want to change the phone number from 1793 to 1795. After you press ENTER, you get a message confirming the updated phone number. The panel in the following figure shows the updated panel.
    Figure 2. Telephone application—updated display
    --------------------------- TELEPHONE DIRECTORY --------------------
    
     FIRST NAME MID LAST NAME  PHONE  EMPL WORK WORKDEPT
               INIT              NO    NO  DEPT NAME
    
    HEATHER  A      NICHOLLS     1795 000140 C01 INFORMATION CENTER
    .
    .
    .