Step 3. Review the Definition

Add the file validation rules and triggers, define virtual fields, add batch control logic, specify logical views, as required, selecting the options from the File Definition Menu (Review).

 

 pppFILREV              File Definition Menu (Review)                  

                                                                       

 Enter number of function or place cursor on same line and press Enter.

                                                                       

  2  1. Define fields in file definition                               

     2. Define logical views of file                                   

     3. Define file validation checks                                  

     4. Define access routes to other files                            

     5. Define virtual fields                                          

     6. Define batch control logic                                     

     7. Review or change database file attributes                      

     8. Review or change file multilingual attributes                  

     9. Load definition of file not maintained by LANSA                

    10. Exit from LANSA                                                

                                                                       

                                                                       

 File being worked with is . . . . : File Description                 

 Name and library are  . . . . . . : FileName    Library               

 

 F1=Help  F3=Exit  F12=Cancel  F14=Messages                        

 

 

A description of some of these functions is provided in 5.4 Review the File Definitions.

Commit Amendments

Whenever you have made modifications to the file definition, you will be prompted to commit the amendments.

 

 COMMITAMD                  Commit File Amendment(s)                   

                                                                       

                                                                       

 Commit amendment(s) . . . . . . . . . YES   YES, NO                   

                                                                       

                                                                       

                                                                       

 Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages        

 

 

Enter YES, otherwise you will lose all the changes that you have made.

Go to Step 4. Make the file Operational.