4 2 4 Enable Components for RDMLX

LANSA Technical

4.2.4 Enable Components for RDMLX

To change an existing RDML Component to an RDMLX Component, open the component in the Visual LANSA Editor, choose the File menu and select the Enable for Full RDMLX option.

This option is only available in an RDMLX Enabled Partition.

Once you select this option, the code in the component will be evaluated using the full RDMLX Language Features. Errors, if any, must be corrected before you will be able to enable it for full RDMLX

A message will be displayed when the component is saved unless the Visual LANSA environment settings have been set so no user confirmation is required.

If a component is enabled for full RDMLX, it means that it can use RDMLX objects such as fields and files.

The default value for this option is controlled in the RDMLX Partition Settings.

Tips & Techniques

Implications:

  • If no changes have been made to the code in an enabled RDMLX Component, the resulting program should be functionally equivalent to the program created by the RDML Component. However, it is your responsibility to retest the functionality of the new program.
  • Performance characteristics may change and should be properly evaluated once the conversion to RDMLX has been made.

Warning

  • Once a component has been enabled as a Full RDMLX Component, it cannot be changed back to an RDML Component. The code in the component would need to be copied to an RDML Component and any RDMLX features removed from the code.

Ý 4.2 Component Definition