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


-p dyndir


--dyndir -l
dynmod







-- dynmod

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



~¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬®

- ¬¬¬¬¬¬«


¬¬¬¬¬§¬¬¬¬¬¬ -s ¬¬¬¬¬¬§¬¬--



-- ¬¬¬

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


-h
¬¬¬¬¬« logfile


--help


11.1.2 Parameter

-f configfile
--config=configfile

This is the name of the configuration file. If the filename is not speci-
fied the default is HERCULES.CNF. The name of the default configu-
ration file may be overridden by the 'HERCULES_CNF' environment
variable.

-r rcfile
--rcfile=rcfile

This specifies the name of the Hercules run-commands file. The run-
commands file automatically executes panelcommands upon startup.

-b logofile
--herclogo=logofile

Specifies the name of a customized logo text file in the current Her-
cules directory (for details on how to customize a logofile see chapter

10 ).

-d
--daemon

Specifies that Hercules is to be run in “daemon” mode, wherein it
runs invisibly with no attached console.

-p dyndir
--modpath=dyndir

This is the directory from which dynamic modules are to be loaded.
The general search order is the following:

1. -p from startup argument. 2. HERCULES_LIB environment variable. 3. MODULESDIR compile time definition 4. The path where Hercules was found and if this is not re-
solved, then "hercules" is used as pathname.

-l dynmod
--ldmod=dynmod

This is the name of an additional dynamic load module to be loaded
at startup. More than one additional module may be specified, al-
though each must be preceded with the “-l” option.

-s sym=val
--defsym=symbol=value

Specifies a symbol definition where sym is the name of the symbol
and val is the value that is assigned to the symbol. This option has
the same effect as a DEFSYM statement in the configuration file.

If there is a DEFSYM statement in the configuration file that has the
same name for the symbol as a symbol defined in the startup com-
mand then the configuration DEFSYM statement takes precedence.

-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


Previous Page Next Page