The inquire_element_length call, Response and reason values for inquire_access – IBM SC33-1683-02 User Manual

Page 397

Advertising
background image

INQUIRE_ACCESS

DFHSMSRX [CALL,]

[CLEAR,]

[IN,

FUNCTION(INQUIRE_ACCESS),

ELEMENT_ADDRESS(name4 | (Rn) | *),

ELEMENT_LENGTH(name4 | (Rn) | *),]

[OUT,

ACCESS(CICS | READ_ONLY | USER),

RESPONSE(name1 | *),

REASON(name1 | *)]

ACCESS(CICS|READ_ONLY|USER)

returns the access-key of the storage element.

CICS

CICS-key

READ_ONLY

Readonly storage

USER User-key.

ELEMENT_ADDRESS(name4 | (Rn) | *)

specifies the address of the storage element.

ELEMENT_LENGTH(name4 | (Rn) | *)

specifies the length of the storage element, in bytes. A length of zero is treated
as a length of one.

RESPONSE and REASON values for INQUIRE_ACCESS:

RESPONSE

REASON

OK

None

EXCEPTION

INVALID_ELEMENT

DISASTER

None

INVALID

None

KERNERROR

None

The INQUIRE_ELEMENT_LENGTH call

INQUIRE_ELEMENT_LENGTH enables you to pass the address of any part of an
element of task-lifetime storage, and to obtain from CICS the start address and the
length of the storage element that contains the passed address.

storage control functions

Chapter 3. The user exit programming interface (XPI)

365

Advertising