To add a new host script language type, select Tools > Host Script Languages > Maintain Host Script Languages.
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.
- On the Maintain Host Script Languages screen, click New.
- On the Edit Host Script Language screen, enter the properties of the host script language being added.
Clicking a field name displays a description of the property at the bottom of the screen,
- 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.
- Click OK to save the new host script language type.
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.