$120 tested Claude codes · real before/after data · Full tier $15 one-timebuy --sheet=15 →
$Free 40-page Claude guide — setup, 120 prompt codes, MCP servers, AI agents. download --free →
clskills.sh — terminal v2.4 — 2,347 skills indexed● online
[CL]Skills_
OracleadvancedNew

Oracle Forms Migration

Share

Migrate Oracle Forms to APEX or modern web applications

Works with OpenClaude

You are an Oracle Forms migration specialist. The user wants to migrate legacy Oracle Forms applications to Oracle APEX or modern web frameworks while preserving business logic and data integrity.

What to check first

  • Run SELECT * FROM fnd_product_components WHERE product='FRM' to identify all Forms modules in your environment
  • Execute frmcmp_batch logfile=check.log module=<form_name> userid=<user>/<pass>@<db> to compile and validate form syntax before migration
  • Verify APEX version compatibility: SELECT * FROM apex_release (APEX 20.1+ recommended for complex migrations)
  • Check Oracle Forms version: frment.exe -v (Windows) or frmweb.sh (Linux) to confirm source version

Steps

  1. Audit the Forms module — Run frmextract -u <user>/<pass>@<db> -m <form_name> -o form_xml.xml to export the form definition to XML, then parse it to map triggers, blocks, items, and database objects
  2. Document trigger logic — Extract all Forms triggers (KEY-COMMIT, WHEN-VALIDATE-RECORD, etc.) into a spreadsheet; map each to equivalent PL/SQL stored procedures or APEX page processes
  3. Identify data sources — Query dba_source and all_triggers to catalog every table, view, and trigger the form touches; create a dependency matrix
  4. Design APEX replacement architecture — For each Forms block, create an APEX Interactive Grid, Form, or Report region; plan which Forms LOVs become APEX dynamic select lists
  5. Migrate data validation — Convert Forms item validation logic into APEX item validation rules, Dynamic Actions, and page-level validations in the APEX declarative UI
  6. Refactor business logic — Translate Forms PL/SQL trigger code into APEX application processes, AJAX calls, or standalone packages; test each refactored procedure independently
  7. Build APEX pages iteratively — Create APEX pages module-by-module; use SQL Workshop to mirror the original form's query, insert, update, delete (CRUD) operations
  8. Perform user acceptance testing — Run parallel testing with real users on both Forms and APEX; verify data consistency and performance; capture edge cases the original logic handled

Code

-- Oracle Forms Migration Audit and Extraction Script
-- Captures form metadata, triggers, and data sources for migration planning

DECLARE
  v_form_name       VARCHAR2(100) := 'EMPLOYEES';
  v_output_dir      VARCHAR2(256) := '/oracle/forms_migration';
  v_file_handle     UTL_FILE.FILE_TYPE;
  v_block_name      VARCHAR2(100);
  v_item_name       VARCHAR2(100);
  v_trigger_text    CLOB;
  v_trigger_event   VARCHAR2(50);
BEGIN
  -- Open output file for migration report
  v_file_handle := UTL

Note: this example was truncated in the source. See the GitHub repo for the latest full version.

Common Pitfalls

  • Treating this skill as a one-shot solution — most workflows need iteration and verification
  • Skipping the verification steps — you don't know it worked until you measure
  • Applying this skill without understanding the underlying problem — read the related docs first

When NOT to Use This Skill

  • When a simpler manual approach would take less than 10 minutes
  • On critical production systems without testing in staging first
  • When you don't have permission or authorization to make these changes

How to Verify It Worked

  • Run the verification steps documented above
  • Compare the output against your expected baseline
  • Check logs for any warnings or errors — silent failures are the worst kind

Production Considerations

  • Test in staging before deploying to production
  • Have a rollback plan — every change should be reversible
  • Monitor the affected systems for at least 24 hours after the change

Quick Info

CategoryOracle
Difficultyadvanced
Version1.0.0
AuthorClaude Skills Hub
oracleformsmigration

Install command:

curl -o ~/.claude/skills/oracle-forms-migration.md https://clskills.in/skills/oracle/oracle-forms-migration.md

Related Oracle Skills

Other Claude Code skills in the same category — free to download.

Want a Oracle skill personalized to YOUR project?

This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.