8.137 RESUME (Resume Hercules)

8.137.1 Function

This command resumes a Hercules session that had been previously suspended with the SUSPEND
command (see section

8.170 for details). The data necessary to resume the session is read from a
packed (zipped) file called “hercules.srf.gz” located in the current configuration directory.

In order for an instance to be resumed HERCULES must be started with a configuration file describing
the configuration at suspend time. For example, MAINSIZE and XPNDSIZE must match and all devices
present at suspend time must be present at resume time.

Disk devices must be at the same state as they were at suspend time. They can however be a different
file type. For example a disk could be a CCKD disk at suspend time then a CKD disk could be created
using DASDCOPY and HERCULES resumed using the CKD disk instead.

HERCULES must also be configured similarly as at suspend time. For example if 4 emulated CPUs were
active at suspend time then the session cannot be resumed on a HERCULES with a maximum of two
CPUs. Similarly you will not be able to resume a session in z/Architecture mode for a HERCULES that
was built without z/Architecture.

After entering the RESUME command on the Hercules console the suspend file is re-imported and the
CPUs are put in the STARTED state again resuming guest program operations at the same point and in
the same state as the suspend file was created.

There are some caveats when resuming guest operating system processing:

As seen by the guest operating system, the TOD clock will appear to jump a large value. Some
guests may not cope very well with this. For example some guests may be dismayed because
certain interrupts will occur way past its due time. Also for S/370 an interval timer interrupt may
be lost if the guest is interrupted for more than half the Interval Timer wrap time (around 8 hours).
Although some effort has been put in order to make this as transparent as possible (that is, it
should appear to the guest operating system that the STOP key was pressed for a large amount
of time), some state information may be missed.
Some guest operating systems will fare better if the suspend state is prepared first. For MVS, as
an example, it seems to help when a QUIESCE command and a SYSTEM RESTART manual
operation are issued prior to suspend the system.

8.137.2 Syntax

Descriptive

Diagram

¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

8.137.3 Parameter

None.

8.137.4 Examples

Example 1:

Resume a Hercules session.

00:52:48 HHC00013I Herc command: 'resume'

00:52:48 HHC00811I Processor CP00: architecture mode 'S/370'

00:52:48 HHC00101I Thread id 00000D28, prio -15, name 'Processor CP00' ended

00:52:48 HHC00101I Thread id 000014DC, prio 0, name 'Processor CP01' ended

00:52:48 HHC00101I Thread id 00000CE8, prio 0, name 'Processor CP02' ended

00:52:48 HHC00101I Thread id 0000155C, prio 0, name 'Processor CP03' ended

00:52:48 HHC00101I Thread id 00001694, prio -20, name 'Timer' ended

00:52:48 HHC02007I SR: resuming suspended file 'Fri Nov 19 00:51:50 2010' created

Figure 252: RESUME command

Previous Page Next Page