Help needed in Datastage Parallel Job implementation Logic
Posted: Mon Sep 19, 2011 4:55 am
Hi,
Please advise how to achieve the below scenario in Datastage
1) Insert one header record for each 100 batch records corresponding to source records.
Eg., IP--> Source 250 records.
OP--> 1 header
100 Batch
1 header
100 Batch
1 header
50 Batch
2) Constraints for Header--> One column in header will contain count of Batch records and another column in header will contain sum of Batch record column values.
Please advise how to achieve the below scenario in Datastage
1) Insert one header record for each 100 batch records corresponding to source records.
Eg., IP--> Source 250 records.
OP--> 1 header
100 Batch
1 header
100 Batch
1 header
50 Batch
2) Constraints for Header--> One column in header will contain count of Batch records and another column in header will contain sum of Batch record column values.