Converting to m-Power for Dictionary that only contains Web Applications
Here is the Scenario:
- You have a mrc-Productivity Series data dictionary that only utilizes Web Applications (no green screen applications
- You want to upgrade to m-Power
- You wish to install m-Power on a PC server. Your generated applications exist on an AS4000
Here is what you need to do:
Since you have no need to develop/use green screen applications we can upgrade your current Data Dictionary to the same name. Doing this saves many steps of converting changes made to the HTML level.
- After obtaining PC development server, unzip the m-power.zip file to the c:\. The m-Power installation can be found here .
- Install the JDK that is located in c:\m-power\jdk
- Copy mrclicense.txt you received from mrc support into c:\m-power\proddata\conf. If you do not have this file, please call us at 630.916.0662
- Run the start_tomcat.bat file in c:\m-power
- Run this URL from the server https://localhost:8011/webapp/ mrc/servlet/MRCPS.MRC001
- Click the “Data Dictionary” tab and create a new Data Dictionary “MRCTEMP”
- End Tomcat on all development servers
(Let’s assume your current data dictionary is MRCDICT)
- Create a Save File and Save the MRCDICT library (SAVLIB).
- Run the mrc2mpower command (if you do not have this command, you will need to take an MRCCH)
- Specify that MRCDICT is the existing dictionary, MRCTEMP is the new data dictionary, and *ALL for the third option.
- When this process finishes, verify that MRCTEMP has been populated with data.
- Rename the MRCDICT library to MRCDICT2
- Start Tomcat again on the PC development server (m-Power) & create a new Data Dictionary, named “MRCDICT”
- Run the mrc2mpower command again, this time specify MRCTEMP as the existing data dictionary, MRCDICT as the new data dictionary, and *ALL as the third option.
- When the process completes, end development Tomcat instances.
- Start development Tomcat instance, log in and click the “Apply Update” link under the Data Dictionary tab.
- Copy the MRCDICT folder from \mrcjava\WEB-INF\classes to c:\m-power\mrcjava\WEB-INF\ classes on the PC development server.
- Once this is complete, you will be able to edit application in m-Painter and compile any application. You will also be able to create new applications.
Note: You will need to modify servlet configuration files & mrc Signon files to point to the remote connection, rather than the local connection. This document will explain the process in more detail:
m-Power is up and running on my Windows server, but I created lots of Web 2.0 applications on the AS400. How can I make those applications run on my new m-Power setup? ?
Note: This process (from step 7 to 19) will need to be repeated for each dictionary you wish to convert.
Note: The mrc2mpower conversion process only converts mrc generated content. That is, if you have included RPG programs, or user generated tables, they will need to be restored from the save file created in Step 9.
Note: This process, as a reminder, is only for customers who are not using 5250/character based apps for this dictionary. Running the above steps will remove the Green Screen functionality for the given dictionary.