Example for Create an MLE Environment

This example demonstrates the creation of myfactorialenv MLE environment and how to import the factorial_mod JavaScript module into this environment.

  1. In the Connections panel, right-click MLE Environments and then click Create.

    The Create panel appears.

  2. In the MLE Environment Name field, enter a name for the environment, myfactorialenv.

    The SQL pane displays the DDL code for the new MLE environment.

  3. Click Apply.

    An empty myfactorialenv environment is created and appears in the left pane under MLE Environments.

  4. In the Connections panel, expand MLE Environments, right-click myfactorialenv and click Add Imports.

    The Add Imports pane appears.

  5. In Module Name field, select the module (factorial_mod) to import.

  6. In Import Name field, enter a name for your import.

  7. Click Apply.

    To view the imported module, in the Connections panel, right click myfactorialenv and select Open. Three tabs are displayed for the MLE environment: Errors, Grants and SQL.

    The imported module appears in the Imports panel.