English 中文(简体)
CSRCESRV背后的精确辨别法
原标题:Exact Algorithm behind CSRCESRV
I would like to implement the expand procedure of the macro CSRCESRV in another programming language (in my case Java). Unfortunately, the exact compression algorithm that CSRCESRV uses is nowhere documented. I understand that CSRCESRV uses some run-length encoding, but I have not yet been successful in reversing (expanding) a string compressed with CSRCESRV. I am especially surprised by the presence of numerous ASCII control bytes (0x00-0x1F, 0x7F) in the compressed string, which I am confident (not 100% sure) are not part of the original uncompressed string. Does anyone know the exact algorithm that CSRCESRV uses to compress/expand strings? References: https://www.ibm.com/docs/en/SSLTBW_3.1.0/com.ibm.zos.v3r1.ieaa700/macro.htm https://www.ibm.com/docs/en/zos/3.1.0?topic=services-provided-by-csrcesrv
问题回答
I can t leave a comment for some reason, but there s a purported C/C++ version of the decompression algorithm here: https://bit.listserv.ibm-main.narkive.com/Tk3WTjJY/anyone-familiar-with-how-z-os-csrcesrv-works




相关问题
DB2 varchar index join

For DB2... table1.a is varchar(30) and has an index on it. table2.b is varchar(45) and has an index on it. Will table1.a = table2.b use the index on table1, table2, or both? Although it would seem ...

How to put a constraint on two combined fields?

I d like to put a constraint, a check or a foreign key, on two combined fields from table1 to another field in table2. Here is what I tried, but both gave me errors: ALTER TABLE table1 ADD ...

Odd WHERE NOT EXISTS performance on DB2

I am experiencing very odd performance on DB2 version 9.1 when running the query below: select a.CYCL_NUM , a.AC_NUM , a.AUTHS_DTE , a.PL_ID , a.APRVD_RSPN_CDE , a.AUTHS_AMT , a....

AS400 DB2 Journals search

I am new to DB2 administration on AS400, could you point me to the best practices/tools to search for errors in the DB2 journals? So far I use the DSPJRN command but I am unable to make research. ...

2. 循环检测,采用回收分级系数

甲状腺可使用其专有的CONNECT,自v2起就进行分级查询。 在最近发表的第11g号新闻稿中,他们增加了复位的分级系数,也称为休养。

Tossing out certain result rows in a left join

In DB2, using the following left join select a.deptno, a.deptname, b.empno from #dept a left join #emp b on a.deptno = b.workdept on two tables, gets me a list like: dpt name emp ----------...

热门标签