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.

TCP/IP in PB7.0

7 posts in Objects Last posting was on 2002-11-08 03:57:35.0Z
MattBell Posted on 2002-07-16 22:28:07.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: MattBell
Date: Tue, 16 Jul 2002 18:28:07 -0400
Subject: TCP/IP in PB7.0
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:1106
Article PK: 713669

Is this possible? Can I open a telnet connection via Powerbuilder 7.0?

If not anyone come up with an alternate solution for something like this?

Thank you for any help,
Matt Bell
matt@argosys.com


dian.cehic Posted on 2002-07-31 14:17:34.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: <dian.cehic@egeli.ch>
Subject: Re: TCP/IP in PB7.0
Date: Wed, 31 Jul 2002 16:17:34 +0200
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: egi-stg1-nfw1.ccnet.ch 212.98.39.214
Message-ID: <364_BfSfC8JOCHA.582@forums.sybase.com>
References: <364_ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1060
Article PK: 713625

Hi all,

we use Distinct-OCX for TCP-Programming with Powerbuilder. Work fine.
www.distinct.com

Best,
Regards

<MattBell> schrieb im Newsbeitrag
news:ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums...

> Is this possible? Can I open a telnet connection via Powerbuilder 7.0?
>
> If not anyone come up with an alternate solution for something like this?
>
> Thank you for any help,
> Matt Bell
> matt@argosys.com


Roy Kiesler [TeamSybase] Posted on 2002-07-17 15:26:56.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: TCP/IP in PB7.0
Date: Wed, 17 Jul 2002 11:26:56 -0400
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: host131.percussion.com 208.252.62.131
Message-ID: <364_CL97LgaLCHA.196@forums.sybase.com>
References: <364_ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1104
Article PK: 713667

Not without external help -- there are quite a few TCO components out there
(http://www.componentsource.com is a good place to start looking)

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network -- http://sdn.sybase.com

<MattBell> wrote in message
news:ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums...
> Is this possible? Can I open a telnet connection via Powerbuilder 7.0?
>
> If not anyone come up with an alternate solution for something like this?
>
> Thank you for any help,
> Matt Bell
> matt@argosys.com


Matt_Bell Posted on 2002-07-17 20:49:30.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Matt_Bell
Date: Wed, 17 Jul 2002 16:49:30 -0400
Subject: Re: TCP/IP in PB7.0
Lines: 5
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_67A69F5CAE02E7C30072652185256BF9.005B486C85256BF9@webforums>
References: <364_ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums> <364_CL97LgaLCHA.196@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:1099
Article PK: 713660

Thank you for the response, mind if I propose a question?

If I write a second application in say Java, and I want to run it from
Powerbuilder and then get some sort of return out of it, what is the best
way of doing something like that?


Raman Chawla Posted on 2002-11-08 03:57:35.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Raman Chawla" <Raman.Chawla@amsa.gov.au>
Subject: Re: TCP/IP in PB7.0
Date: Fri, 8 Nov 2002 14:57:35 +1100
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 203.2.253.80
Message-ID: <364_kuBM00thCHA.199@forums.sybase.com>
References: <364_ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums> <364_CL97LgaLCHA.196@forums.sybase.com> <364_67A69F5CAE02E7C30072652185256BF9.005B486C85256BF9@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:790
Article PK: 713362

We have the same thing here. PB app communicates with Java application via
sockets.

You can write a java class and run from pb as a OLE Object and get a return
back from one of the function.
or
You can create java stored procedure in ORACLE.

Regards,
Raman Chawla

<Matt_Bell> wrote in message
news:67A69F5CAE02E7C30072652185256BF9.005B486C85256BF9@webforums...
> Thank you for the response, mind if I propose a question?
>
> If I write a second application in say Java, and I want to run it from
> Powerbuilder and then get some sort of return out of it, what is the best
> way of doing something like that?


M. Searer Posted on 2002-07-30 15:29:50.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "M. Searer" <nospam@nospam.com>
Subject: Re: TCP/IP in PB7.0
Date: Tue, 30 Jul 2002 11:29:50 -0400
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: 65-84-11-167.client.dsl.net 65.84.11.167
Message-ID: <364_OZzyF#9NCHA.582@forums.sybase.com>
References: <364_ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums> <364_CL97LgaLCHA.196@forums.sybase.com> <364_67A69F5CAE02E7C30072652185256BF9.005B486C85256BF9@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1063
Article PK: 713624

You will have to figure out a way to do messaging between the applications.
You could:
1) use a file
2) use a database
3) Use TCP/IP sockets (best if one or both are servers that run all of the
time)

Or other means such as messaging applications, ...

<Matt_Bell> wrote in message
news:67A69F5CAE02E7C30072652185256BF9.005B486C85256BF9@webforums...
> Thank you for the response, mind if I propose a question?
>
> If I write a second application in say Java, and I want to run it from
> Powerbuilder and then get some sort of return out of it, what is the best
> way of doing something like that?


Roy Kiesler [TeamSybase] Posted on 2002-07-17 21:18:28.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: TCP/IP in PB7.0
Date: Wed, 17 Jul 2002 17:18:28 -0400
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: host131.percussion.com 208.252.62.131
Message-ID: <364_4JVDpkdLCHA.654@forums.sybase.com>
References: <364_ED5483681C962CFC007B6C7585256BF8.007B6C8385256BF8@webforums> <364_CL97LgaLCHA.196@forums.sybase.com> <364_67A69F5CAE02E7C30072652185256BF9.005B486C85256BF9@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1098
Article PK: 713659

Ouch! there is no nice way to do this today that does not involve JNI coding
in C/C++.

If you upgrade to PowerBuilder 9.0 when it comes out, you can create a PBNI
marshaler extension to do this -- you would still have to write JNI code in
C/C++, but the hooking interface to PowerBuilder will be much easier.

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network -- http://sdn.sybase.com

<Matt_Bell> wrote in message
news:67A69F5CAE02E7C30072652185256BF9.005B486C85256BF9@webforums...
> Thank you for the response, mind if I propose a question?
>
> If I write a second application in say Java, and I want to run it from
> Powerbuilder and then get some sort of return out of it, what is the best
> way of doing something like that?