AbsaOSS / cobrix

A COBOL parser and Mainframe/EBCDIC data source for Apache Spark
Apache License 2.0
136 stars 78 forks source link

Parse compressed IMS log data #547

Open manchikalapudi opened 1 year ago

manchikalapudi commented 1 year ago

Background [Optional]

Hello, We are working on parsing IMS log data to capture change data using Cobrix and load into data lake for analytical purpose.

Question

We find log data in IMS is compressed and wondering if Cobrix had functions to decompress while processing it . We really appreciate any help with this!!!

yruslan commented 1 year ago

Hi, could you please provide more info on this?

manchikalapudi commented 1 year ago

Hi We are working on building data pipeline which moves data from IMS to S3. So far we used cobol extract programme and IMS unload utility to move some segments but we were having difficulties to add more segments to exiting cobol programme due it's complexity and lack of knowledge on capturing change records only. We exploring option of configure the DBD Exit Parameter for the IMS database on the system to capture any changes for all segments. we are trying to parse the X’99’ IMS log record created by the DBD exit using cobrix. We see the log data is compressed , we were wondering if cobrix has options to parse the IMS log data which is compressed.

yruslan commented 1 year ago

Sorry, Cobrix can't parse compressed records at the moment. But if you can provide a link to the spec of the compression logic, it might be possible to implement it in the future.