You are here: LANSA for i User Guide > 8. LANSA PC Development > 8.1 Define Personal Computers to LANSA > 8.1.4 Export System Definitions

8.1.4 Export System Definitions

To export System Definitions, use the Export Def function key on the 'Work with PC Definitions' screen.

This will cause the Export definitions to PC screen to be displayed.

 

 

  DC@P642105            Export definitions to PC

 

    Export to shared folder named . .  DEF_SYS                          

 

  Perform Export of :                                                  

   Global LANSA System Definitions .  Y                                

   Current Partition Definition  . .  Y                                

   RDML Commands . . . . . . . . . .  Y                                

   Application Templates . . . . . .  Y                                

   Built-In Functions  . . . . . . .  Y                                

   Enrolled PC Names . . . . . . . .  Y                                

   Enrolled PC Users . . . . . . . .  Y   

   Current Task List . . . . . . . .  Y                                

 

                               Name       *LIBL      Lang  Int. Name 

   Message Files . . . . .  .  DC@M01                ENG    DC@M01   

                               __________          ______ __________ 

                               __________          ______ __________ 

                               __________          ______ __________ 

                               __________          ______ __________ 

                               __________          ______ __________ 

 

 F1=Help F3=Exit F12=Cancel F14=Messages F17=System LAD F18=Partn.LAD

 

 

 

The details on the Export definitions to PC screen should be changed to meet the requirements. These rules apply:

Export to shared folder named

Must be a valid IBM i name. This name defaults to DEF_xxx where xxx is the identifier of the partition specified on the LANSA REQUEST(PCMAINT) PARTITION(...) command. This name identifies the shared folder to which the data selected below will be sent within the *LANSA_xxxpgmlib\export\ folder. If it does not exist, it will be created by the export job. Also, the submitted export job will have this name.

Global LANSA System Definition

Export the information contained in the LANSA system definition data area DC@A01, DC@A07 and DC@OSVEROP to the PC

Current Partition Definition

Export the definition of the LANSA partition that was specified on the LANSA REQUEST(PCMAINT) PARTITION(...) command. If no partition was specified, the default of SYS is used.

Frameworks and groups are included in the partition details which are exported. If flag *NOL4WCOMP is in system data area DC@OSVEROP, they are not exported but a message will printed in the export report.

Refer to Version Dependency Data Area DC@OSVEROP for more information.

RDML Commands

Export the LANSA RDML command definition tables. These are required for the editing and full function checking of LANSA functions on the PC. Normally these tables need to be exported only when Visual LANSA is first set up or when a new release is installed.

Application Templates

Export the Application Templates of the IBM i LANSA system to the PC.

Built-In Functions

Export the Built-In Functions of the IBM i LANSA system to the PC.

Enrolled PC Names

Export the PC definitions that are maintained on the previous screen. This information needs to be exported when Visual LANSA is first installed and whenever a PC definition's data queue names are changed.

Enrolled PC Users

Export Users to the PC. This exports the table that relates PC User names to IBM i user names, group names and their passwords. For information about this table, refer to 8.1.5 Work with PC Users.

Current Task Lists

Export all tasks currently defined in LANSA for i to the PC.

Message Files

Up to 10 message files can be specified for export from the IBM i to the PC. The details should be entered as follows:

Message File Name

The name of the message file as it is 'known' to the IBM i. The program checks that this message file exists in the library specified when it is entered here. The first message file name is prefilled with 'DC@M01'.

Message File Library

The name of the library that the message file resides in on the IBM i. It is always *LIBL. This is set to *LIBL, to indicate that the library list should be searched to locate the message file.

Language

The language identifier entry fields are shown only if the current partition is a multilingual partition. The language that the specified message file is associated with should be entered here. The language must be valid for the current partition. The language for the first message file is pre-filled with the current language if the current partition is multilingual.

Message File Internal Name

The message file internal name entry fields are shown only if the current partition is a multilingual partition. The message file name as it is used in LANSA applications should be entered here. The program does NOT check the validity of this name, so care should be taken to avoid spelling errors. The first message file internal name is pre-filled with 'DC@M01' if the current partition is multilingual.

Example for an export to the PC in a multilingual partition:

 

 

  Name        Library     Lang    Int. Name 

 

  DC@M01      *LIBL     ENG     DC@M01 (English)  

  DC@M01FRA   *LIBL     FRA     DC@M01 (French)  

  DC@M01ITL   *LIBL     ITL     DC@M01 (Italian)  

  USERMSG1    *LIBL     ENG     USERMSG1 (English)  

  USERMSG1ITL *LIBL     ITL     USERMSG1 (Italian)  

  USERMSG1DEU *LIBL     DEU     USERMSG1 (German)  

 

 

 

In this example, DC@M01 will be exported to the folder as DC@M01, the messages being associated with the English language.

DC@M01FRA will be exported to the folder as DC@M01, the messages being associated with the French language.

DC@M01ITL will be exported to the folder as DC@M01, the messages being associated with the Italian language.

USERMSG1 will be exported to the folder as USERMSG1, the messages being associated with the English language.

USERMSG1ITL will be exported to the folder as USERMSG1, the messages being associated with the Italian language.

USERMSG1DEU will be exported to the folder as USERMSG1, the messages being associated with the German language