Upgrading Oracle forms and reports from 6i to 12c - oracle

We are planning a migration of an Oracle Forms and report 6i application to 12c, and at the same time we will upgrade to the latest version of Oracle (from 10g to 12c).
I would like to know the steps that we can follow, or from where to start?
Is there anything that we must consider before doing this? Any problems that we might encounter?
Any information whatsoever would be helpful !

I just recently did this exact thing.
You'll want to use the Forms migration assistant to do the heavy lifting. Copy your FMB files somewhere and run the assistant against them. Then open the FMB's in 12c and convert the 2 tier commands to 3 tier (like HOST to CLIENT_HOST (using webutil), etc) and you also may want to look for other enhancements that can be made using 12c specific code over 6i (file operation handling, reports, external link handling, etc)

Related

ora-03115 unsupported network datatype or representation forms 6i

I am trying to open tables from wizard in forms 6i and database 19c , I can connect by using user name and password in forms 6i but when I select the table from wizard it shows this error ,
actually I need to upgrade my old system and build new system in oracle APEX but during this time I need to continue using old system .
How to fix this error when select the table it show this error
ora-03115 unsupported network datatype or representation
Basically, it means that combination of client software (Forms 6i) is too old to successfully work with a new database (19c).
Forms 6i was released along with database version 8, back in 1997. Oracle database 19c dates from 2019 which means that there's over two decades difference between them. A LOT has changed during that time. Michael Ferrante from Oracle says that
Forms/Reports 6 was never certified for use with ANY database newer than Oracle 8.1.6.
and can't stress enough how important it is to upgrade.
OK, you're switching to Apex, but you can't expect that really old Forms application to work correctly with a new database. Perhaps you should have kept your old database and use it with Forms application, while you'd develop an Apex application using new database version. Once you're done, you'd migrate data from old database to new.
Meanwhile: what is SYS_USERS table description? Does it, by any chance, contain a TIMESTAMP column? If so, that might be cause of your problem. If you don't really care about fractional seconds, see if you can modify that column's datatype to
DATE. Don't alter the original table yet - first create its "duplicate", just switch timestamp to date datatype and try to access such a table from Forms. If it works, consider altering sys_users.
There are numerous reasons why old Forms/Reports versions cannot use DB versions newer than 8.1. The most significant one is that beginning in DB 9 (I believe), the ROWID format was changed/lengthened. Before Forms internally uses ROWID and expected this ROWID to be of an expected format, the change to it made newer DBs incompatible with Forms. Again, this is just one of several changes impacting the use of old Forms versions.
Move to Apex? Seems a better and generally easier approach would be to simply upgrade to a supported Forms version. Once upgraded, begin to take advantage of the many new features introduced since 6.0.8. In the planned coming versions of Forms, there are many new features expected.
Because your Forms application code (within the modules) mostly cannot be repurposed in Apex (or any other technology), what seems to work best for many other users is to invest some effort into moving Forms to a current version and introduce new features where appropriate. As new business requirements arise, carefully consider which technology is best suited for that requirements. As needed integrate all the technologies together (e.g. Forms and Apex can be integrated/share information).
You cannot build a house with a single tool. It often takes many tools to achieve all the requirements appropriately.

how to call oracle report from menu oracle 10g developer?

Now I am using Oracle 10g developer But now I am facing some problem. I use this code for report running
run_Product(REPORTS,'D:\Reports\n_sal_sheet_worker.rep', SYNCHRONOUS, RUNTIME,FILESYSTEM,'', NULL);
but report not run. So pls help me. I don't know how to call oracle report from menu oracle 10g developer.
Using the run_product built in is not supported in Oracle Forms 10G onwards.
The following is taken from the Oracle White Paper "Integrating Oracle Reports in Oracle Forms Services applications" which currently can be found here.
Using RUN_PRODUCT to generate Reports output is not supported in
Oracle Forms 10G. Form module containing integrated calls to
Reports using RUN_PRODUCT Built-in won’t compile.
You should change your code to use the run_report_object built in.
This same document quoted above has an excellent example of how to use run_report_object

Data Migration from oracle to db2 in Talend Open Studio

I have to migrate all the database tables from oracle to db2 in Talend Open Studio tool.
Can anyone please tell me each and every basic steps from starting to end, to migrate the database tables from oracle to db2 in Talend Open Studio.
Every single migration is different, there could be many procedures, however you should adapt them to your environement. Remember that DB2 has many Oracle compatibilities, and IBM continue to increase it. However, you should care about what DB2 version you are using, and what Oracle compatibilities it has. Probably you would like to use the latest version 10.5.
Probably you should use IBM Data Movement Too for the whole process.
You can get a lot of clues to design your migration strategie from the following articles:
DB2 10: Run Oracle applications on DB2 10 for Linux, UNIX, and Windows - http://www.ibm.com/developerworks/data/library/techarticle/dm-0907oracleappsondb2/ This article is written by Serge Rielau, an IBM DB2 expert. There is an overview of the IBM Data Movement Tool.
DB2 Meet - https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/DB2%20for%20LUW%20Application%20Enablement/page/Meet%20DB2 This is a tool that shows you how much do you have to modify your stored procedures in order to be compatible with DB2.
IBM Data movement tools - http://www.ibm.com/developerworks/data/library/techarticle/dm-0906datamovement/

Need to learn Oracle Forms 6.0, can't setup environment

I have Oracle Forms Interactive Workbook, and it looks like a good tutorial, but I can't setup environment to do exercises (book uses Oracle Developer 6.0 & Oracle8).
I installed Oracle Forms 6i and Oracle Express database 10g, but Forms 6i crashes, when I try to connect from it to 10g.
can I get Oracle 8 somewhere?
anybody knows how to reconcile Forms 6i with 10g?
UPDATE: modern alternatives, like ApEx aren't a solution, because 6th version is used among other developers.
UPDATE2: sorry for previous title of the question, it was misleading
Forms 6i works perfectly fine with 10g. I would recommend against hunting down 8i and using that. The database is not your problem.
That said, it's hard to know how to help without more specific information. Are you trying to use the forms server? Does Forms builder crash, or is it Forms Runtime? Any messages? What components did you install - did you do a custom install or a typical?
You can use oracle forms 6i / 6 with any oracle database. I have used it with oracle 8,9i, 10g. Install any avalialbe database and start working. Good Luck.
The modern equivalent is Oracle Application Express (aka APEX, formerly HTML DB). It normally comes bundled with Oracle Database 11g. It is a thin web-based client rather than a client application a la Forms.
More information: http://www.oracle.com/technetwork/developer-tools/apex/overview/index.html

New to Oracle BI

I used some reporting platforms ( SAP Business Objects and some other third party applications). I have pl-sql experience but I am new to Oracle BI.
At this point, I have some questions which confuses my mind.
First one is there are lots of terminology in Oracle BI but I do not know which products should I know, or in which order I can learn and experience these platforms.
For example you can create dashboards, analysis by Oracle BI. Terms/products like Essbase, Hyperion, Warehouse Builder, ODI etc.
My second question is :
I want to install Oracle 11g and Oracle BI 11 in the same pc. But I hearded and read on some forums that they are not working on the same computer. But I want to setup BI tool to my personal computer for practicing in my home. How can I install these two products in my pc? ( My pc is 64 bit)
Thanks&Regards
Just dot it ;-)
http://gerardnico.com/wiki/dat/obiee/installation_11.1
You can have a database and obiee on the same machine.
Cheers
Nico
You need to install Oracle DB 11g followed by the latest OBIEE 11g installation. (note that you need to install RCU before you proceed with the OBIEE 11g install). You can get both of them from otn.oracle.com. The Install documentation can guide you in the entire setup; and hopefully there should be no surprises.
After that, install the Sample App and follow the instructions to create new analysis, dashboards etc. After this, am sure you will be upto speed with the terminologies and the workflows.
Check this post on wiki - should give you basic understanding on OBIEE stack
http://en.wikipedia.org/wiki/Oracle_Business_Intelligence_Suite_Enterprise_Edition
you mentioned Warehouse Builder - Oracle steering away from it, so ODI will be a choice of ETL tool.
You have a long journey ahead of you for OBIEE so, sit back, relax and enjoy the ride. You want to start with the BI Foundation which includes BI Server and Answers, before moving on to products like Essbase, Hyperion, Warehouse Builder, ODI etc.
I would start by
Doing a simple install of OBIEE. I prefer Linux but you can use Windows as well. 8GB would be nice. Each of the following has a graphical install wizard which guides you through the choices.
a. Install the DB
b. Run the RCU
c. Install OBIEE
d. Install BI Admin tool for creating or modifying the repository
Do some tutorials provided by Oracle. I would start with the following and in this order.
a. Creating a Repository Using the Oracle BI 11g Administration Tool - MANDATORY if you are a serious OBIEE professional
b. Creating Analyses and Building Dashboards - For Adhoc Analysis - Important
c. Getting Started with Oracle BI Publisher - OPTIONAL - If you care for published or printed reports or for some quick and dirty reporting, without having to create a model in the repository.
You want to avoid these common mistakes if you are installing on Windows.
You can install Oracle 11g ad Oracle BI in the same machine without any issue.
As far as the second question is concerned, you can create your reports with the knowledge of only Oracle BI , pl/sql and 11g. Pl/Sql is required to writhe pre and post procesors for the report. ESS will only be required to schedule the report and as such you won't require it in the learning phase. You can learn it later

Resources