Sequential files in the report format

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
pkl
Participant
Posts: 50
Joined: Wed Aug 11, 2004 11:45 am

Sequential files in the report format

Post by pkl »

Hi,

I was just wondering whether we can read the sequential file which is in a report format. I mean it has a recurring header and it is neither delimited or fixed width.


Any ideas?


Thanx
Preethi
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

You would have to treat the whole row as one column then use constraints to ignore the heading rows. In a second transformer parse the row into columns using substring() or field().
Mamu Kim
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

In a second transformer parse the row into columns using substring() or field().
Or use a Row Splitter stage instead of the second transformer to split the data out into columns (v7.1).

Tony
Post Reply