Materialize Activation Export (MATACTEX)

Bound program access

Built-in number for MATACTEX2 is 660. MATACTEX2 ( activation_mark : unsigned binary(8) ident_type : unsigned binary(4) number : unsigned binary(4) name : address pointer : address of procedure pointer(16) OR address of space pointer(16) export_type : address of unsigned binary(4) ) OR

Built-in number for MATACTEX is 460. MATACTEX ( activation_mark : unsigned binary(4) ident_type : unsigned binary(4) number : unsigned binary(4) name : address pointer : address of procedure pointer(16) OR address of space pointer(16) export_type : address of unsigned binary(4) )

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.

Note

It is recommended that you use the MATACTEX2 instruction which supports 8-byte activation marks. 4-byte marks can wrap and produce unexpected results.

Description

This instruction returns the address of an export identified by name or export identifier from a specified program activation. The type of the export item, either data or procedure, is also returned. If the item is not found, an indicator is returned via the export type operand; no exception is signaled in this case.

Operands are as follows,

The thread must have execute authority to the program specified by the activation mark in order to obtain the address of an exported item. In addition, a user state program may only materialize data exports from activations within the same activation group. An attempt to materialize a data export from another activation group will result in a value of 3 for export type and binary 0 being returned in the pointer operand. A system state program may materialize data exports from any activation.

Authorization Required

Lock Enforcement

Exceptions

06 Addressing

08 Argument/Parameter

10 Damage Encountered

1C Machine-Dependent

20 Machine Support

22 Object Access

24 Pointer Specification

2C Program Execution

2E Resource Control Limit

32 Scalar Specification

36 Space Management

44 Protection Violation