P

‘P’ determines that the number given is specified in petabytes (multiplier 2**50).
Specifying the storage in petabytes is possible only for main storage. On 32-bit
machines the unit petabytes is not available.

E

‘E’ determines that the number given is specified in exabytes (multiplier 2**60).
Specifying the storage in exabytes is possible only for main storage. On 32-bit
machines the unit exabytes is not available.

LOCK

Attempt to lock the storage (pages locked by the host operating system).

UNLOCK

Leave the store unlocked (no pages locked by the host operating system, pageable
by host OS). This is the default.

Notes:

The actual upper limit is determined by the host system’s architecture and operating system and the
amount of physical memory and available paging space. The total of MAINSIZE and XPNDSIZE on host
systems with a 32-bit architecture will be limited to 4G; host systems with a 64-bit architecture will be
limited to less than 16E.

Using minimum storage sizes, storage sizes less than or not on a 64K boundary for architecture level
ALS0 (S/370) or not on a 1M boundary for architecture level ALS1 (ESA/390) and higher, it may be pos-
sible to generate error conditions not covered by the “Principles of Operations”.

Use of storage sizes greater than supported by the guest operating system may generate incorrect re-
sults or error conditions within the guest operating system.

8.47.4 Overview Storage Allocation Units

Unit

Multiplier

Name (Symbol)

IEC Name (IEC Symbol)

Restrictions

B

None

Byte (B)

Byte (B)

Main storage only

K

2**10

Kilobyte (kB)

Kibibyte (KiB)

Main storage only

M

2**20

Megabyte (MB)

Mebibyte (MiB)

G

2**30

Gigabyte (GB)

Gibibyte (GiB)

T

2**40

Terabyte (TB)

Tebibyte (TiB)

Not on 32-bit machines

P

2**50

Petabyte (PB)

Pebibyte (PiB)

Not on 32-bit machines

E

2*60

Exabyte (EB)

Exbibyte (EiB)

Not on 32-bit machines

Table 19: Storage Allocation Units

8.47.5 Examples

Example 1:

Display the current size of the main and expanded storage.

HHC00013I Herc command: 'defstore'

HHC17003I MAIN storage is 256 M (mainsize); storage is not locked

HHC17003I EXPANDED storage is 256 M (xpndsize); storage is not locked

Figure 96: MAINSIZE command (display size of main and expanded storage)

Example 2:

Display the current size of the main storage.

HHC00013I Herc command: 'defstore main'

HHC17003I MAIN storage is 256 M (mainsize); storage is not locked

Figure 97: MAINSIZE command (display size of main storage)

Example 3:

Set the size of the main storage to 512 MB. Lock the storage into the memory.

HHC00013I Herc command: 'defstore main 512 lock'

HHC01428I Locking main storage

HHC17003I MAIN storage is 512 M (mainsize); storage is locked

Figure 98: MAINSIZE command (Set size of locked main storage)

Example 4:

Set the size of the main and expanded storage to 512 MB each. Lock the main storage into the memory,
but do not lock the expanded storage.

HHC00013I Herc command: 'defstore main 512M lock xstor 512M unlock'

HHC01428I Locking main storage

HHC17003I MAIN storage is 512 M (mainsize); storage is locked

HHC17003I EXPANDED storage is 512 M (xpndsize); storage is not locked

Figure 99: MAINSIZE command (Set size of main and expanded storage)

Previous Page Next Page