PowerHouse Application Modernization
Migrating PowerHouse 4GL Applications
Does your payroll, inventory, invoicing or student-record system still run on Cognos PowerHouse 4GL? Some of these systems have run for 20 or 30 years. But few new developers are learning PowerHouse, and it is hard to connect these applications to the web, APIs and the cloud. A PowerHouse migration to Java or C# is how you get past that.
Our specialists migrate your PowerHouse application to Java or C#. We keep your design and business logic. You choose how we work: add CORE specialists to your team, deliver jointly with us, or ask CORE to lead an agreed project.
Recover application knowledge. Preserve behaviour. Modernize deliberately.
Why Modernize PowerHouse
Why Organizations Migrate PowerHouse 4GL
Some PowerHouse systems are too valuable or too complex to replace from scratch. So we keep their logic and move it to a modern platform.
Few Developers Left
There are very few new developers learning PowerHouse, and fewer companies still support it.
Limited Modern Features
Adding a modern screen, web access or mobile support is hard, and sometimes not possible. PowerHouse was not built for the cloud, APIs or real-time updates.
Difficult to Integrate
Connecting PowerHouse to a CRM, a cloud platform or an analytics tool often means middleware, custom code or workarounds.
Expensive to Maintain
When something breaks or needs a change, finding someone who still knows PowerHouse takes time and costs money.
Migration Scope
What CORE Migrates in a PowerHouse Application
A PowerHouse environment usually has six parts. Each one has a defined path to the new system.
PowerHouse Dictionary (PDL)
Your table and column definitions: datatypes, sizes, relationships and descriptions.
Application Data
Relational databases, C-ISAM, IMAGE and other files, and PowerHouse subfiles.
Quick Screens
Data entry and inquiry screens that use the dictionary at run-time.
QTP Batch Programs
Batch programs that update large sets of data. They use GLOBAL variables, REQUEST steps and ACCESS linkages.
Quiz Reports
Report programs with totals, subtotals, filters and calculated fields, with output to a printer or an ASCII file.
Job Scripts
Unix shell scripts, VAX/VMS DCL, and IBM JCL or CL programs that run business processes, usually off-hours.
The CORE Migration Method
How CORE Migrates Cognos PowerHouse 4GL Applications
With the CORE Migration Method, we recover your application’s design into the CORE Repository. We then use that design to build (forward engineer) the new system.
01Design Preservation
We recover your design into the CORE Repository. Your definitions and business logic carry forward.
02Data Conversion Where Needed
If your data is not relational yet, we create the relational structures and the processes that convert it.
03Forward Engineering to the Target Stack
You get a cloud-based system: a React or Angular web interface, C# or Java APIs, Dapper or MyBatis for data access, and an Oracle or SQL Server database.
04Automated Unit and Functional Tests
Automated unit and functional tests are part of the CORE Migration Method.
Dictionary First
PowerHouse Dictionary (PDL) Migration
The dictionary is where a PowerHouse application keeps its data definitions: table structures, columns, datatypes, element sizes and descriptions.
Quick, Quiz, Qtp, Qshow, Qutil and the other tools read the dictionary at run-time. That is why we start the migration there.
Recovered First
The PDL file is the first object design recovered in the CORE Repository.
Moved into Relational Structures
We move the dictionary into relational structures in the target database. Your important definitions come with it.
Drives Forward Engineering
We parse the PDL and load it into the CORE Repository as metadata. It then drives how we build the database, user interface and logic.
Application Data
Application Data Migration
What happens to your data depends on where it lives today.
- PowerHouse dictionary (PDL)
- C-ISAM, IMAGE and other files
- Regular and portable subfiles
- Relational structures created from the dictionary
- Data conversion processes
- Arrays and redefinitions normalized with your team
- Oracle or SQL Server
- New relational tables
- TEMPORARYDATA schema for subfiles
Existing Relational Database Kept
If your data is already in a relational database such as Oracle or SQL Server, you can keep that database as it is. In that case we only modernize the dictionary files (sequential, direct and relative) into new relational structures.
Non-Relational Data Converted
If your data sits in C-ISAM, IMAGE or another non-relational platform, we build the relational structures from your PowerHouse dictionary. We also build the processes that convert the data. Where a structure has arrays or redefinitions, we normalize it with your team for the new programs.
Subfiles Become Tables
Regular and portable PowerHouse subfiles become new relational tables. We usually create them in a new schema called TEMPORARYDATA.
Quick Screens
Quick Screen Migration
Quick runs your data entry and inquiry screens. These screens use the dictionary to read and update your data. We rebuild every Quick screen in three layers.
01Presentation Layer
Fields, titles and screen components become Angular or React web pages. They talk to the business logic layer.
02Business Logic Layer
Procedural logic (INITIALIZE, ENTRY, FIND and so on) becomes API calls in the business logic layer. The web pages call these APIs to process the data. We build in Java or C#.
03Data Access Layer
All data access lives in one layer. Each table becomes one shared class that every new object uses. We use lightweight object-relational mappers (ORMs): Dapper for C# and MyBatis for Java.
Batch Processing
QTP Batch Process Migration
QTP is the batch processor in a PowerHouse application. It usually runs after business hours and reads and writes large sets of data in one go. QTP programs often hold deep business logic. Today, that work is an extract, transform and load (ETL) process.
01Job Controller
Each QTP program becomes a main job controller in C# or Java (Spring Batch for Java). It handles the GLOBAL variables and calls each batch step.
02Step Classes
Each REQUEST, the logical step of a QTP program, becomes a C# or Java class.
03Subfiles in TEMPORARYDATA
Subfiles used by QTP programs move into the relational database, in a separate schema called TEMPORARYDATA. Data is processed the same way across the application.
04ACCESS Linkages as One SQL SELECT
An ACCESS linkage in a QTP request becomes one SQL SELECT with inner joins and outer joins (for OPTIONAL).
Reporting
Quiz Report Migration
QUIZ is the report writer in a PowerHouse application. It writes to a printer or an ASCII disc file, and it can extract data from database tables into a PowerHouse subfile. QUIZ programs can hold deep business logic.
Report Programs
Each QUIZ program becomes a main C# or Java program.
Report Output
By default, reports are written to disc files that match the output and layout of the original QUIZ program. You can also use Jasper Reports or another report writing tool. Ask us how.
Subfiles and ACCESS Linkages
Subfiles move to the TEMPORARYDATA schema, and ACCESS linkages become a single SQL SELECT with inner and outer joins, as for QTP.
Scheduling and Orchestration
Job Script Migration
Every operating system that PowerHouse supports has job scripts: shell scripts on Unix, DCL (Digital Command Language) on VAX/VMS, and JCL or CL programs on IBM systems. They run business processes, usually off-hours. They coordinate QTP, Quiz and operating system commands.
- Unix shell scripts
- VAX/VMS DCL
- IBM JCL or CL programs
- Migrated QTP batch jobs
- Migrated QUIZ reports
- Data conversion utilities
- Windows or Linux schedulers
- Enterprise job schedulers
- Logging, alerts, retries and calendars
Modern Scheduling
Job scripts move to Windows or Linux schedulers, or to enterprise job schedulers.
Orchestration
The new schedule runs your migrated QTP batch jobs, QUIZ reports and data conversion utilities.
Logging, Alerts and Retries
The new schedulers handle logging, alerts, retries and calendars.
Experience
PowerHouse Applications We Have Migrated
Companies built PowerHouse applications for work that had to be fast, stable and fitted to their own processes. These are the kinds of applications we have seen and modernized.
Insurance, Finance and Accounting Systems
Insurance claims processing, and finance applications such as general ledger, accounts payable, invoicing and reconciliation reports.
Inventory and Supply Chain Management
Custom software that tracks stock levels, purchase orders and deliveries.
Human Resources and Payroll
Applications that manage employee records, salaries, timekeeping and benefits.
Government and Public Services
Systems for case management, student information, tax processing and document tracking.
Utilities and Telecom Billing
Systems that generate billing data, manage customer records and produce detailed monthly reports.
Target Stack
Technologies We Build the New System With
These are the technologies we use in the new system. Each page explains how we use it on legacy migration and application development projects.
React
An alternative cloud-based web interface for the migrated Quick screens.
Related Services
Services That Go With a PowerHouse Migration
Business Rules Extraction
Find the business logic and dependencies hidden in your code.
Quality Assurance
Test the migrated system against the legacy system.
The CORE Migration Method
How we recover your design and build the new system.
Consultants and Teams for Hire
Extend your team with CORE specialists.
Background
What Is Cognos PowerHouse 4GL?
PowerHouse is a fourth-generation programming language, or 4GL. Cognos created it in the early 1980s to make database applications faster and easier to build. Developers say what they want, not how to get it. This declarative style needs less code than traditional programming.
It was built for large companies running on mainframes and minicomputers such as the HP3000 or DEC VAX. It later spread to UNIX, Windows and OpenVMS. It took off in data-heavy fields such as government, universities, banks and manufacturing. PowerHouse is a suite of three main tools:
Quick
Creates the user interfaces for data entry and inquiry, such as screen-based forms for adding a new employee or changing an order.
Quiz
The reporting engine. It pulls data from the database and formats it into reports with totals, subtotals, filters and calculated fields.
QTP (Quick Transaction Processor)
Where business logic lives. QTP scripts define how data is processed behind the scenes, for example validating input, performing calculations or updating multiple tables from one action.
Ready to modernize PowerHouse?
Plan Your PowerHouse Migration
Tell us what runs on PowerHouse today. We will talk through how to migrate your dictionary, data, screens, batch programs, reports and job scripts to Java or C#.
You can add CORE specialists to your team, deliver jointly with us, or ask CORE to lead an agreed project.
