Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

compression

5 posts in General Discussion (old) Last posting was on 2000-03-29 21:22:13.0Z
Elkin Porras Cala Posted on 2000-03-27 14:11:01.0Z
Newsgroups: sybase.public.easerver
From: "Elkin Porras Cala" <elkin@fsc.com.co>
Subject: compression
Date: Mon, 27 Mar 2000 09:11:01 -0500
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: cr62253.cable.net.co 209.88.62.253
Message-ID: <347_H67SGf$l$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25665
Article PK: 155725

Any of you has working sending compressed data from Jaguar CTS to Client

What do you use to compress data?


Ken Forbes Posted on 2000-03-27 14:27:31.0Z
Newsgroups: sybase.public.easerver
From: "Ken Forbes" <ken.forbes_removethis_@wcom.com>
Subject: Re: compression
Date: Mon, 27 Mar 2000 08:27:31 -0600
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: RIO-DHCP1299.mcit.com 166.35.185.53
Message-ID: <347_Iv$JXl$l$GA.285@forums.sybase.com>
References: <347_H67SGf$l$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25664
Article PK: 228508

We use ZLib compression to return datawindow data to the client. It gives
us an 11:1 compression and adds very little overhead.

Elkin Porras Cala <elkin@fsc.com.co> wrote in message
news:H67SGf$l$GA.285@forums.sybase.com...
> Any of you has working sending compressed data from Jaguar CTS to Client
>
> What do you use to compress data?
>
>
>
>


Elkin Porras Cala Posted on 2000-03-27 14:36:19.0Z
Newsgroups: sybase.public.easerver
From: "Elkin Porras Cala" <elkin@fsc.com.co>
Subject: Re: compression
Date: Mon, 27 Mar 2000 09:36:19 -0500
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: cr62253.cable.net.co 209.88.62.253
Message-ID: <347_MEzsPt$l$GA.201@forums.sybase.com>
References: <347_H67SGf$l$GA.285@forums.sybase.com> <347_Iv$JXl$l$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25660
Article PK: 155726

Hi Ken


I also use Zlib but when we tried to compress data the program fails down.

I use these zlib functions as Local External Functions (PB 7)

Function Long compress (REF blob dest, REF long destLen , REF blob src, Long
srcLen) Library "zlib.dll"
Function Long uncompress (REF blob dest, REF long destLen, REF blob src,
Long srcLen) Library "zlib.dll"

and the destLen send me some number but when I use Len (dest) returns me 0

What am I doing wrong? Where can I get some working source code

Thank you.
Elkin

Ken Forbes <ken.forbes_removethis_@wcom.com> wrote in message
news:Iv$JXl$l$GA.285@forums.sybase.com...
> We use ZLib compression to return datawindow data to the client. It gives
> us an 11:1 compression and adds very little overhead.
>
> Elkin Porras Cala <elkin@fsc.com.co> wrote in message
> news:H67SGf$l$GA.285@forums.sybase.com...
> > Any of you has working sending compressed data from Jaguar CTS to Client
> >
> > What do you use to compress data?
> >
> >
> >
> >
>
>


Ken Forbes Posted on 2000-03-27 19:52:32.0Z
Newsgroups: sybase.public.easerver
From: "Ken Forbes" <ken.forbes_removethis_@wcom.com>
Subject: Re: compression
Date: Mon, 27 Mar 2000 13:52:32 -0600
Lines: 142
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: RIO-DHCP1299.mcit.com 166.35.185.53
Message-ID: <347_LvDGCcCm$GA.275@forums.sybase.com>
References: <347_H67SGf$l$GA.285@forums.sybase.com> <347_Iv$JXl$l$GA.285@forums.sybase.com> <347_MEzsPt$l$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25598
Article PK: 155671

I've attached an example. The second argument for of_uncompress is the
original length of the blob before it is compressed.

Elkin Porras Cala <elkin@fsc.com.co> wrote in message
news:MEzsPt$l$GA.201@forums.sybase.com...
> Hi Ken
>
>
> I also use Zlib but when we tried to compress data the program fails down.
>
> I use these zlib functions as Local External Functions (PB 7)
>
> Function Long compress (REF blob dest, REF long destLen , REF blob src,
Long
> srcLen) Library "zlib.dll"
> Function Long uncompress (REF blob dest, REF long destLen, REF blob src,
> Long srcLen) Library "zlib.dll"
>
> and the destLen send me some number but when I use Len (dest) returns me
0
>
> What am I doing wrong? Where can I get some working source code
>
> Thank you.
> Elkin
>
>
> Ken Forbes <ken.forbes_removethis_@wcom.com> wrote in message
> news:Iv$JXl$l$GA.285@forums.sybase.com...
> > We use ZLib compression to return datawindow data to the client. It
gives
> > us an 11:1 compression and adds very little overhead.
> >
> > Elkin Porras Cala <elkin@fsc.com.co> wrote in message
> > news:H67SGf$l$GA.285@forums.sybase.com...
> > > Any of you has working sending compressed data from Jaguar CTS to
Client
> > >
> > > What do you use to compress data?
> > >
> > >
> > >
> > >
> >
> >
>
>


Elkin Porras Cala Posted on 2000-03-29 21:22:13.0Z
Newsgroups: sybase.public.easerver
From: "Elkin Porras Cala" <elkin@fsc.com.co>
Subject: Re: compression
Date: Wed, 29 Mar 2000 16:22:13 -0500
Lines: 59
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: cr62253.cable.net.co 209.88.62.253
Message-ID: <347_JzLGcZcm$GA.201@forums.sybase.com>
References: <347_H67SGf$l$GA.285@forums.sybase.com> <347_Iv$JXl$l$GA.285@forums.sybase.com> <347_MEzsPt$l$GA.201@forums.sybase.com> <347_LvDGCcCm$GA.275@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25301
Article PK: 228509

Thank you It works really fine.

Elkin

Ken Forbes <ken.forbes_removethis_@wcom.com> wrote in message
news:LvDGCcCm$GA.275@forums.sybase.com...
> I've attached an example. The second argument for of_uncompress is the
> original length of the blob before it is compressed.
>
> Elkin Porras Cala <elkin@fsc.com.co> wrote in message
> news:MEzsPt$l$GA.201@forums.sybase.com...
> > Hi Ken
> >
> >
> > I also use Zlib but when we tried to compress data the program fails
down.
> >
> > I use these zlib functions as Local External Functions (PB 7)
> >
> > Function Long compress (REF blob dest, REF long destLen , REF blob src,
> Long
> > srcLen) Library "zlib.dll"
> > Function Long uncompress (REF blob dest, REF long destLen, REF blob src,
> > Long srcLen) Library "zlib.dll"
> >
> > and the destLen send me some number but when I use Len (dest) returns
me
> 0
> >
> > What am I doing wrong? Where can I get some working source code
> >
> > Thank you.
> > Elkin
> >
> >
> > Ken Forbes <ken.forbes_removethis_@wcom.com> wrote in message
> > news:Iv$JXl$l$GA.285@forums.sybase.com...
> > > We use ZLib compression to return datawindow data to the client. It
> gives
> > > us an 11:1 compression and adds very little overhead.
> > >
> > > Elkin Porras Cala <elkin@fsc.com.co> wrote in message
> > > news:H67SGf$l$GA.285@forums.sybase.com...
> > > > Any of you has working sending compressed data from Jaguar CTS to
> Client
> > > >
> > > > What do you use to compress data?
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>