-v
--verbose

Specifies that Hercules is to be started with “MSGLEVEL VERBOSE”
which displays additional messages during configuration file pro-
cessing.

-h
--help

Display help information regarding the syntax of the command-line
arguments.

>logfile

This is an optional log file which will receive a copy of all messages
displayed on the control panel.

11.1.3 Examples

Example 1:

Start Hercules using the configuration file “D:\MVS\CONF\MVS38J.CONF” and write all messages to the
log file “D:\MVS\LOGS\HERCULES.LOG”.

HERCULES -f D:\MVS\CONF\MVS38J.CONF >D:\MVS\LOGS\HERCULES.LOG

Example 2:

Start Hercules using the configuration file “D:\S390\CONF\zLINUX.CNF” and with a logofile called
“zLINUX_Logo.txt”. Display additional messages during configuration file processing.

HERCULES -f D:\S390\CONF\zLINUX.CNF -b zLINUX_Logo.txt -v

Example 3:

Start Hercules using the configuration file “D:\S390\CONF\zLINUX.CNF” and define a symbol named
"DASDPATH" that contains the path of the DASD files ("D:\MVS\DASD").

HERCULES -f D:\MVS\CONF\MVS38J.CONF -s DASDPATH=D:\MVS\DASD

Example 4:

Start Hercules using the configuration file “D:\MVS\CONF\MVS38J.CONF” and automatically execute the
panel commands contained in the run-commands file “D:\MVS\CONF\MVS38.RC”

HERCULES -f D:\MVS\CONF\MVS38J.CONF -r D:\MVS\CONF\MVS38J.RC


11.2 Starting Hercules with the Windows GUI

The Windows GUI can be started by just clicking on the GUI icon. Then all necessary settings required to
start Hercules can be specified using the GUI itself.

Alternatively the Windows GUI may also be manually started from a Windows Command Prompt or can
be started by calling a batch file (which is the preferred way of these two options). In both cases the syn-
tax is the same.

11.2.1 Syntax

Descriptive

-f configfile]

Diagram

Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




-f configfile

11.2.2 Parameter

-f configfile

This is the name of a configuration file. If the HercGUI is started with the name of a
configuration file then the HercGUI will automatically “power on” Hercules once the
HercGUI itself is started. This is called the “Auto-Power-On” feature. When using
this feature in conjunction with a Hercules “.RC” (run commands) file it is possible
to totally automate Hercules startup and IPL.

11.2.3 Examples

Example 1:

Start Hercules using the HercGUI with the “Auto-Power-On” feature using the configuration file
D:\MVS\CONF\MVS38J.CONF”.

HERCGUI -f D:\MVS\CONF\MVS38J.CONF

Example 2:

Start the HercGUI without a configuration file.

HERCGUI

Previous Page Next Page