Add System Variables to the List

LANSA for i

Add System Variables to the List

When the option to 'Add system variables to list' is chosen from the Work with Export List Menu a screen similar to the following example is used to manipulate the export list:

 

 DC@P620007       Add System Variable(s) to List  

 

 

 List       : XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    

 

 Enter full or partial name of the system variable(s) to be worked with

 or leave blank to select from all system variables . .  *             

                                                                       

  Sel     System variable     Description                              

   _      *BLANK              Blank / blanks variable                  

   _      *BLANKS             Blank / blanks variable                  

   _      *COMPANY            Name of current company / organisation   

   _      *CPFREL             Current CPF release level   

   _      *DATE               Numeric date in installation format      

   _      *DATEC              Character date in installation format    

   _      *DAY                Current day (numeric)                    

   _      *DAYC               Current day (character)                  

   _      *DDMMYY             Numeric date in format DDMMYY            

   _      *DDMMYYC            Character date in format DDMMYY          

   _      *FUNCTION           Current function name                    

   _      *JOBMODE            Current job mode (batch or interact ive) 

 

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

 

 

This facility allows you to build temporary lists of LANSA system variables and display them on the screen. From these displayed lists system variables you can choose those to include in your export list.

These lists can be built from either all system variables, or only from system variables with a specified generic name.

A displayed list may not fit on one screen. This is indicated by a '+' sign in the lower right of the screen. In such cases use the roll up and roll down keys to scroll backwards and forwards through the displayed list.

The Sel column

System variables already included in the export list are shown with an 'X' beside them. The 'X' cannot be removed. Thus a system variable cannot be removed from the export list by using this facility. Use the option 'Review/Delete Objects Already in the List' to do this.

Enter a 'Y' beside a specific variable, to include it in the export list.

The associated system variable evaluation program is automatically included in the export list as a non-LANSA object. The source library for this object defaults to *LIBL (search current jobs library list). This value may not be correct and may have to be modified later using the 'Review/Delete Objects Already in the List' option.

When you have finished using this facility, use the Cancel function key to return to the Work with Export List Menu.