Test Temporary Object (TESTTOBJ)


Op Code (Hex) Extender Operand 1 Operand 2 [3]
TESTTOBJB 1CA1 Branch options Object Branch targets


TESTTOBJI 18A1 Indicator options Object Indicator targets
Operand 1: System pointer.

Operand 2 [3]:

Bound program access

Built-in number for TESTTOBJ is 462. TESTTOBJ ( object : address of system pointer ) : signed binary(4) /* return_code */

The return code will be set as follows:

Return code

Meaning

1

Pointer addresses temporary object

0

Pointer does not address temporary object (permanent object)

This built-in function is used to provide support for the branch and indicator forms of the TESTTOBJ operation. The user must specify code to process the return code and perform the desired branching or indicator setting.

Description

The object addressed by the pointer in operand 1 is checked to determine if it is a temporary object.

Note: A temporary object is an object that does not persist across IPL's. It is automatically destroyed at system termination.

Based on results, the resulting condition is used with the extender to transfer control (branch form) or to assign a value to indicator operand (indicator form).

Operand 1

The object to be tested is addressed by this system pointer. Any system object can be tested. An unresolved system pointer will be resolved by this instruction.

Resultant Conditions

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

36 Space Management

44 Protection Violation