# ==============================================================================
# Hercules RUN-COMMANDS (RC) File
# ==============================================================================
# ------------------------------------------------------------------------------
# Wait 1 second before issuing Hercules commands (1)
# ------------------------------------------------------------------------------
pause 1
# ------------------------------------------------------------------------------
# Set command level to 'ALL' (2)
# ------------------------------------------------------------------------------
cmdlevel all
# ------------------------------------------------------------------------------
# Display all valid Hercules panel commands (3)
# ------------------------------------------------------------------------------
help
# ------------------------------------------------------------------------------
# Display and reset maxrates values (4)
# ------------------------------------------------------------------------------
maxrates midnight
# ------------------------------------------------------------------------------
# Start tn3270 sessions (5)
# ------------------------------------------------------------------------------
sh startgui "D:\MVS\TERMINALS.BAT"
# ------------------------------------------------------------------------------
# Wait 3 second before IPL’ing MVS (6)
# ------------------------------------------------------------------------------
pause 3
# ------------------------------------------------------------------------------
# IPL MVS 3.8J (7)
# ------------------------------------------------------------------------------
ipl 0148
# ==============================================================================
# (RC EOF)
# ==============================================================================
Figure 350: Run-commands (.rc) file
With the run-commands file shown above the Hercules startup is fully automated. After starting Hercules
there is no manual intervention required until MVS is up and running.