mrc Documentation
michaels, ross & cole, ltd.
http://www.mrc-productivity.com/

 

 

Converting your mrc-Productivity Series Environment from 5250 to run Web Applications

 

The following instructions will document the process for configuring your current 5250 mrc-Productivity Series to be able to run via the Web. The following steps will not hinder 5250 development in any way.

1. Ensure that these IBM licensed programs are installed:

a. QSHELL Interpreter - 5722SS1 Option 30.
b. Java Development Kit 1.3 or higher - 5722JV1 Option 4 - with the latest cumulative updates.
c. PASE, Portable App Solutions Environment – 5722SS1 Option 33 installed

2. Install an MRCCH dated March 11, 2005 or later. Download from here (log-in required).

3. You will need a Web application server, such as Apache's Tomcat or IBM's WebSphere. While either Application server will work well with mrc-Productivity Series, Tomcat comes pre configured by mrc and is much easier and quicker to configure on your system. Click here to download the current version of Tomcat. For convenience, save the file to your C:\ in a directory titled “temp.”

4. Next we need to move this file to your AS400. The easiest and quickest way to do this is via FTP.

Click Start -> Run. In the open box, type the letters “CMD.”

A black window will open, type the following:

FTP 999.999.999 where 999.999.999 is the IP address to your AS400.

You will now be prompted for your AS400 username and password.

Type “cd /” (Note: There is a “space” between “cd” and “/”)

Type “binary”

Type “lcd c:\temp”

Type “put mrctomcat.zip

Type “quit”

Type “exit”

From your iSeries 5250 session type QSH, to get into the QSHELL environment.

Type “cd /” (Note: There is a “space” between “cd” and “/”)

Type: “jar -xf mrctomcat.zip” – This will extract your mrctomcat.zip file into a folder named mrctomcat.

When you get a $ sign returned your iSeries should be done uncompressing this file and Tomcat will have been installed successfully.

5. Starting and Stopping Tomcat is straightforward.
Start Tomcat: MRCAPPLLIB/MRCTOMCAT FUNC(*START).
Stop Tomcat: MRCAPPLLIB/MRCTOMCAT FUNC(*END)

6. You are ready to run mrc-Productivity Series through the browser. Point your browser at the mrc-Productivity Series Main Menu by running the link below (where 999.999.999.999 is your iSeries IP address).

http://999.999.999.999:9090/webapp/mrc/servlet/MRCPS.MRC001