Component
A single operation, such as reading a file or changing a field.
Follow one order from a raw file to a finished record. See how Ab Initio graphs, transforms, and parameters work together.
A graph connects processing steps. Play the example or select a component to inspect the order at that point.
A single operation, such as reading a file or changing a field.
A connection point on a component. An output port sends records to the next input port.
The connection that carries records between ports. Both ends must agree on the record layout.
Open a file type to see its job in the same orders graph.
Reads orders.txt · writes orders.avro using an Avro schema
Start with one line of test data in a development sandbox, your working copy of a project.
Use the Graphical Development Environment to open your team’s development project. Add an input file containing A17|3|250 followed by a newline. The values mean order ID, quantity, and unit price in cents.
Create orders.mp. Connect an Input File to a Reformat, then to an Avro-capable writer in your installed environment. Attach the input DML and check that the downstream port layouts match.
In Reformat, carry over order_id and multiply quantity by unit price. Map the result to the writer’s total_cents field. Define input and output path parameters and save their test values in a parameter set.
Validate the graph, then run it from the GDE or with the parameter-set command below. Look for one record read and one written. Open the output with an Avro reader and check that order A17 totals 750 cents.
You draw and edit the graph in the GDE. The Co>Operating System executes the graph on the run host. The Enterprise Meta>Environment (EME) stores versioned project objects and metadata. After testing, check in the graph and its dependencies so a teammate can reproduce the run.
Pipeline parallelism lets separate components work on successive records at the same time. Data parallelism divides records into partitions and runs copies of a component on them. For a total per customer, partition by customer ID so every order for one customer reaches the same group. Sort within each partition if the selected grouping component requires sorted input.
Compare the raw line with the input DML. A comma where the layout expects a pipe can shift the fields. Inspect the first failing component’s log and any configured reject output. Correct the layout or source record, then rerun against a fresh test output and reconcile the counts.
These examples assume a Unix shell on a configured Ab Initio development host. Start at the sandbox root. Substitute your project’s paths and parameter names.
For command options and component names in your release, open Ab Initio Help in your installed GDE.