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

Page 396

Advertising
background image

2. ‘INSUFFICIENT_STORAGE’ is returned if the GETMAIN request was specified

with SUSPEND(NO), and there was not enough storage available to satisfy the
request.

3. ‘PURGED’ is returned if the GETMAIN request was specified with SUSPEND

(YES), there was not enough storage to satisfy the request, and the task was
purged.

The FREEMAIN call

FREEMAIN releases an area of storage that is currently allocated to your exit
program.

FREEMAIN

DFHSMMCX [CALL,]

[CLEAR,]

[IN,

FUNCTION(FREEMAIN),

ADDRESS(name4 | (Rn) | *),

[STORAGE_CLASS(CICS|CICS24|SHARED_CICS|SHARED_CICS24|

SHARED_USER|SHARED_USER24|USER|USER24|TERMINAL),]

[TCTTE_ADDRESS(pointer),]]

[OUT,

RESPONSE(name1 | *),

REASON(name1 | *)]

The explanation of the options is the same as that given above for the GETMAIN
function.

RESPONSE and REASON values for FREEMAIN:

RESPONSE

REASON

OK

None

EXCEPTIONNone

None

DISASTER

None

INVALID

None

KERNERROR

None

PURGED

None

Note: For more detail, refer to the explanation of RESPONSE and REASON in

“General form of an XPI call” on page 286.

The INQUIRE_ACCESS call

INQUIRE_ACCESS returns the access-key of an element of storage specified by
start address and length. If the element is not wholly contained within one of the
CICS dynamic storage areas (DSAs), CICS returns an exception response.

storage control functions

364

CICS TS for OS/390: CICS Customization Guide

Advertising