This would be the scenario where you install binaries from the Raspberry Pi (Debian) repositories.
sudo apt-get install hercules
When this finishes, the (mainframing) world is at your feet! Mind you, however, this is an older version of the software.
Refer to this page to get information about S/370 Operating Systems.