Materialize Space Attributes (MATS)
Instruction Syntax
Op Code (Hex) | Operand 1 | Operand 2 |
---|---|---|
0036 | Receiver | Space object |
Operand 2: System pointer.
Bound Program Access |
---|
|
Description:
The current attributes of the space object specified by operand 2 are materialized into the receiver specified by operand 1.
The template identified by operand 1 must be 16-byte aligned in the space. The format of the materialization is as follows:
Offset | |||
---|---|---|---|
Dec | Hex | Field Name | Data Type and Length |
0 | 0 | Materialization size specification | Char(8) |
0 | 0 |
|
|
4 | 4 |
|
|
8 | 8 | Object identification | Char(32) |
8 | 8 |
|
|
9 | 9 |
|
|
10 | A |
|
|
40 | 28 | Object creation options | Char(4) |
40 |
28 |
|
|
40 |
28 |
|
|
40 |
28 |
|
|
40 |
28 |
|
|
40 | 28 |
|
|
40 |
28 |
|
|
40 |
28 |
|
|
40 |
28 |
|
|
40 |
28 |
|
|
40 |
28 |
|
|
40 |
28 |
|
|
44 | 2C | Reserved (binary 0) | Char(2) |
46 | 2E | ASP number | Char(2) |
48 | 30 | Size of space | Bin(4) |
52 | 34 | Initial value of space | Char(1) |
53 | 35 | Performance class | Char(4) |
53 |
35 |
|
|
53 | 35 |
|
|
53 |
35 |
|
|
53 |
35 |
|
|
53 | 35 |
|
|
53 |
35 |
|
|
53 |
35 |
|
|
53 |
35 |
|
|
53 |
35 |
|
|
53 | 35 |
|
|
56 | 38 |
|
|
57 |
39 |
Reserved (binary 0) |
Char(7) |
64 | 40 | Context | System pointer |
80 | 50 | Access group | System pointer |
96 | 60 | Reserved (binary 0) | Char(16) |
112 |
70 |
Maximum size of space |
Bin(4) |
116 |
74 |
--- End --- |
|
The first 4 bytes that are materialized identify the total number of bytes provided for use by the instruction. This value is supplied as input to the instruction and is not modified by the instruction. A value of less than 8 causes a materialization length invalid (hex 3803) exception.
The second 4 bytes that are materialized identify the total number of bytes available to be materialized. The instruction materializes as many bytes as can be contained in the area specified as the receiver. If the byte area identified by the receiver is greater than that required to contain the information requested, then the excess bytes are unchanged. No exceptions (other than the materialization length exception described previously) are signaled in the event that the receiver contains insufficient area for the materialization.
See the Create Space (CRTS) instruction for descriptions of most of these fields.
The maximum size of space field returns the maximum number of bytes which may be contained in the space. For fixed-length spaces, the current size is the maximum size. This value is the actual maximum size, not the size specified for largest size needed for space on CRTS.
This instruction cannot be used to materialize the public authority specified creation option, the initial owner specified creation option, the process temporary space accounting creation option, or the template extension which can be specified on space creation. The Materialize Authority (MATAU) instruction can be used to materialize the current public authority for the space. The Materialize System Object (MATSOBJ) instruction can be used to materialize the current owner of the space.
Authorization Required
- Operational or space authority
- Operand 2
- Execute
- Contexts referenced for address resolution
Lock Enforcement
- Materialize
- Operand 2
- Contexts referenced for address resolution
Exceptions
- 06 Addressing
- 0601 Space Addressing Violation
- 0602 Boundary Alignment
- 0603 Range
- 08 Argument/Parameter
- 0801 Parameter Reference Violation
- 0A Authorization
- 0A01 Unauthorized for Operation
- 10 Damage Encountered
- 1004 System Object Damage State
- 1005 Authority Verification Terminated Due to Damaged Object
- 1044 Partial System Object Damage
- 1A Lock State
- 1A01 Invalid Lock State
- 1C Machine-Dependent
- 1C03 Machine Storage Limit Exceeded
- 20 Machine Support
- 2002 Machine Check
- 2003 Function Check
- 22 Object Access
- 2201 Object Not Found
- 2202 Object Destroyed
- 2203 Object Suspended
- 2207 Authority Verification Terminated Due to Destroyed Object
- 2208 Object Compressed
- 220B Object Not Available
- 24 Pointer Specification
- 2401 Pointer Does Not Exist
- 2402 Pointer Type Invalid
- 2403 Pointer Addressing Invalid Object Type
- 2E Resource Control Limit
- 2E01 User Profile Storage Limit Exceeded
- 36 Space Management
- 3601 Space Extension/Truncation
- 38 Template Specification
- 3803 Materialization Length Invalid
- 44 Protection Violation
- 4401 Object Domain or Hardware Storage Protection Violation
- 4402 Literal Values Cannot Be Changed