I am trying a number of methods to get the attachments out of a SM7 instance.

I am trying to get the attachment out directly from the SYSATTACHMENTS Table. There are a number of statements that the data is stored in Gzip format.

Doing a hex dump on the data, I see that there is a header that is being added by SM7 RCFM*=. So I have written some code to remove that header. I have also tried adding in a standard GZIP header, and a GZIP footer after extracting the binary data. However this has not worked.

Looking at the hex dump of the SYSATTACHMENTS data, and also the hex dump of the natively gzipped file, I do not see any match between the bytes.

Does anyone know

- Is the compression Gzip, or some other algorithm

- What headers/footers I need to add in to uncompress the data?



Tags (2)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.