How to Convert Previously Created mrc-Productivity Series Applications to m-Power
We realize that many of our customers who are converting from mrc-Productivity Series to m-Power have already customized and deployed many applications. However, in the process to convert to m-Power, all mrc-Productivity Series Data Dictionaries must be converted to m-Power.
While we will copy all of your tables and application specifics (via the MRC2MPOWER command), we do not copy over any HTML changes made. This document will serve as a reference as a “how-to” manually convert all previously created applications to your new m-Power Data Dictionary. For the purposes of this document, your old Data Dictionary, will be titled DDOLD and your new m-Power Data Dictionary will be titled DDNEW. Additionally, this document assumes you are installing m-Power on a Windows server. If not, please modify the paths accordingly. The document also assumes you have already installed m-Power.
After creating DDNEW via the m-Power interface and running the MRC2MPOWER command we are ready to begin.
- On your mrc-Productivity Series server copy all objects located in c:\m-power\mrcjava\WEB-INF\classes\DDOLD. Place them on the m-Power server in c:\m-power\mrcjava\WEB-INF\classes\DDNEW.
- Within Windows Explorer & your favorite text editor, edit each .HTML file and do a Find & Replace, Finding DDOLD and replacing it with DDNEW.
- mrc Menu (If you are not utilizing mrc Menuing, please move on to Step 4)
- Assuming you have done work with the menuing system, please copy the following tables from DDOLD to DDNEW: MRCSEC1, MRCSEC2, MRCSEC3, MRCSEC4.
- Within m-Power, click the “Application Menu & Security”, then click on the “Manage Menu Options”, and change each option to point from DDOLD to DDNEW.
- External Objects (If you are not using any mrc Java External Objects [Dropdown lists or Security] please skip to Step 5)
- Under the Data Dictionary tab, click Manage External Objects and change the Class Name to point from DDOLD to DDNEW.
- We are now ready to recompile all applications in the DDNEW. Within the m-Power interface, click the “Edit” button for each application, then click the “Build/Compile”. Be sure to specify “No” to overwriting the HTML and the XML. Note: You have already handled the HTML and XML in Step 2 above.
- Be sure to modify the Header (Accessed by clicking the Data Dictionary tab, then clicking the “Edit Data Dictionary Files” link. From here click the Header link.
- Change all instances of DDOLD to DDNEW.
Congratulations – your DDNEW instance should now mirror your DDOLD instance. Be sure to now point your end users to DDNEW.
Note: DDNEW cannot be accessed via the 5250 interface. Similarly, you will not be able to modify application within DDOLD via the Web interface.
We still run a lot of applications from the 5250 interface. Namely, green screen summaries [MRCSUM] & scheduled reports [MRCRPTSND]. What am I supposed to do with these applications?
mrc recommends you continue to utilize these applications in their DDOLD instance. To minimize confusion, we recommend:
- On your Windows server, delete the DDOLD folder from c:\m-power\mrcjava\WEB-INF\classes\DDOLD (always take a backup, just in case).
- Since almost all of your applications in DDOLD are now being used in DDNEW, lets clean up DDOLD
- Delete all Retrievals from DDOLD.
- Delete all Reports from DDOLD that are not being used in conjunction with MRCRPTSND.
- Keep the summaries you want, however delete the ones that are no longer being used.
- Remove maintainers that are no longer being used. If you have active maintainers, you may wish to leave them as they will allow you to alter the existing table if necessary.
- Remove unnecessary applications from DDNEW.
- Since your existing summaries exist in DDOLD, there is no need to have a duplicate in DDNEW. Remove the appropriate summaries from DDNEW.
- Similarly, remove Reports that are only being used for MRCRPTSND from DDNEW.
- Move necessary data files from DDOLD to DDNEW.
- From the 5250 interface, modify each summary in DDOLD to point to DDNEW.
- Copy all physical files from DDOLD to DDNEW.
- From the Data Dictionary tab, click the “Manage Data Dictionary Tables” and change the “Schema” option from DDOLD to DDNEW.
- Recompile all applications that reference these physical tables. Be sure to specify “No” to overwriting the HTML and the XML.
- User Created CL/RPG External Objects
- Move objects from DDOLD to DDNEW (or if you store all programs in one Dictionary, please move them there).
- Make sure that any references within RPG/CL pointing to DDOLD now points to DDNEW.
- Under Data Dictionary, Click the “Manage External Objects” link and modify any references to DDOLD to DDNEW for existing RPG/CL programs.
- Be sure to click the “Create Stored Procedure” for each changed object.
- Be sure to recompile any application that uses these external objects. Be sure to specify “No” to overwriting the HTML and the XML.