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.

Returning blob from pb component

5 posts in General Discussion (old) Last posting was on 2000-03-02 21:01:07.0Z
Tim Nesham Posted on 2000-03-02 14:40:44.0Z
Newsgroups: sybase.public.easerver
From: "Tim Nesham" <tim.nesham@born.com>
Subject: Returning blob from pb component
Date: Thu, 2 Mar 2000 08:40:44 -0600
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Original-NNTP-Posting-Host: 161.49.6.89
Organization: Quad/Graphics,Inc.
NNTP-Posting-Host: dns2.qgraph.com 206.158.124.2
Message-ID: <347_38be7d70@news.qgraph.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!news.qgraph.com!161.49.6.89
Xref: forums-1-dub sybase.public.easerver:27329
Article PK: 158736

When I return a blob from a component in Jaguar I suspect that the I need to
do something extra in the server-side script. Because if I attempt to write
it out to a file I always get "{}" as the bytes. event if the blob is much
larger. What do I need to do to get the exact number of bytes returned to
server-side script?

TIA,

Tim


Ken Forbes Posted on 2000-03-02 15:35:17.0Z
Newsgroups: sybase.public.easerver
From: "Ken Forbes" <ken.forbes_removethis_@wcom.com>
Subject: Re: Returning blob from pb component
Date: Thu, 2 Mar 2000 09:35:17 -0600
Lines: 19
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_0XEXlzFh$GA.201@forums.sybase.com>
References: <347_38be7d70@news.qgraph.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27320
Article PK: 158734

You can use the Len() function to test the size of a blob.

Tim Nesham <tim.nesham@born.com> wrote in message
news:38be7d70@news.qgraph.com...
> When I return a blob from a component in Jaguar I suspect that the I need
to
> do something extra in the server-side script. Because if I attempt to
write
> it out to a file I always get "{}" as the bytes. event if the blob is much
> larger. What do I need to do to get the exact number of bytes returned to
> server-side script?
>
> TIA,
>
> Tim
>
>


Dave Wolf [Sybase] Posted on 2000-03-02 15:29:00.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Returning blob from pb component
Date: Thu, 2 Mar 2000 10:29:00 -0500
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 158.159.8.49
Message-ID: <347_BdxLSyFh$GA.74@forums.sybase.com>
References: <347_38be7d70@news.qgraph.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27323
Article PK: 158735

PD doesnt handle byte[] very well. What do you want to do with it? Anytime
you have an object coming back from Jag > PD it will look like {} when you
write it out.

Dave Wolf
Internet Applications Division

"Tim Nesham" <tim.nesham@born.com> wrote in message
news:38be7d70@news.qgraph.com...
> When I return a blob from a component in Jaguar I suspect that the I need
to
> do something extra in the server-side script. Because if I attempt to
write
> it out to a file I always get "{}" as the bytes. event if the blob is much
> larger. What do I need to do to get the exact number of bytes returned to
> server-side script?
>
> TIA,
>
> Tim
>
>


Tim Nesham Posted on 2000-03-02 18:18:33.0Z
Newsgroups: sybase.public.easerver
From: "Tim Nesham" <tim.nesham@born.com>
Subject: Re: Returning blob from pb component
Date: Thu, 2 Mar 2000 12:18:33 -0600
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Original-NNTP-Posting-Host: 161.49.6.89
Organization: Quad/Graphics,Inc.
NNTP-Posting-Host: dns2.qgraph.com 206.158.124.2
Message-ID: <347_38beb07c@news.qgraph.com>
References: <347_38be7d70@news.qgraph.com> <347_BdxLSyFh$GA.74@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!news.qgraph.com!161.49.6.89
Xref: forums-1-dub sybase.public.easerver:27301
Article PK: 158718

Its a JPEG. I either want to write it out to reference it with the IMAGE tag
or use it directly.

"Dave Wolf [Sybase]" <dwolf@sybase.com> wrote in message
news:BdxLSyFh$GA.74@forums.sybase.com...
> PD doesnt handle byte[] very well. What do you want to do with it?
Anytime
> you have an object coming back from Jag > PD it will look like {} when you
> write it out.
>
> Dave Wolf
> Internet Applications Division
>
> "Tim Nesham" <tim.nesham@born.com> wrote in message
> news:38be7d70@news.qgraph.com...
> > When I return a blob from a component in Jaguar I suspect that the I
need
> to
> > do something extra in the server-side script. Because if I attempt to
> write
> > it out to a file I always get "{}" as the bytes. event if the blob is
much
> > larger. What do I need to do to get the exact number of bytes returned
to
> > server-side script?
> >
> > TIA,
> >
> > Tim
> >
> >
>
>


Dave Wolf [Sybase] Posted on 2000-03-02 21:01:07.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Returning blob from pb component
Date: Thu, 2 Mar 2000 16:01:07 -0500
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 158.159.8.48
Message-ID: <347_Torg5rIh$GA.74@forums.sybase.com>
References: <347_38be7d70@news.qgraph.com> <347_BdxLSyFh$GA.74@forums.sybase.com> <347_38beb07c@news.qgraph.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27289
Article PK: 158706

Ive never found a way to make this work when the byte[] comes from Jag. Has
anyone else?

Dave Wolf
Internet Applications Division

"Tim Nesham" <tim.nesham@born.com> wrote in message
news:38beb07c@news.qgraph.com...
> Its a JPEG. I either want to write it out to reference it with the IMAGE
tag
> or use it directly.
>
> "Dave Wolf [Sybase]" <dwolf@sybase.com> wrote in message
> news:BdxLSyFh$GA.74@forums.sybase.com...
> > PD doesnt handle byte[] very well. What do you want to do with it?
> Anytime
> > you have an object coming back from Jag > PD it will look like {} when
you
> > write it out.
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > "Tim Nesham" <tim.nesham@born.com> wrote in message
> > news:38be7d70@news.qgraph.com...
> > > When I return a blob from a component in Jaguar I suspect that the I
> need
> > to
> > > do something extra in the server-side script. Because if I attempt to
> > write
> > > it out to a file I always get "{}" as the bytes. event if the blob is
> much
> > > larger. What do I need to do to get the exact number of bytes
returned
> to
> > > server-side script?
> > >
> > > TIA,
> > >
> > > Tim
> > >
> > >
> >
> >
>
>