How to Run an Emulated Mainframe
Download and install the Hercules emulator: www.hercules-390.eu., Create a directory for your simulated mainframe., (Windows) Go to Start -> Run and type in 'cmd'., Type in (Windows) 'cd C:\Mainframe' or (Unix/Linux) 'cd $HOME/Mainframe' and press...
Step-by-Step Guide
-
Step 1: Download and install the Hercules emulator: www.hercules-390.eu.
If you are running Linux, your distributor may provide packages -
Step 2: Create a directory for your simulated mainframe.
For the purposes of this LifeGuide Hub, it will be located in (Windows)'C:\Mainframe' or (Unix/Linux)'/home/yourusernamehere/Mainframe'
(Unix/Linux) Open a terminal ,, For the purposes of this tutorial, I will choose MVS, but you can also install Linux among others ,, On the same site is an excellent tutorial at www.jaymoseley.com/hercules/installmvs/instmvs2.htm ,,,,,,, You have booted the system! To continue installing, please follow the more complete guide at www.jaymoseley.com/hercules/installmvs/instmvs2.htm from the section 'Initializing the DASD Volumes for MVS' (from where you enter 'ipl 0280') -
Step 3: (Windows) Go to Start -> Run and type in 'cmd'.
-
Step 4: Type in (Windows) 'cd C:\Mainframe' or (Unix/Linux) 'cd $HOME/Mainframe' and press enter.
-
Step 5: Choose your mainframe OS.
-
Step 6: Get a decompressor that can extract .tgz files (Windows only usually)
-
Step 7: Download the installation files from: www.jaymoseley.com/hercules/download/zips/mvsstarter.tgz
-
Step 8: www.jaymoseley.com/hercules/download/zips/mvsdist.tgz and www.jaymoseley.com/hercules/download/zips/installmvs.tgz.
-
Step 9: In your mainframe directory
-
Step 10: create the folders 'dasd'
-
Step 11: and 'tape'.
-
Step 12: (Note) The below have only been tested on Linux.
-
Step 13: Extract the .tgz files into your mainframe directory
-
Step 14: From the command line
-
Step 15: type 'cd dasd' and press enter Enter 'dasdinit -a smp001.3350 3350 smp001' Enter 'dasdinit -a mvsres.3350 3350 mvsres' Enter 'dasdinit -a work02.3350 3350 work02' Enter 'dasdinit -a spool1.3350 3350 spool1' Enter 'dasdinit -a page00.3350 3350 page00' Enter 'hercules -f 'ibcdasdi.cnf'
-
Step 16: Open a new terminal (Windows: Start->Run->'cmd') and enter 'telnet 127.0.0.1:3270'
-
Step 17: In the old terminal
-
Step 18: type 'ipl 0280'
-
Step 19: Congratulations!
Detailed Guide
If you are running Linux, your distributor may provide packages
For the purposes of this LifeGuide Hub, it will be located in (Windows)'C:\Mainframe' or (Unix/Linux)'/home/yourusernamehere/Mainframe'
(Unix/Linux) Open a terminal ,, For the purposes of this tutorial, I will choose MVS, but you can also install Linux among others ,, On the same site is an excellent tutorial at www.jaymoseley.com/hercules/installmvs/instmvs2.htm ,,,,,,, You have booted the system! To continue installing, please follow the more complete guide at www.jaymoseley.com/hercules/installmvs/instmvs2.htm from the section 'Initializing the DASD Volumes for MVS' (from where you enter 'ipl 0280')
About the Author
Jacqueline Reed
With a background in lifestyle and practical guides, Jacqueline Reed brings 8 years of hands-on experience to every article. Jacqueline believes in making complex topics accessible to everyone.
Rate This Guide
How helpful was this guide? Click to rate: