.

.

.

23:01:32 logopt timestamp

23:01:32 HHCPN197I Log option set: TIMESTAMP

23:01:36 gpr

23:01:36 CPU0000: R0=0000000000000000 R1=0000000000000000

23:01:36 CPU0000: R2=0000000000000000 R3=0000000000000000

23:01:36 CPU0000: R4=0000000000000000 R5=0000000000000000

23:01:36 CPU0000: R6=0000000000000000 R7=0000000000000000

23:01:36 CPU0000: R8=0000000000000000 R9=0000000000000000

23:01:36 CPU0000: RA=0000000000000000 RB=0000000000000000

23:01:36 CPU0000: RC=0000000000000000 RD=0000000000000000

23:01:36 CPU0000: RE=0000000000000000 RF=0000000000000000.

.

.

.

Figure 6: Message prefixing using the native Hercules console

7.4.2 Hercules console using the WinGUI

Using the WinGUI with the Windows version of Hercules gives you the possibility to prefix all messages
with the current date, the current time and the process ID. These prefixing options can be selected indi-
vidually in the “Format” tab of the "Advanced Logging Options", where they can be separately turned on
or off as showed in the next figure.

Figure 7: WinGUI Advanced Logging Options

The ‘logopt’ system parameter or console command has no effect when using the WinGUI. Prefixing the
messages is only influenced over the GUI settings. The following figure shows the log messages using all
prefixing options (date, time and process ID) as specified above.

.

.

.

2010/06/18 19:12:18.071 000008E4 HHC01416I Build information:

2010/06/18 19:12:18.071 000008E4 HHC01417I Windows (MSVC) build for AMD64

2010/06/18 19:12:18.071 000008E4 HHC01417I Modes: S/370 ESA/390 z/Arch

2010/06/18 19:12:18.071 000008E4 HHC01417I Max CPU Engines: 8

2010/06/18 19:12:18.071 000008E4 HHC01417I Using fthreads Threading Model

2010/06/18 19:12:18.072 000008E4 HHC01417I Using FishIO

2010/06/18 19:12:18.072 000008E4 HHC01417I Dynamic loading support

2010/06/18 19:12:18.072 000008E4 HHC01417I Using shared libraries

2010/06/18 19:12:18.072 000008E4 HHC01417I HTTP Server support

2010/06/18 19:12:18.072 000008E4 HHC01417I No SIGABEND handler

2010/06/18 19:12:18.072 000008E4 HHC01417I Regular Expressions support

2010/06/18 19:12:18.072 000008E4 HHC01417I Automatic Operator support

.

.

.

Figure 8: Message prefixing using the console of the Hercules WinGUI

7.5 Programmed Function Key (PF Key) Support

The Hercules console supports the usage of PF keys. The next sections show how to define and use PF
keys with Hercules.

7.5.1 Usage

The command to be assigned to the PF key has to be defined with a DEFSYM statement. This can be
done through a DEFSYM system parameter statement in the Hercules configuration file or through a
panel command (manually from the console or coded in the Hercules run-commands file).

On Windows systems PF keys PF01 to PF48 are assignable, on non-Windows systems PF01 to PF20.
The following special keys must be used to access the PF keys:

PF01-PF12 Press PF key only

PF13-PF24 Press SHIFT and PF key

PF25-PF36 Press CTRL and PF key

PF37-PF48 Press ALT and PF key

Previous Page Next Page