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.

Number of parameters in a PB component function

5 posts in General Discussion (old) Last posting was on 2000-02-28 21:56:48.0Z
Gilbert Posted on 2000-02-26 09:14:31.0Z
Newsgroups: sybase.public.easerver
From: "Gilbert" <tech@alvia.com>
Subject: Number of parameters in a PB component function
Date: Sat, 26 Feb 2000 10:14:31 +0100
Lines: 12
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: 194.179.77.6
Message-ID: <347_lYpO0qDg$GA.274@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27757
Article PK: 159113

Hi:

I think that there is a limit of parameters calling a PB component function from Dynamo returning a
string (java.CreateComponent).
I have a function with 35 parameters that was working well calling from WebPB and not anymore with
Jaguar 3.0.1. Is this a bug or there is a limit ?

Many thanks
Gilbert


Keith Roscarel Posted on 2000-02-28 21:56:48.0Z
Newsgroups: sybase.public.easerver
From: "Keith Roscarel" <keithr@accint.com>
Subject: Re: Number of parameters in a PB component function
Date: Mon, 28 Feb 2000 16:56:48 -0500
Lines: 27
X-Newsreader: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
NNTP-Posting-Host: clients.accint.com 141.154.97.1
Message-ID: <347_sfTodcjg$GA.201@forums.sybase.com>
References: <347_lYpO0qDg$GA.274@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27627
Article PK: 158998

How about creating a P. Dynamo function that will wrap these params into 1
or more tab delimited strings or the like? You should be able create the
equivalent 'unwrapper function' as an overload to your current web PB
interface. Not pretty, but this should alleviate your 35 parameter issue.

Just a thought.

- Keith Roscarel
Access International

Gilbert wrote in message ...
>Hi:
>
>I think that there is a limit of parameters calling a PB component function
from Dynamo returning a
>string (java.CreateComponent).
>I have a function with 35 parameters that was working well calling from
WebPB and not anymore with
>Jaguar 3.0.1. Is this a bug or there is a limit ?
>
>Many thanks
>Gilbert
>
>
>


Jim O'Neil [Sybase] Posted on 2000-02-27 02:43:42.0Z
Newsgroups: sybase.public.easerver
Date: Sat, 26 Feb 2000 21:43:42 -0500
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Number of parameters in a PB component function
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 33
NNTP-Posting-Host: nomad6-48.sybase.com 157.133.176.48
Message-ID: <347_38B88F5D.408E2F27@sybase.com>
References: <347_lYpO0qDg$GA.274@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27727
Article PK: 159085


Gilbert wrote:

> Hi:
>
> I think that there is a limit of parameters calling a PB component function from Dynamo returning a
> string (java.CreateComponent).
> I have a function with 35 parameters that was working well calling from WebPB and not anymore with
> Jaguar 3.0.1. Is this a bug or there is a limit ?
>
> Many thanks
> Gilbert

There's a CR210046 that deals with limitations on the number of parameters, although the originally
reported issue indicated the number was around 14 or so. From what I can tell of the resolution, they
increased a buffer size in Dynamo to accomodate more characters in the Java method signature, from 400
to 1000, which the CR even indicates would accommodate around 35 arguments. So, I do believe you are
running into a limitation, in Dynamo, not PowerBuilder. The information I read implies that you might
squeeze out more arguments with a smaller number of characters in the method signature, but the bottom
line is there would still be a limit. Given that they have addressed this problem before, I'm not sure
whether it would be now considered a final limitation or if you might have some luck in reopening the
case through support and pushing to get the limit extended again.
--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc


Gilbert Posted on 2000-02-27 04:28:48.0Z
Newsgroups: sybase.public.easerver
From: "Gilbert" <tech@alvia.com>
Subject: Re: Number of parameters in a PB component function
Date: Sun, 27 Feb 2000 05:28:48 +0100
Lines: 47
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: 194.179.77.6
Message-ID: <347_Gng$2vNg$GA.202@forums.sybase.com>
References: <347_lYpO0qDg$GA.274@forums.sybase.com> <347_38B88F5D.408E2F27@sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27725
Article PK: 159086

Thanks for the info.
For information, after some tests I found out that is limited to 22 arguments.
I think that will be a problem for people like me, migrating from WebPB to Jaguar.

Many thanks.
Gilbert

Jim O'Neil [Sybase] <joneil@sybase.com> wrote in message news:38B88F5D.408E2F27@sybase.com...
> Gilbert wrote:
>
> > Hi:
> >
> > I think that there is a limit of parameters calling a PB component function from Dynamo
returning a
> > string (java.CreateComponent).
> > I have a function with 35 parameters that was working well calling from WebPB and not anymore
with
> > Jaguar 3.0.1. Is this a bug or there is a limit ?
> >
> > Many thanks
> > Gilbert
>
> There's a CR210046 that deals with limitations on the number of parameters, although the
originally
> reported issue indicated the number was around 14 or so. From what I can tell of the resolution,
they
> increased a buffer size in Dynamo to accomodate more characters in the Java method signature, from
400
> to 1000, which the CR even indicates would accommodate around 35 arguments. So, I do believe you
are
> running into a limitation, in Dynamo, not PowerBuilder. The information I read implies that you
might
> squeeze out more arguments with a smaller number of characters in the method signature, but the
bottom
> line is there would still be a limit. Given that they have addressed this problem before, I'm not
sure
> whether it would be now considered a final limitation or if you might have some luck in reopening
the
> case through support and pushing to get the limit extended again.
> --
> Jim O'Neil
> Senior Technical Support Engineer
> Sybase, Inc
>
>


Jim O'Neil [Sybase] Posted on 2000-02-27 20:13:53.0Z
Newsgroups: sybase.public.easerver
Date: Sun, 27 Feb 2000 15:13:53 -0500
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Number of parameters in a PB component function
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 16
NNTP-Posting-Host: nomad6-33.sybase.com 157.133.176.33
Message-ID: <347_38B98581.826B1CBB@sybase.com>
References: <347_lYpO0qDg$GA.274@forums.sybase.com> <347_38B88F5D.408E2F27@sybase.com> <347_Gng$2vNg$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27711
Article PK: 159073


Gilbert wrote:

> Thanks for the info.
> For information, after some tests I found out that is limited to 22 arguments.
> I think that will be a problem for people like me, migrating from WebPB to Jaguar.
>
> Many thanks.
> Gilbert
>

If that's the case please open a support case, because your voice and business case will mean a lot more
to getting a resolution than I can. 22 arguments seems like a lot to pass into one function, but as you
mention for a migration scenario, we should make every attempt possible to accommodate this.
--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc