Quote:
Originally Posted by matrixmadhan
1) Do all the applications written in 4GL have to be necessarily re-written in Pro *C/C++? Is there any other alternatives possible for that?
You can use PL/SQL for procedures and small reports, and ORACLE FORMS for user interface development. Pro*C, Pro*FORTRAN Pro*COBOL are meant for
development of major apps that do a lot of processing and possibly interact with the unix file system. PL/SQL does not do file I/O very well. It has limitations.
PL/SQL is the trigger language.
Quote:
2) Are there any migration tools avaialable with respect to rewriting applications from 4GL to Pro *C/C++ ?
www.orafaq.org mentions some things about foriegn 4GL's.
I don't know if any of it applies to Informix, because I've worked only with Oracle for 20 years. You can search that site.
Quote:
3) And above all the risks and feasibility of such kind of a task?
You need to do some serious upfront reading. There are some kinds of SQL constructs and dynamic calls that kill Oracle but are common in a lot of apps.
Simple examples of things that may be misused in PL/SQL or SQL in ORACLE:
EXEC IMMEDIATE - creates a dynamic query which looks attractive but for large multiuser systems will eat up resources and reduce throughput. It may chew up caching, for example.
SELECT ... FOR UPDATE can lock an entire table of millions of rows if misused.
I've seen apps that do this, then ask for user input. When the user goes to lunch at this point without pushing the return key, the entire db grinds to a halt as other people need to access that table.
It's a huge book, but will save you endless grief:
Tom Kite 'Expert one on One ORACLE'
There is a version of this book for 8i and 9i. I think he's got a 10g version out, but go here where TOm Kite answers questions, he often lets you know about books out there, you may want to ask him/or search his site to see if there are any resources for porting from Informix - porting is a main part of his expertise:
http://asktom.oracle.com/pls/ask/