Script API
The Script API is similar to Java™ API. Script API operations extend the basic function of IBM® InfoSphere® Master Data Management Collaboration Server.
With script operations you can clean, transform, validate, and calculate information to align with business rules and processes. This information can then be imported and exported to virtually any file standard and custom file format or used to complete mass updates to a catalog of information.
InfoSphere MDM Collaboration Server provides a library of scripting operations that you can view in the script sandbox. The script operations can be run either in the script sandbox or in a command prompt.
To access the script sandbox, click Data Model Manager > Scripting > Script Sandbox.
To use the command prompt, issue: $JAVA_RT com.ibm.ccd.common.interpreter.test.TestScript
-scriptpath=your_script_path -companycode=your_company_name.
Script operations use the following prototype definition:
- Script Constants
- The script constants are predefined by InfoSphere MDM Collaboration Server.
They are
true, false, " ", andnull. - Script Implicit Variables
- The script implicit variables are predefined by InfoSphere MDM Collaboration Server in
some contexts. They are
item, err, var, res, category, andfeed_doc_path. - Script Operations
- There are more than 1000 script operations.
- Script Operators
- The following script operators are supported:
+, -, *, /, ==, !=, <, <=>, >=, &&, ||, !.