Step 1. Create the New LANSA File Definition

1.  Start from the Main System Menu.


 pppSYSMENU                 Main System Menu                           


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


  4  1. Use a process                                                  

     2. Submit a process to batch                                      

     3. Field control menu                                             

     4. File control menu                                              

     5. Process control menu                                           

     6. Housekeeping menu                                              

     7. Display submitted jobs - workstation                           

     8. Display submitted jobs - user                                  

     9. Display workstation message queue                              

    10. Exit from LANSA                                                



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




2.  Select the File Control menu option.

3.  From the File Control Menu select the Create a new file definition option.


 pppFILMENU                  File Control Menu                         


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


  1  1. Create a new file definition                                   

     2. Review or change a file definition                             

     3. Delete a file definition                                       

     4. Make new or amended file definition operational                

     5. Print file definitions                                         

     6. Bulk Load of OTHER files                                       

     7. Exit from LANSA                                                





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




     This option is used because you are creating a file definition that is new to LANSA.

4.  Press Enter and the Create New File Definition screen is displayed.



CRTFILE                  Create New File Definition                    


 New file name . . . . . . . __________                                

 Library of residence  . . . __________                                

 Description . . . . . . . . ________________________________________  

 Initial public access . . . NORMAL    NORMAL, ALL, NONE               

 To be maintained by . . . . OTHER     LANSA,  OTHER                   


 Copy file definition  . . . __________                                

   residing in library . . . __________                                





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




5.  Enter the Name of the file to be made known to LANSA, the Library it is in. Add a meaningful Description and the Initial public access. The Copy file definition is left blank as this is only used when copying LANSA files.

     Specify OTHER in the To be maintained by option, to indicate that the file will be maintained by some OTHER system.

6.  Press Enter to create the definition of the file. (Note: The file has not been loaded. Only the definition has been created.)

For further details about these entries, refer to the Creating a New File Definition in  the LANSA for i User Guide.

Go to Step 2. Load (or re-Loading) the File Definition.