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...

19 Steps 1 min read Advanced

Step-by-Step Guide

  1. Step 1: Download and install the Hercules emulator: www.hercules-390.eu.

    If you are running Linux, your distributor may provide packages
  2. 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')
  3. Step 3: (Windows) Go to Start -> Run and type in 'cmd'.

  4. Step 4: Type in (Windows) 'cd C:\Mainframe' or (Unix/Linux) 'cd $HOME/Mainframe' and press enter.

  5. Step 5: Choose your mainframe OS.

  6. Step 6: Get a decompressor that can extract .tgz files (Windows only usually)

  7. Step 7: Download the installation files from: www.jaymoseley.com/hercules/download/zips/mvsstarter.tgz

  8. Step 8: www.jaymoseley.com/hercules/download/zips/mvsdist.tgz and www.jaymoseley.com/hercules/download/zips/installmvs.tgz.

  9. Step 9: In your mainframe directory

  10. Step 10: create the folders 'dasd'

  11. Step 11: and 'tape'.

  12. Step 12: (Note) The below have only been tested on Linux.

  13. Step 13: Extract the .tgz files into your mainframe directory

  14. Step 14: From the command line

  15. 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'

  16. Step 16: Open a new terminal (Windows: Start->Run->'cmd') and enter 'telnet 127.0.0.1:3270'

  17. Step 17: In the old terminal

  18. Step 18: type 'ipl 0280'

  19. 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

J

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.

104 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: