3 3 Select File Definition s to Work With

LANSA for i

3.3 Select File Definition(s) to Work With

Many of the options that can be invoked from the file control menu will request the name(s) of the files that you wish to work with (i.e. files to be reviewed/changed, printed, etc). In all cases this file selection method is identical.

Initially a screen is presented that requests the name(s) of the files to be worked with.

If you have been working with files before, then the name will be prefilled with the name of the last file you worked with.

 

 SELFILE                   Select File to Work with                    

                                                                       

 Enter full or partial name of the file definition(s) to be worked     

 with or leave blank to select from all file definitions . . . _______ 

                                                                       

                                                                       

                                                                       

                                                                       

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

                                                                       

 

 

 

Using this display you can nominate the file(s) required in 3 different ways:

  • In full. Enter the full name of the file required. If the file is found then the option chosen from the file control menu will be directly invoked for the file specified.
  • Partially. Enter as much as desired of the partial name of the file. A search is made for all files which generically match the name specified and the resulting list is displayed.
  • Leave blank. In this case a list of all files in the LANSA system is displayed from which the desired file(s) can be selected.

When a list of files is displayed the display will look like the screen below (which resulted from entering partial file name DEM)

 

 SELFILE                   Select File to Work with                    

                                                                       

 Enter full or partial name of the file definition(s) to be worked     

 with or leave blank to select from all file definitions . . DEM       

                                                                       

 Sel  File     Library      Description                            

     DEMDIVN  DC@DEMOLIB   Table of valid company divisions       

     DEMHEAD  DC@DEMOLIB   Demo Order Header File                O x

     DEMLINE  DC@DEMOLIB   Demo Order Lines File                   x

     DEMNAME  DC@DEMOLIB   Demo Names File                       O 

     DEMPROD  DC@DEMOLIB   Product master file                   O x 

                                                                     

                                                                     

                                                                     

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

                                                                     

 

 

 

An 'O' to the right of the file description indicates that the file has been compiled to make it operational.

An 'x' to the right of the file description indicated that this is an RDMLX file.

Using this display you can:

  • Alter the file name at the top right of the screen. The change can be to specify a full file name, a partial file name or a change to blanks. In all cases another search is made for the file(s) required.
  • Select one or more files from the list by entering any non-blank character beside the file in the column labeled "Sel". If this is done then the option selected from the file control menu will be invoked for the file(s) selected.