Once the physical file that is maintained has been selected, a screen similar to the following example will be displayed:

 
 DC@P201101           Select Maintenance File to use     
 
 File :  DEMNAME    DC@DEMOLIB Demo Names File           
 
 From list choose view of this file that is to be used for maintenance 
 
 Sel  File       Description / Access key information                  
  _   DEMNAME    Customer master file                                  
                 Access by : DEMNAC     Name code                      
 
  _   DEMNAMEN   View of customer master by customer name              
                 Access by : DEMNAM     Name                           
 
 
  _   DEMNAMEP   View of customer master by postcode                   
                 Access by : DEMPCD     Postcode                 
 
 
 Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages        
 

This screen displays the details of the physical file selected and all available logical views. For each file the name, library, description and key information is shown.

In the example screen shown the physical file is called DEMNAME and is keyed by 'Name code'. Additional logical views DEMNAMEN (keyed by 'Name') and DEMNAMEP (keyed by 'Post code') are also available and either could be selected as an alternative access path to DEMNAME.

Select either the physical file or one of the associated logical views. This step is described as 'selecting the maintenance access path' because you are effectively choosing the 'access path' through which maintenance is to be performed.

Note that the selection of the most suitable logical view (or access path) is only important when you wish to do direct record inquires or browse the file because the key(s) of the logical file influences:

  • The key(s) to be specified for retrieval of record(s) from the file.
  • The sequence in which browse information is displayed.

Once the physical file to be maintained has been nominated and the desired maintenance access path has been selected it is possible to use the file maintenance facility.

The steps involved can be visualized like this:

                                  __________
1. Select the type of            |          |
   maintenance required.         |  SELECT  |
                                 | TYPE OF  |
                                 |  MAINT   |
                                 |__________|
                                      |
2. Maintain the file using the        |
   type of maintenance selected.      |
                                      |
                  ____________________|____________________
                 |                    |                    |
            ADD RECORDS        DISPLAY/MAINTAIN       BROWSE FILE
                 |                INDIVIDUAL               |
                 |                 RECORDS                 |
            _____|____            ____|_____           ____|_____
           |          |          |          |         |          |
           |   ADD    |          |  SPECIFY |         |  SELECT  |
           |   NEW    |          |   KEY    |<--      |  BROWSE  |
           |  RECORDS |          |  VALUES  |   |     |  FIELDS  |
           |__________|          |__________|   |     |__________|
                                  ____|_____    |      ____|_____
                                 |          |   |     |          |
                                 | DISPLAY/ |   |     |  SPECIFY |
                                 | MAINTAIN |___|     |   KEY    |<--
                                 | A RECORD |         |  VALUES  |   |
                                 |__________|         |__________|   |
                                                       ____|_____    |
                                                      |          |   |
                                                      | DISPLAY/ |   |
                                                      | SELECT   |---|
                                                      | BROWSE   |   |
                                                      | RECORDS  |   |
                                                       __________    |
                                                       ____|_____    |
                                                      |          |   |
                                                      | DISPLAY/ |   |
                                                      | MAINTAIN |---
                                                      | A RECORD |
                                                      |__________|



  • No labels