Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

Creating a Script

Creating a Script

Create a Script object and define the type of Script component to create. Optionally, you can define a schema reference and example source file.
  1. In the Data Processor transformation
    Objects
    view, click
    New.
  2. Enter a name for the Script and click
    Next.
  3. Choose to create a Parser or Serializer. Select Other to create a Mapper, Transformer, or Streamer component.
  4. Enter a name for the component.
  5. If the component is the first component to process data in the transformation, enable
    Set as startup component
    .
  6. Click
    Next
    if you want to enter a schema reference for this Script. Click
    Finish
    if you do not want to enter the schema reference.
  7. If you choose to create a schema reference, select
    Add reference to a Schema Object
    and browse for the Schema object in the Model repository. Click
    Create a new schema object
    to create the Schema object in the Model repository.
  8. Click
    Next
    to enter an example source reference or to enter example text. Click
    Finish
    if you do not want to define an example source.
    Use a example source to define sample data and to test the Script.
  9. If you choose to select an example source, select
    File
    and browse for the sample file.
    You can also enter sample text in the
    Text
    area. The Developer tool uses the text to test a Script.
  10. Click
    Finish.
    The
    Script
    view appears in the Developer tool editor.


Updated September 26, 2018