Admin

Create a Logical Field via the Data Dictionary

How to Create a Logical Field via the Data Dictionary   Logical Fields are fields that do not physically exist within your databases' tables, but rather are configured by you as a Developer. m-Power's Data Dictionary structure allows you to define these logical fields just one time, and you are able to access them throughout […]

One Click Data View

One Click Data View   Included with m-Power beginning with the September 7th, 2011 version, the One Click Data View feature allows developers to take a sneak peak at their data with the push of a single button! Prior to this feature, developers who were unfamiliar with certain tables in their environment were forced to […]

Field Conversions

Field Conversion   Introduction The Field Conversion feature is a powerful solution for cases when a database field is stored in one format, but that value needs to be converted to another format for display purposes. Any database field might be stored in a format different from its intended display format. In that case, the […]

Register SQL Views

Register SQL Views   An SQL View can be thought of as a virtual table — one that does not physically contain any data but rather stores useful SQL queries to improve database/user efficiency. While most developers realize how powerful an SQL view can be while running queries, they can now harness the same functionality […]

Improving Database Performance

Improving Database Performance   For the most part, applications generated by m-Power are run and executed in a timely fashion. However, there are the odd times when end-users have to wait too long for an application to return a dataset. In the case of slow database performance, an index can be created to significantly speed […]

Create Your Own m-Power Templates

Create Your Own m-Power Templates   Jump to: Deciding to Make a New m-Power Template Testing your Template Registering Templates to m-Power Understanding m-Power Templates Creating the Template Tips and Suggestions for Success Dealing with Run-Time Files Creating a Template Image Packaging your Template Moving to Production Publishing your Template Other Important Notes Deciding to […]

Probe Analysis Tool

Probe Analysis Tool   m-Power ships with the Probe Analysis tool. This utility helps advanced m-Power developers and system administrators obtain a better understanding of what system resources are being utilized and how users are accessing the system. This document will outline the most useful aspects of this tool, and also explain how you can […]

Sample UDF Code

Sample User-Defined Function (UDF) Code   Every database has its own rules for languages which may be used to write User Defined Functions (UDFs). Here are two examples, one written in SQL and another in RPG, showing how to create functions for DB2/400. Example 1: Writing a UDF with SQL We are going to build […]

Understanding the Servlet Properties File for m-Power Templates

Understanding the Servlet Properties File for m-Power Templates   The Servlet Properties File (also known as the mrc_servlet_config.xml file) is instrumental in controlling how your run-time applications connect to the correct database. This file is a data dictionary specific file, meaning that it is applicable only within the data dictionary you are currently in. This […]

Setting Up m-Power Applications to Handle Development & Production Data

Setting Up m-Power Applications to Handle Development & Production Data   After developing applications, it makes good sense to promote these applications to a production environment. There are many documents that explain how to do that on this site. For example, Set up a production instance. However, this document covers something very different from just […]