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.

APPEON and goto

3 posts in Appeon (partner product) Last posting was on 2007-01-18 20:20:32.0Z
abiewer Posted on 2007-01-17 16:06:20.0Z
From: abiewer@plansoft.de
Subject: APPEON and goto
Newsgroups: sybase.public.appeon
MIME-Version: 1.0
X-Newsreader: Lotus Notes Release 6.0.3 September 26, 2003
X-MIMETrack: Serialize by Notes Client on Axel Biewer/Plansoft(Release 6.0.3|September 26, 2003) at 17.01.2007 17:51:11, Serialize complete at 17.01.2007 17:51:11
Content-Type: text/plain; charset="US-ASCII"
NNTP-Posting-Host: psgate.plan-software.de
X-Original-NNTP-Posting-Host: psgate.plan-software.de
Message-ID: <45ae578c$1@forums-1-dub>
Date: 17 Jan 2007 09:06:20 -0700
X-Trace: forums-1-dub 1169053580 193.158.76.67 (17 Jan 2007 09:06:20 -0700)
X-Original-Trace: 17 Jan 2007 09:06:20 -0700, psgate.plan-software.de
Lines: 46
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1737
Article PK: 21344

We plan to migrate a really big application to APPEON.
This will certainly be a major task - but the first tests
are promising...
Unfortunately there is one feature, missing 'goto', that
will cause us the most problems.
Why does APPEON not support the 'goto'. There
are really cases in programming where the Goto
is the most elegant solution !!!
So for example we have to migrate hundreds of
transactions, with many many SQL-Statements like
this:

STATEMENT-1
if ERROR
goto end;

STATEMENT-2
if ERROR
goto end;

STATEMENT-3
if ERROR
goto end;

..
..

end:
if ERROR
ROLLBACK
else
COMMIT

Even if Goto is not a typical element of structured programming,
it is not (!) a good decision to not support it, because it shouldn't
be a big problem to support it, APPEON supports other features
that are really impressioning.

Is it planned that next versions will support it or is there
any elegant general workaround other then if-statements
taht could help us???

Any tip is very appreciated.

Thank's axel


Vincent Posted on 2007-01-18 07:28:27.0Z
Sender: 715f.45ade26d.1804289383@sybase.com
From: Vincent
Newsgroups: sybase.public.appeon
Subject: Re: APPEON and goto
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45af2fab.8a8.1681692777@sybase.com>
References: <45ae578c$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 18 Jan 2007 00:28:27 -0700
X-Trace: forums-1-dub 1169108907 10.22.241.41 (18 Jan 2007 00:28:27 -0700)
X-Original-Trace: 18 Jan 2007 00:28:27 -0700, 10.22.241.41
Lines: 57
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1740
Article PK: 21338

As you know, in most books, Goto is not recommended although
in some elegant solutions and cases it can help simplify the
programe structure.
I will discuss your request with our head and product
department.
Attention will be given to the alike requests and I will let
you know if any new features released concerning this. But I
personally do not think Appeon will support it in the near
future.

> We plan to migrate a really big application to APPEON.
> This will certainly be a major task - but the first tests
> are promising...
> Unfortunately there is one feature, missing 'goto', that
> will cause us the most problems.
> Why does APPEON not support the 'goto'. There
> are really cases in programming where the Goto
> is the most elegant solution !!!
> So for example we have to migrate hundreds of
> transactions, with many many SQL-Statements like
> this:
>
> STATEMENT-1
> if ERROR
> goto end;
>
> STATEMENT-2
> if ERROR
> goto end;
>
> STATEMENT-3
> if ERROR
> goto end;
>
> ..
> ..
>
> end:
> if ERROR
> ROLLBACK
> else
> COMMIT
>
> Even if Goto is not a typical element of structured
> programming, it is not (!) a good decision to not support
> it, because it shouldn't be a big problem to support it,
> APPEON supports other features that are really
> impressioning.
>
> Is it planned that next versions will support it or is
> there any elegant general workaround other then
> if-statements taht could help us???
>
> Any tip is very appreciated.
>
> Thank's axel
>


abiewer Posted on 2007-01-18 20:20:32.0Z
From: abiewer@plansoft.de
Subject: Re: APPEON and goto
Newsgroups: sybase.public.appeon
MIME-Version: 1.0
References: <45ae578c$1@forums-1-dub> <45af2fab.8a8.1681692777@sybase.com>
X-Newsreader: Lotus Notes Release 6.0.3 September 26, 2003
X-MIMETrack: Serialize by Notes Client on Axel Biewer/Plansoft(Release 6.0.3|September 26, 2003) at 18.01.2007 22:07:38, Serialize complete at 18.01.2007 22:07:38
Content-Type: text/plain; charset="US-ASCII"
NNTP-Posting-Host: psgate.plan-software.de
X-Original-NNTP-Posting-Host: psgate.plan-software.de
Message-ID: <45afe4a0$1@forums-1-dub>
Date: 18 Jan 2007 13:20:32 -0700
X-Trace: forums-1-dub 1169155232 193.158.76.67 (18 Jan 2007 13:20:32 -0700)
X-Original-Trace: 18 Jan 2007 13:20:32 -0700, psgate.plan-software.de
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1743
Article PK: 13129

Thanks.
As I assume - for really migrating our application, we would need it.

Me too, I know, that GoTo in most cases is not a good programming style -
but often missing Goto makes the Code much more complex,
and eleiminating over 1900 Gotos in hundredes of complex transitions would
be a quite major task.

Once again
Thanks
axel