Processing different record types - cobol source files.
Posted: Tue Jul 04, 2006 4:11 pm
Hello,
Hoping somebody can help. I'm working with cobol source files for the first time - so I have to deal with the fact that there are different record types within the file (header, detail and trailers). Just wondering how everybody else has dealt with this before.
I've searched the threads and can see that others have initially split the records by type, then processed the records accordingly. If there are elements within one record type (say the trailer), which can be joined to another type (detail record), one type is used as a lookup further on in the processing. I too have taken this approach - but would like to know if there is another way.
Is this typical of how cobol source files are treated in DataStage?
Hoping somebody can help. I'm working with cobol source files for the first time - so I have to deal with the fact that there are different record types within the file (header, detail and trailers). Just wondering how everybody else has dealt with this before.
I've searched the threads and can see that others have initially split the records by type, then processed the records accordingly. If there are elements within one record type (say the trailer), which can be joined to another type (detail record), one type is used as a lookup further on in the processing. I too have taken this approach - but would like to know if there is another way.
Is this typical of how cobol source files are treated in DataStage?