A fixed-width file is a text file where each column has a fixed number of characters. There are no delimiters like commas or pipes.
Example:
101 John 3500
102 Mary 4200
Here:
ID → 3 characters
Name → 7 characters
Salary → 4 characters
How DataStage Reads It:
Create a Table Definition with column widths.
Use Sequential File Stage.
Set Fixed-width as the format.
Map each field using exact column size.
No comments:
Post a Comment