Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To perform an unattended export on your LANSA Composer Server you must use an Export List that you have already defined through the LANSA Composer client for the purpose.  The COMPOSER command or the dxstart.exe program requires you to specify the name of the export list and the path to the export file to be created.

...

Example 1: Use the COMPOSER command on an IBM i server to export LANSA Composer definitions specified by the export list MY_EXPORT_LIST:

<pgmlib>/composer request(EXPORT)

      exportlist(MY_EXPORT_LIST)

      exportto('/LANSA_Composer_licpgmlib/lic/MY_EXPORT001.dxexport')

Example 2: Use the dxstart.exe program on a Windows server to export LANSA Composer definitions specified by the export list MY_EXPORT_LIST:

dxstart.exe /request=dxexport /exportlist=MY_EXPORT_LIST
                             /exportto="C:\MY_EXPORT001.dxexport"

Anchor
Unattended Import
Unattended Import
Unattended Import

To perform an unattended import on your LANSA Composer Server you must have a suitable export file present in a file system location accessible from the server.  The COMPOSER command or the dxstart.exe program requires you to specify the path to the export file from which the definitions are to be imported.  All definitions in the export file will be imported – you do not have the opportunity (as you do in the LANSA Composer client) of selecting the definitions you wish to import.

Note
Note: On IBM i servers, the export file MUST have a CCSID of 1208 (for utf-8).  LANSA Composer will attempt to change the CCSID to 1208 to ensure the import operation is successful.  However, if LANSA Composer cannot make the change (for example, due to lack of authority), you must ensure that the CCSID is set correctly.  The import operation will NOT proceed unless the CCSID is set to 1208.

Example 1: Use the COMPOSER command on an IBM i server to import the LANSA Composer definitions contained in the specified export file:

<pgmlib>/composer request(IMPORT)

      importfrom('/LANSA_Composer_licpgmlib/lic/MY_EXPORT001.dxexport')

Example 2: Use the dxstart.exe program on a Windows server to import the LANSA Composer definitions contained in the specified export file:

dxstart.exe /request=dximport /importfrom="C:\MY_EXPORT001.dxexport"

Anchor
Export and Import Options
Export and Import Options
Export and Import Options

...

  • You can display or print logs for any or all completed export operations at any time by selecting Export in the Navigator and then clicking the History tab.

    From the History tab, you can also print an Export Manifest that lists all exported items along with their last-changed dates, times and users.  This can be used to compare with last-changed details shown in LANSA Composer for selected items on their Audit tab.
  • You can display or print logs for any or all completed import operations at any time by selecting Import in the Navigator and then clicking the History tab.

    From the History tab, you can also print an Import Manifest that lists all imported items along with their last-changed dates, times and users.  This can be used to compare with last-changed details shown in LANSA Composer for selected items on their Audit tab.