# Variant Data Structure

**URL:** <https://forum.cloverdx.com/t/variant-data-structure/429>\
**Category:** CloverDX Platform\
**Created:** [October 29, 2008, 12:00am UTC](https://forum.cloverdx.com/t/variant-data-structure/429 "2008-10-29T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eontech](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@eontech](https://forum.cloverdx.com/u/eontech)\
**Post date:** [October 29, 2008, 12:00am UTC](https://forum.cloverdx.com/t/variant-data-structure/429/1 "2008-10-29T00:00:00Z")

</div>

Hi,

I need to extract and validate data from file with fix-length .It has multiple records of different structure.Value of a field RECID identifies the record as header,detail or trailer record.RECID with value H1234 will be header,RECID with value D1234 will be detail and RECID with value T1234 will be trailer. File will have data in following format

H1234 12345 12345678901234567890 abcde  
D1234 12345 12345678901234567890 abcde abcde  
D1234 12345 12345678901234567890 abcde abcde  
T1234 12345 12345678901234567890

Please advice how this is acheivable by CloverETL.

---

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [January 19, 2009, 12:40pm UTC](https://forum.cloverdx.com/t/variant-data-structure/429/2 "2009-01-19T12:40:30Z")

</div>

For answer see duplicate question:  
[http://forum.cloveretl.org/viewtopic.php?p=1725](http://forum.cloveretl.org/viewtopic.php?p=1725)
