Professional Documents
Culture Documents
Step 2. Compile *.pll, *.mmb, *.fmb, *.rdf and Convert plsql to 6i using batch
Step 3. Check any problem creating executable files (fmx, rep) – most of the problems
are with the synonym name that include dblink. Recreate synonym.
Step 5. Open Fizella - Ftp all 6i files pll, *.mmb, *.fmb, *.rdf into Linux virtual box new
appl_directory.
Step 10. Set oracle environment in order to execute any form and report command
$ export ORACLE_HOME=/u01/app/oracle
$ export ORACLE_TERM=VT220
Step 11. Convert *.rdf report files using batch file - convertreport.sh
$ more convertreport.sh
# CONVERT REPORTS
for i in `ls *.rdf`
do
echo Convert Report $i ...
rwconverter.sh userid=username/password@dasar batch=yes
source=$i stype=rdffile dtype=rdffile overwrite=yes
compile_all=yes
done
$ . /convertreport.sh
Step 12. Convert *.pll report files using batch file - compilelibrary.sh
$ more compilelibrary.sh
# COMPILE LIBRARY
for i in `ls *.pll`
do
echo Compile Library $i ...
frmcmp_batch.sh userid=username/password@dasar batch=yes
module=$i module_type=LIBRARY compile_all=yes
window_state=minimize
done
$ . /compilelibrary.sh
Step 13. Convert *.mmb report files using batch file - compilemenu.sh
$ more compilemenu.sh
# COMPILE MENU
for i in `ls *.mmb`
do
echo Compile Menu $i ...
frmcmp_batch.sh userid=username/password@dasar batch=yes
module=$i module_type=MENU compile_all=yes
window_state=minimize
done
$ . /compilemenu.sh
Step 14. Convert *.fmb report files using batch file - compileform.sh
$ more compileform.sh
# COMPILE FORM
for i in `ls *.fmb`
do
echo Compile Form $i ...
frmcmp_batch.sh userid=username/password@dasar batch=yes
module=$i module_type=FORM compile_all=yes
window_state=minimize
done
$ . /compileform.sh
Step 15. Convert *.rdf report files using batch file - compilereport.sh
$ more compilereport.sh
# COMPILE REPORTS
for i in `ls *.rdf`
do
echo Convert Report $i ...
rwconverter.sh userid=latihan/password@dasar batch=yes
source=$i stype=rdffile dtype=repfile overwrite=yes
compile_all=yes
done
$ . /compilereport.sh
Step 16. Check log file. If error – modify using form builder or report builder and
compile again until no more errors. You need to set oracle environment before run the
following command (Step 10).
You can compile library, menu and form in form builder using Ctrl-T
Step 23. Stop and Start Application Server (only if default.env and reports.sh is
modified)
$ opmnctl status check status appl server
$ opmnctl stopall stop appl server
$ opmnctl status check status appl server make sure already down
$ opmnctl startall start appl server
Step 24. Open Notepad with run .exe as Administrator. Open file
C:\windows\system32\drivers\etc\hosts. Add the following command:
192.168.1.213 dbpmid.dbp.gov.my dbpmid
Step 26. Test your appl. If your applications return error then repeat step 16 to step
18.