Uploading the library file before you migrate a DataStage flow that contains user-defined functions

If a DataStage® flow that you are going to migrate from traditional DataStage contains user-defined functions, you must upload the library that contains the functions to successfully compile the flow. The library is contained in a .so file.

Procedure

  1. In your project, open the Assets tab, click New asset + then select DataStage component from the available asset types.
  2. Select Function library, then click Next.
  3. Specify a name, then use the Upload file section to upload the .so file. Then, click Create.
    All available functions in the library are shown.
  4. Configure the functions that you want to use.
    1. From the list of available functions, select each one that you want to use.
    2. Specify the return data type for each of the function arguments.
      After you specify each return data type, the corresponding function is marked as Configured.

What to do next

On the Assets tab, in the Asset types section, click DataStage components > Function libraries to view all the libraries.

If you imported the ISX file for the flows that use your function library before uploading the library file, you must reselect the function library in the flow and save it. If you import the ISX file after uploading the library, the library is automatically added to the imported flows.