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.

Valid argument and return types

3 posts in General Discussion (old) Last posting was on 2000-02-17 16:33:41.0Z
Jim Mullen Posted on 2000-02-15 21:31:01.0Z
Newsgroups: sybase.public.easerver
From: "Jim Mullen" <jmullen@atx.com>
Subject: Valid argument and return types
Date: Tue, 15 Feb 2000 16:31:01 -0500
Lines: 17
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: mailhost.atx.com 146.145.36.34
Message-ID: <347_vmZHJAWe$GA.329@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28508
Article PK: 160662

[Jag 3.0, PB 7]

I was trying to create a Jaguar component with an object function which had
a return type of transaction. PB complained that this was an invalid return
type in Jaguar when I tried to save (and compile) the object. So I tried to
create the function with an argument type of transaction. PB again
complained that transaction type is invalid as an arguement. Both ways,
however, the transaction type appears in the drop down list of available
types.

Can someone tell me where I can find a list of VALID arguement and return
values for Jaguar functions?

Thanks,
Jim


Jim O'Neil [Sybase] Posted on 2000-02-17 16:33:41.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 17 Feb 2000 11:33:41 -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: Valid argument and return types
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 46
NNTP-Posting-Host: joneil-nt.sybase.com 204.167.42.111
Message-ID: <347_38AC22E5.E38FA55A@sybase.com>
References: <347_vmZHJAWe$GA.329@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28498
Article PK: 160652


Jim Mullen wrote:

> [Jag 3.0, PB 7]
>
> I was trying to create a Jaguar component with an object function which had
> a return type of transaction. PB complained that this was an invalid return
> type in Jaguar when I tried to save (and compile) the object. So I tried to
> create the function with an argument type of transaction. PB again
> complained that transaction type is invalid as an arguement. Both ways,
> however, the transaction type appears in the drop down list of available
> types.
>
> Can someone tell me where I can find a list of VALID arguement and return
> values for Jaguar functions?
>
> Thanks,
> Jim

From Chapter 22 in the PowerBuilder Application Techniques Book:

Data types
You can use the following data types in the interface of a user object that you
deploy as a Jaguar component:
Standard data types (except for the Any data type)
Structures
Custom class (nonvisual) user objects that have been deployed as Jaguar
components
These data types can be used for public instance variables as well as for the
arguments and return values of public methods. Private and protected instance
variables and methods can use all data types supported by PowerBuilder.
The Any data type is not supported in the public interface of a component. In
addition, with the exception of the ResultSet and ResultSets objects, the
component interface cannot include built-in PowerBuilder system objects (for
example, the Transaction or DataStore object). The component interface also
cannot include visual objects (such as windows or menus).
Component methods can pass arrays of standard data types and arrays of
structures, and they can use custom class user objects to pass arrays.

--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc


Dave Wolf [Sybase] Posted on 2000-02-17 16:27:36.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Valid argument and return types
Date: Thu, 17 Feb 2000 11:27:36 -0500
Lines: 29
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: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_1#bHmRWe$GA.329@forums.sybase.com>
References: <347_vmZHJAWe$GA.329@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28502
Article PK: 160658

The documentation should list this?

Dave Wolf
Internet Applications Division

Jim Mullen <jmullen@atx.com> wrote in message
news:vmZHJAWe$GA.329@forums.sybase.com...
> [Jag 3.0, PB 7]
>
> I was trying to create a Jaguar component with an object function which
had
> a return type of transaction. PB complained that this was an invalid
return
> type in Jaguar when I tried to save (and compile) the object. So I tried
to
> create the function with an argument type of transaction. PB again
> complained that transaction type is invalid as an arguement. Both ways,
> however, the transaction type appears in the drop down list of available
> types.
>
> Can someone tell me where I can find a list of VALID arguement and return
> values for Jaguar functions?
>
> Thanks,
> Jim
>
>