Modify Independent Index (MODINX)


Op Code (Hex) Operand 1 Operand 2

0452 Independent index Modification option

Operand 1: System pointer.

Operand 2: Character(4) scalar.

Bound program access

Built-in number for MODINX is 39. MODINX ( independent_index : address of system pointer modification_option : address )

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

Modify the selected attributes of the independent index specified by operand 1 to have the values specified in operand 2. The modification options specified in operand 2 have the following format:

Offset
Dec Hex
Field Name
Data Type and Length
0 0
Modification selection
Char(1)
0 0
Reserved (binary 0)
Bit 0
0 0
Immediate update
Bit 1



0 = Do not change immediate update attribute
1 = Change immediate update attribute



0 0
Index coherency tracking
Bit 2



0 = Do not change index coherency tracking attribute
1 = Change index coherency tracking attribute



0 0 Reset index Bit 3
0 = Do not reset the index
1 = Reset the index


0 0 Reserved (binary 0) Bits 4-7
1 1
New attribute value
Char(1)
1 1
Reserved (binary 0)
Bit 0
1 1
Immediate update
Bit 1



0 = No immediate update
1 = Immediate update



1 1
Index coherency tracking
Bit 2



0 = Do not track index coherency
1 = Track index coherency



1 1
Reserved (binary 0)
Bits 3-7
2 2
Reserved (binary 0)
Char(2)
4 4
--- End ---

If the modification selection immediate update is binary 0, then the immediate update attribute is not changed. If the modification selection immediate update bit is binary 1, the immediate update attribute is changed to the new attribute value immediate update value.

If the immediate update attribute of the index was previously set to no immediate update, and it is being modified to immediate update, then the index is ensured before the attribute is modified.

If the modification selection index coherency tracking is binary 0, then the index coherency tracking attribute is not changed. If the modification selection index coherency tracking bit is binary 1, the index coherency tracking attribute is changed to the new attribute value index coherency tracking value.

If the modification selection reset index is binary 0, then the index is not reset. If the modification selection reset index is binary 1, then the index will be reset to its state at create time. In addition, all entries will be removed and any additional allocated space will be freed.

This operation will cause an object domain or hardware storage protection violation  (hex 4401) exception if attempted from user state on an index object with the restrict index operations from user state at all security levels attribute set to binary 1.

Authorization Required

Lock Enforcement

Exceptions

06 Addressing

08 Argument/Parameter

0A Authorization

10 Damage Encountered

1A Lock State

1C Machine-Dependent

20 Machine Support

22 Object Access

24 Pointer Specification

2E Resource Control Limit

32 Scalar Specification

36 Space Management

44 Protection Violation