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.

Passing a Boolean variable by reference from PowerDynamo to Jaguar CTS

4 posts in General Discussion (old) Last posting was on 2000-03-02 16:34:49.0Z
Basant Gupta Posted on 2000-03-01 22:59:12.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 01 Mar 2000 14:59:12 -0800
From: Basant Gupta <basantg@yahoo.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Passing a Boolean variable by reference from PowerDynamo to Jaguar CTS
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 12
NNTP-Posting-Host: 207.171.209.94
Message-ID: <347_38BDA0C0.C1751EE0@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27379
Article PK: 158786

Hi, I'm using EAStudio 3.5.1,
I am having problems Passing a Boolean variable by reference from
PowerDynamo to Jaguar CTS.

The error i get is
invalid object for method of_getmsg near line 24 in "process.ssc"

My code is
boolean_arg = new Boolean (false);
ls_ret = session.in_biz.of_getmsg(arga,boolean_arg);

The above code works fine if i call the method from a PB client and
pass a boolean by reference.

Thanks

Basant


Dave Wolf [Sybase] Posted on 2000-03-02 13:33:10.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Passing a Boolean variable by reference from PowerDynamo to Jaguar CTS
Date: Thu, 2 Mar 2000 08:33:10 -0500
Lines: 31
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: PPPa10-ResaleAnnapolis1-1R7308.saturn.bbn.com 4.48.176.71
Message-ID: <347_Sy3TixEh$GA.251@forums.sybase.com>
References: <347_38BDA0C0.C1751EE0@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27338
Article PK: 154525

You need to do this

flag = false;
boolean_arg = java.CreateObject("org.omg.CORBA.BooleanHolder", flag)
s_ret = session.in_biz.of_getmsg(arga,boolean_arg);

Dave Wolf
Internet Applications Division

"Basant Gupta" <basantg@yahoo.com> wrote in message
news:38BDA0C0.C1751EE0@yahoo.com...
> Hi, I'm using EAStudio 3.5.1,
> I am having problems Passing a Boolean variable by reference from
> PowerDynamo to Jaguar CTS.
>
> The error i get is
> invalid object for method of_getmsg near line 24 in "process.ssc"
>
> My code is
> boolean_arg = new Boolean (false);
> ls_ret = session.in_biz.of_getmsg(arga,boolean_arg);
>
> The above code works fine if i call the method from a PB client and
> pass a boolean by reference.
>
> Thanks
>
> Basant
>


Basant Gupta Posted on 2000-03-02 16:34:49.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 02 Mar 2000 08:34:49 -0800
From: Basant Gupta <basantg@yahoo.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Passing a Boolean variable by reference from PowerDynamo to Jaguar CTS
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 27
NNTP-Posting-Host: 207.171.209.94
Message-ID: <347_38BE9829.9D0CC0CC@yahoo.com>
References: <347_38BDA0C0.C1751EE0@yahoo.com> <347_Sy3TixEh$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27314
Article PK: 158731

Thanks Dave,
I will try that. I guess that makes sense because I am doing the
PowerDynamo to Jaguar communication via the Java stubs.

Basant

"Dave Wolf [Sybase]" wrote:

> You need to do this
>
> flag = false;
> boolean_arg = java.CreateObject("org.omg.CORBA.BooleanHolder", flag)
> s_ret = session.in_biz.of_getmsg(arga,boolean_arg);
>
> Dave Wolf
> Internet Applications Division
>
> "Basant Gupta" <basantg@yahoo.com> wrote in message
> news:38BDA0C0.C1751EE0@yahoo.com...
> > Hi, I'm using EAStudio 3.5.1,
> > I am having problems Passing a Boolean variable by reference from
> > PowerDynamo to Jaguar CTS.
> >
> > The error i get is
> > invalid object for method of_getmsg near line 24 in "process.ssc"
> >
> > My code is
> > boolean_arg = new Boolean (false);
> > ls_ret = session.in_biz.of_getmsg(arga,boolean_arg);
> >
> > The above code works fine if i call the method from a PB client and
> > pass a boolean by reference.
> >
> > Thanks
> >
> > Basant
> >


Scott McReynolds [Sybase] Posted on 2000-03-02 06:11:05.0Z
Newsgroups: sybase.public.easerver
From: "Scott McReynolds [Sybase]" <scottmc@sybase.com>
Subject: Re: Passing a Boolean variable by reference from PowerDynamo to Jaguar CTS
Date: Wed, 1 Mar 2000 23:11:05 -0700
Lines: 28
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: scottmc-pc.sybase.com 158.77.55.90
Message-ID: <347_q7E5R6Ah$GA.202@forums.sybase.com>
References: <347_38BDA0C0.C1751EE0@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27362
Article PK: 158768

Basant,

Are you creating the component first using createComponent?

Scott

Basant Gupta <basantg@yahoo.com> wrote in message
news:38BDA0C0.C1751EE0@yahoo.com...
> Hi, I'm using EAStudio 3.5.1,
> I am having problems Passing a Boolean variable by reference from
> PowerDynamo to Jaguar CTS.
>
> The error i get is
> invalid object for method of_getmsg near line 24 in "process.ssc"
>
> My code is
> boolean_arg = new Boolean (false);
> ls_ret = session.in_biz.of_getmsg(arga,boolean_arg);
>
> The above code works fine if i call the method from a PB client and
> pass a boolean by reference.
>
> Thanks
>
> Basant
>