Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Defining the Source File

Defining the Source File

The transaction file is a flat file source that contains the customer to add to the database. Each row has a location that defines the country where the customer lives. The source file name is Customer.dat.
A Customer file record contains the following fields:
Port Name
Datatype
Precision
Scale
Description
CustomerID
Number
10
0
Customer number that uniquely identifies a customer.
CustomerName
String
25
0
Name of the customer.
PhoneNumber
String
15
0
Telephone number includes area code and seven digits with no spaces.
Email
String
25
0
Customer email address.
Location
String
10
0
Customer location. Values are US, UK, CAN.
You can create a Customer.dat file in Srcfiles that contains the following rows:
1,John Smith,6502345677,jsmith@catgary.com,US 2,Nigel Whitman,5123456754,nwhitman@nwhitman.com,UK 3,Girish Goyal,5674325321,ggoyal@netcompany.com,CAN 4,Robert Gregson,5423123453,rgregson@networkmail.com,US
You can import the Customer.dat file to create the Customer source definition in the repository.

0 COMMENTS

We’d like to hear from you!