The z390 Portable Mainframe Assembler and Emulator is a Java-based toolkit that allows you to write, assemble, link, and execute IBM High-Level Assembler (HLASM) programs on a local PC. System Prerequisites
Because the z390 runtime is entirely written in Java, you must satisfy one main requirement:
Java Runtime Environment (JRE) or Java Development Kit (JDK): You need Java 6.0 or higher. Modern implementations like OpenJDK or standard Oracle Java run successfully. Step 1: Installation On Windows
Remove older versions: Delete any existing z390 installation folders to prevent read-only file conflicts.
Download: Grab the latest packaged zip/executable from the z390 SourceForge Files or the z390 GitHub Repository.
Execute: Run the setup.exe InstallShield file. By default, it installs to C:\Program Files (x86)\Automated Software Tools\z390</code>.
Environment Variables: Add the z390 install directory to your system’s PATH variable to execute commands from any command line. Download: Download the platform-agnostic zip file image. Unzip: Extract the files to your target local directory.
Paths: Ensure your folder paths and file extensions are kept lowercase, as Linux is case-sensitive. Use the provided z390w wrapper script located inside the bash directory. Step 2: Verification
Launch GUI: Double-click the z390 desktop shortcut or run z390 in your terminal to bring up the graphical interface.
Run Verification: In the command line window, type IVP (Installation Verification Program) and press enter.
Check Results: This verifies your OS version, Java configuration, and z390 release validity. Step 3: Assembling and Running Code
The suite uses distinct command macros to streamline your workflow:
mac: Expands macro source files (.MLC) into basic Assembler source code (.BAL). asm: Assembles source code into an object file (.OBJ). link: Links .OBJ files into a runnable module (.390).
asmlg: Assemble, Link, and Go. This batch command runs all three operations consecutively. Running the “Hello World” Demo To test your environment with the included demo program:
Leave a Reply