To add a new host script language type, select Tools > Host Script Languages > Maintain Host Script Languages.

Note

For Unix host scripts for Load objects, RED leverages the Unix host script standard of defining the interpreter directive, after the Shebang (#!) character sequence in the first line of the Unix host script. This line provides the path to the command interpreter the operating system must use to execute the script.

For example:
 #!/usr/bin/perl -T
This enables RED users to also leverage a number of Unix host script languages for loading data into their Load objects.

  1. On the Maintain Host Script Languages screen, click New.
  2. On the Edit Host Script Language screen, enter the properties of the host script language being added.

    Tip

    Clicking a field name displays a description of the property at the bottom of the screen.
  3. Click OK to exit the Edit Host Script Language screen. The newly added host script language type is listed in the Maintain Host Script Languages screen.
  4. Click OK to save the new host script language type.

    Note

    User defined host script language definitions can be copied between RED meta data repositories, using Tools > Import Metadata Objects feature, which enables you to select an object (host script or template) to import that has the required host script type.


     
  • No labels