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

11.3 Starting Hercules with the Hercules Studio

The Hercules Studio can be started by navigating to the 'Applications -> System Tools -> Hercules Studio'
menu entry and selecting it from there. Then all necessary settings required to start Hercules can be spe-
cified using the Hercules Studio itself.

Alternatively the Hercules Studio may also be manually started from a command shell or can be started
by calling a script file. In both cases the syntax is the same.

11.3.1 Syntax

Descriptive

H [-f configfile] [-r
rcfile]

Diagram

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






-f configfile

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


-r
rcfile

11.3.2 Parameter

-f configfile

This is the name of a configuration file. If the Hercules Studio is started with the
name of a configuration file then it will automatically “power on” Hercules once the
Hercules Studio 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.

-r rcfile

This is the name of an optional RC (run-commands) file. This file contains Hercules
console commands that are issued exactly as if the commands were entered from
the Hercules system console.

11.3.3 Examples

Example 1:

Start Hercules Studio using the configuration file “mvs38j.cnf” and the run-commands file "autoipl.rc".

HerculesStudio -f mvs38j.cnf –r autoipl.rc

Previous Page Next Page