Operand 1: Space pointer data object or system pointer.
Operand 2: System pointer.
Bound program access
Built-in number for ACTPG is 32.
ACTPG (
program_or_static_storage_frame : address of system pointer OR
address of space pointer(16)
program : address of system pointer
)
Warning:
The following information is subject to change from
release to release. Use it with caution and be
prepared to adjust for changes with each new release.
Description:
This instruction creates an activation entry for
the non-bound program specified by operand 2,
if it uses static storage.
If the program specified is of any other type,
an invalid operation for program (hex 2C15) exception
is signaled.
No operation is performed for a program which does not
require static storage.
Operand 1 receives either a space pointer or system pointer as follows:
If an activation entry is created or
an activation entry exists for the program within
the target activation group, then
a space pointer to the static storage frame is returned.
The static storage frame is allocated and initialized according
to specifications within the program.
The static storage frame is 16-byte aligned and begins
with a 64-byte header. The header is not initialized and it is not
used by the machine. The header
is provided for compatibility with prior machine implementations.
If the program does not use static storage
(hence, no activation entry is created)
a copy of the program pointer in operand 2 is returned.
If an attempt is made
to activate an already active program then
the activation mark of the activation entry is changed, and
the static storage frame is reinitialized
When the security level machine attribute value is hex 40
and higher, if the thread state at the time
this instruction is invoked is user state
and an attempt is made to activate a system state program, an invalid operation for program (hex 2C15) exception
will be signalled.
A space pointer machine object may not be specified for operand 1.