I am not sure about this but I believe the compression only works when using CS ODBC to communicate. When turned on it would send the request to the server for data and the server will see the flag on and compress the data when it sends it to the client. There is no configuration other than turning it on or off from the client. The only thing you would see on the server is the CS ODBC server side running as a service. I would expect a performance hit on the server and client to compress and decompress. I would only set if your bandwidth is too small but your machines are beefy.
This isn't specific to ODBC but this is the function in PxPlus to compress CMP() and then there is a decompress UCP() . This uses zLib. Not sure if it helps answer your question but at least you can see how the sample code uses the function to compress.
https://manual.pvxplus.com/PXPLUS/functions/cmp.htmIf you are looking how to set things like Z_Best_Speed or Z_Best_Compression I don't think those are configurable and are preset. ProvideX has built-in support for ZLIb but references to it in the manual indicate you can in some places turn it on or off and that is about it from what I can find.
------------------------------
Todd Martin - President
MBA Business Software (https://www.mbabsi.com)
------------------------------