Creating Header / Detail file in CFF stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vinodlakshmanan
Participant
Posts: 82
Joined: Wed Jul 14, 2004 7:21 am
Location: India

Creating Header / Detail file in CFF stage

Post by vinodlakshmanan »

Hi,
I need to create a fixed length file which has to be loaded into mainframe. It has got a header row followed by detail records.
The schemas of the header and detail records are different, and there are packed decimal fields at different locations in the header and detail records respectively.
$$HDR1 Field1 <packed decimal field>...
DetailRecord1 Field1 <packed decimal field>...
...
$$HDR2 Field2 <packed decimal field> ...
DetailRecord2 Field2 <packed decimal field>...

and so on
Can I create such a file using CFF stage? How do I specify different schemas for header and detail records in that case?

Or if there is any better option of doing the same, please do suggest.

Thanks,
Vinod
Integrity is what you do when no one is watching
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not in version 7.
Create them separately and combine them afterwards.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply