Adding header and footer records to a output file
Posted: Wed Sep 23, 2009 9:35 am
Hi all,
I am creating a fixed width output file in a datastage job.
I want to add the header and footer records to the output file
File format:
Header record --->will contain the record type,and source group name
Data record----->actual fixed width data
Footer record--->will contain record type and number of data records
I am doing this by using 3 links in transformer
1 link---header link
2 link---actual data
3 link---footer record
after transformer i am using funnel with sequential option so that i can get the records in the proper order
can you please tell me is there any other method to do this
Thanks for your help
Regards
Swathi S
I am creating a fixed width output file in a datastage job.
I want to add the header and footer records to the output file
File format:
Header record --->will contain the record type,and source group name
Data record----->actual fixed width data
Footer record--->will contain record type and number of data records
I am doing this by using 3 links in transformer
1 link---header link
2 link---actual data
3 link---footer record
after transformer i am using funnel with sequential option so that i can get the records in the proper order
can you please tell me is there any other method to do this
Thanks for your help
Regards
Swathi S