MVS and Macintosh
Are you gonna bark all day, little doggy, or are you gonna bite? |
Mr. Pink: Why can't we pick our own colors? How 'bout if I'm Mr. Purple? That sounds
good to me. I'll be Mr. Purple.
Joe: You're not Mr. Purple. Some guy on some other job is Mr. Purple. Your Mr. PINK.
Mr. White: Who cares what your name is?
Mr. Pink: Yeah, that's easy for you to say, you're Mr. White. You have a cool-sounding name.
-- From the movie Reservoir Dogs
Back to the Mac
I got tired of all of the Windows adware, spyware, viruses and worms so I converted back to the
Macintosh a number of years ago. Here are some notes for fellow mainframers I took along the way
along with some tips to help you.
Note: I use the term MVS generically to mean MVS, OS/390 and z/OS. Some of
the information on this page can be used for VM and VSE but I have no
access to those systems to verify. Use at your own risk regardless.
TN3270 is the terminal application that talks to IBM mainframes.
- x3270 is a
"straight forward" Unix install. You do Unix installs when you want to go mano a mano
with the machine. Here is my x3270 install page.
- Brown tn3270 is a
standard Macintosh OS x installation. It works as expected out of the box.
Tip: Jay Maynard, of Hercules mainframe emulator fame,
offered this suggestion for Brown tn3270: Turn off "treat blanks as nulls" in the
connection settings to get it to work
properly with MVS 3.8's NETSOL.".
You'll have to Google that. I have never used a
commerical Mac TN3270 application.
Using Microsoft Windows on the Intel Mac for 3270 emulation:
Now that the Macintosh uses the same CPU as does Windows, running Windows on the Mac Desktop is
very easy and runs at almost 100% native speed. A couple of products that allow you to do this is:
- Parallels Desktop - This is the one I use because it
was the first one available and it always seems to be the best performer when compared to the others.
To the right is a picture of IBM's PCOMM 3270 product running in Windows/XP on the Mac Desktop using
- VMware Fusion -
Another product that is similar that you might consider.
(click picture for larger desktop picture)
reasons excuses to run Windows on the Mac Desktop:
- Enter Key - Since I've been unlucky to get the right control key to be the Enter key in
these Mac 3270 applications and too lazy to try go get them to work, I'm currently running
Windows 3270 applications on my Mac Desktop.
- Support - Your IT department may not support Macs.
The first time I used tn3270 on my Mac, I ran up against the Mac OS X
Exposé use of function keys
which conflict with mainframe applications like TN3270 also using the same keys.
Another tip from Jay Maynard is to change the Exposé key settings using System Preferences (off the Apple
in the upper right hand part of the screen). Change the Exposé keys to require a modifier key
like the command key and tn3270 will work as expected and Exposé will be available also.
I change the Exposé preferences after each Mac operating system upgrade to not use the ones
that I use in TN3270.
See the screen on the right:
Mac OS X includes a line mode FTP command. To use it you need to open the Terminal
application. The syntax is:
--prompt for MVS userid--
--prompt for MVS password--
FTP commands here like cd get put quit
If you find that your FTP session hangs when you do use the "dir" or "ls" commands like:
Enter these two commands right after your password at the "ftp>" prompt:
Hopefully you will find that the directory commands work as expected now. These commands are
needed because the mainframe FTP server doesn't currently recognize EPRT and PASV commands so
we tell the Mac FTP client to use the old PORT command.
200 EPRT request OK
I see that Leopard (Mac X 10.5) says "Entering Extended Passive Mode" on a PUT so
maybe it has more smarts now. I haven't had to manually use those commands in a while.
The freeware FTP program I use that is MVS-aware the great
FileZilla. See the screen on the right:
Filezilla is also available on other platforms like Linux and Windows.
Commerical FTP programs:
There may be others but I have heard that the commercial Macintosh application called
Fetch which is MVS-aware.'
If you are a programmer, you may be using Rexx on MVS and of course
want it on your Macintosh. Rexx runs on
just about every platform and that now includes the Macintosh in Mac OS X.
To install, go to the Regina Rexx
web site -> Regina -> Downloads and download the ppc version of "Regina". Currently this is a StuffIt file
that contains a dmg file. Once the Regina folder is mounted on your desktop you can
install it like any standard Macintosh OS X application. Sweet!
In the past I have installed Patrick McPhee's RegUtil
on the Macintosh and used it successfully with Regina Rexx. RegUtil enables a lot of operating system
functions you have have used on OS/2 like getting directory listings.
Check out Hercules which is an open source
software implementation of a mainframe capable of running many mainframe operating systems.
Read my Tritus Mac Installation page.
Read my IBM Manuals page.
The Mac comes with a
Terminal program (like the MS/DOS shell on Windows).
I change the appearance of this screen to be more mainframe-ish using the Terminal
application Preferences. The Homebrew option has a nice black background.
See the screen on the right for the Preferences dialog example:
Also in Preferences, you can also select the Window button and change the number
of rows and columns. I run with a 44 rows and 132 columns (although shown below
smaller for this web page).
The ".profile" file that is in your home directory can be changed to customize the
Terminal Shell and mine has this customization:
Here is my ".profile":
- Change the command prompt to have the current directory and a nice ISPF-like arrow.
- Change the output colors so different entries in the directory (ls command) stand out.
- Add a command called dir.
# (do not remove this comment)
echo $PATH | grep -q -s "/usr/local/bin"
if [ $? -eq 1 ] ; then
export LSCOLORS=gxgxcxdxbxegedabagacad # cyan directories
export PS1="\n\[\t - \d] \w \n===> "
alias dir="ls -al"
See the screen on the right:
Tip: You can easily get into a directory in the Terminal application using the GUI drag and drop.
First type "CD " at the Terminal prompt, then drag the directory from the Finder and drop it on the
This page focuses on the Mac but here's some info on another Apple product, the hot iPad. If using
your personal iPad, I hope you don't spend a lot of time using it for work but here are a
app reads IBM and vendor PDFs fine. To load them on your iPad, first get into iTunes on your
Mac or Windows machine, and use the "Add to library..." option to import them into iTunes.
Then connect your iPad to your PC and the normal iPad sync will load them. iBooks will
put the PDFs in a different category than your other books so they aren't all mixed together.
Currently on 2011-04-09, I only know of Mochasoft's TN3720. Here is the
that you can use to check it out. The Lite version is intentionally missing some keys and you get
more of them when you upgrade to the full product.
There are VPN apps available. You may need one specific for your company's VPN like
A mainframer should have a calculator with Hexadecimal support. Here is a free
Straying even farther from MVS and the Mac: the iPad has good Microsoft Exchange support.
Then your work emails have the cool signature of "Sent from my iPad".
The advice on this page is presented asis and without
warranty. Please research any advice given here and ensure that it
will work in your environment. As stated at the beginning of this
page, these are my experiences that I'm sharing to help you. I
will probably not have time to respond to problem emails. Please
feel free to let me know about corrections.
Copyrights, Trademarks and other lawyer stuff:
- MVS, OS/390, and z/OS (and possibly other words on this page) are owned
- iPad, iBooks, Macintosh (and probably other words on this page) are trademarked
- Other terms are owned by their respective copyright/trademark owners.
Return to the Planet MVS home page
Last Updated: 2013-09-01
This web page is © 2013+ by
All Rights Reserved.