Header/Trailer Insert
Posted: Wed May 27, 2015 8:22 am
Hello All,
Currently, I am provided with a fixed flat file. The flat file has a header and trailer record. The records which are not the header/trailer need to be packed in the CFF Stage.
- Job design: Seq. File -> Transformer -> Sort -> CFF
- The records are brought in as one column 'A' varchar 1000
- I split the records up based up character position and length.
- I am removing the header/trailer records from the file with a constraint in the Transformer Stage. These records should not be packed.
What is the best way to insert the header/trailer records back into the file output?
Please advise, thank you.
Jared Z.
Currently, I am provided with a fixed flat file. The flat file has a header and trailer record. The records which are not the header/trailer need to be packed in the CFF Stage.
- Job design: Seq. File -> Transformer -> Sort -> CFF
- The records are brought in as one column 'A' varchar 1000
- I split the records up based up character position and length.
- I am removing the header/trailer records from the file with a constraint in the Transformer Stage. These records should not be packed.
What is the best way to insert the header/trailer records back into the file output?
Please advise, thank you.
Jared Z.