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.

Statement Try,catch,Finally

5 posts in Appeon (partner product) Last posting was on 2012-10-16 14:57:57.0Z
Ale Posted on 2012-09-15 16:00:30.0Z
Sender: 2e86.5054a480.1804289383@sybase.com
From: Ale
Newsgroups: sybase.public.appeon
Subject: Statement Try,catch,Finally
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <5054a61e.2f32.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 15 Sep 2012 09:00:30 -0700
X-Trace: forums-1-dub 1347724830 172.20.134.41 (15 Sep 2012 09:00:30 -0700)
X-Original-Trace: 15 Sep 2012 09:00:30 -0700, 172.20.134.41
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:3035
Article PK: 22010

hi!!
I have a problem, I need to migrate my PowerBuilder
application to Appeon, but the statement try,catch and
finally send error, which is not supported, I search
information in the internet and said what the statement is
supported, then I do not know what to do, because migration
says that is not supported, please help to statement I can
use instead or what I can do and I need to use these
statement..

thanks.

sorry for my english!!


Steven Posted on 2012-09-19 09:22:21.0Z
Sender: 4e06.50598c96.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.appeon
Subject: Re: Statement Try,catch,Finally
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <50598ecd.4e56.1681692777@sybase.com>
References: <5054a61e.2f32.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 19 Sep 2012 02:22:21 -0700
X-Trace: forums-1-dub 1348046541 172.20.134.41 (19 Sep 2012 02:22:21 -0700)
X-Original-Trace: 19 Sep 2012 02:22:21 -0700, 172.20.134.41
Lines: 21
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:3038
Article PK: 13711

Hi,
I think you don' t need to worry too much about the
exception handling on the Web, and to some extent,
"Try..catch" clause is not so necessary on the web as that
in Client/Server architect.

This reason are
1). Appeon offers built-in exception handling mechanism to
avoid serious problems occurring on the end-user's side
2).as for the debug function which is offered by
"Try..Catch" clause, Appeon also offers some replacements.
You can use Appeon Debug tool together with Appeon Server
and Appeon Error log files to debug the application when
exception or error occurs.

Besides when you deploy your application, Appeon Developer
will automatic comment out the Try...catch clause,
therefore, you don' t need to modify your code.

Regards,
Steven


Ale Posted on 2012-09-19 21:02:40.0Z
Sender: 746b.505a30bc.1804289383@sybase.com
From: Ale
Newsgroups: sybase.public.appeon
Subject: Re: Statement Try,catch,Finally
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <505a32f0.74eb.1681692777@sybase.com>
References: <50598ecd.4e56.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 19 Sep 2012 14:02:40 -0700
X-Trace: forums-1-dub 1348088560 172.20.134.41 (19 Sep 2012 14:02:40 -0700)
X-Original-Trace: 19 Sep 2012 14:02:40 -0700, 172.20.134.41
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:3040
Article PK: 22016

thanks for replying..
then , try, catch by which I can replace? because don´t
understand.
I use the statement for example
CATCH (Throwable ws_err)
then how I can replace

I´m confused :(


Luca Ferrante Posted on 2012-10-16 14:57:57.0Z
From: "Luca Ferrante" <luca_ferrante@msn.com>
Newsgroups: sybase.public.appeon
References: <5054a61e.2f32.1681692777@sybase.com>
Subject: Re: Statement Try,catch,Finally
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <507d75f5@forums-1-dub>
Date: 16 Oct 2012 07:57:57 -0700
X-Trace: forums-1-dub 1350399477 172.20.134.152 (16 Oct 2012 07:57:57 -0700)
X-Original-Trace: 16 Oct 2012 07:57:57 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:3048
Article PK: 13715

Ale,
puoi lasciare invariato il codice da migrare. Appeon commenta tutte le
occorrenze di try catch che trova analizzando il codice originario. Per le
eccezioni utilizza i meccanismi propri di Appeon, tipo l'error log ecc.

Saluti
Luca Ferrante

<Ale> ha scritto nel messaggio news:5054a61e.2f32.1681692777@sybase.com...

> hi!!
> I have a problem, I need to migrate my PowerBuilder
> application to Appeon, but the statement try,catch and
> finally send error, which is not supported, I search
> information in the internet and said what the statement is
> supported, then I do not know what to do, because migration
> says that is not supported, please help to statement I can
> use instead or what I can do and I need to use these
> statement..
>
> thanks.
>
> sorry for my english!!


Chris Pollach Posted on 2012-09-24 12:25:14.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
Newsgroups: sybase.public.appeon
Subject: Re: Statement Try,catch,Finally
References: <5054a61e.2f32.1681692777@sybase.com>
In-Reply-To: <5054a61e.2f32.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <5060512a$1@forums-1-dub>
Date: 24 Sep 2012 05:25:14 -0700
X-Trace: forums-1-dub 1348489514 172.20.134.152 (24 Sep 2012 05:25:14 -0700)
X-Original-Trace: 24 Sep 2012 05:25:14 -0700, vip152.sybase.com
Lines: 33
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:3042
Article PK: 22014

Hi Ale;

The request for TRY .. CATCH support has been recently added to the
Appeon enhancement queue.

FYI: http://my.isug.com/p/cm/ld?fid=187

--
Regards ... Chris
President: OSUG / STD Inc.
Vice President: ISUG
Blog: http://chrispollach.blogspot.com
SourceForge: http://sourceforge.net/projects/stdfndclass
PBDJ: http://chrispollach.sys-con.com

On 9/15/2012 12:00 PM, Ale wrote:
> hi!!
> I have a problem, I need to migrate my PowerBuilder
> application to Appeon, but the statement try,catch and
> finally send error, which is not supported, I search
> information in the internet and said what the statement is
> supported, then I do not know what to do, because migration
> says that is not supported, please help to statement I can
> use instead or what I can do and I need to use these
> statement..
>
> thanks.
>
> sorry for my english!!
>