Using the option to Override File Library to Partition data library in Visual LANSA

Date:7 February 2013
Product/Release:Visual LANSA V13
Abstract:The option to Override File Library to Partition data library in Visual LANSA doesn't work as expected for all situations
Submitted By:LANSA Technical Support

Description:

V13 contains the following enhancement
--------------------------------------------------------------------------------
CCS#: 0137308 (Enhancement)
Description: Changing the File Library name on Import
Originator: LANSA France

Detailed Description: Selection of the option "Override File Library to Partition Data Library" will import any files into the Partition Data Library associated with the current partition. This feature is particularly useful when importing LANSA files from an export created using an earlier version of LANSA which would otherwise create the file in the library nominated in the imports details column.

Example import screen

It has been reported that in some situations, after import, file libraries are changed to "partition data library" even if "Override File Library To Partition Data Library" is unchecked on the import.

The cause is that in V13, when exporting a file from iSeries with target PC, the substitution variables are set to $$DTALIB$$, and accordingly they are imported to the partition data library when imported into VL irrespective of whether the "Override File Library to Partition Data Library" is checked or not.

The option on the import screen in VL will be enhanced to cater for the extra consideration.

Until the improved screen is available, if you wish to use the "Override File Library to Partition Data Library" to determine the library during an import, you can blank out the Target Library field for all files in option 12 Review objects on the list before exporting the list. This will be $$DTALIB$$ at the moment, and this is what is causing the file library to be overridden to the partition data library.