Thanks. Yes, the compressed data clearly starts out with 80 followed (in my
case) by a run count 7f of uncompressed characters. After that, I can kind
of see some pattern but I am a long way from totally figuring it out. It
would take some real experiments to do so (as opposed to my just looking at
my existing data) -- or a post here or a private note from someone who has
already done those experiments.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Massimo Biancucci
Sent: Tuesday, June 11, 2013 9:12 AM
To: [email protected]
Subject: Re: Anyone familiar with how z/OS CSRCESRV works?

Hi,

in the past I had to look at such a tricky because CICS write SMF with RLE
if requested and I had to uncompress data on a PC.

The compressed buffer must start with x'80' else it's not compressed with
RLE (so the first character must be x'80' and you have to analyze from the
second one for the real string).

The escape character should be (once again) x'80' and the maximum length for
the repeat-count  is one byte (max=255) .

I'm not sure at 100%, it was a long ago.

Hope this helps.

Best regards.

Massimo


2013/6/11 Charles Mills <[email protected]>

> Is anyone familiar with the "internals" of CSRCESRV run-length
compression?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to