Define Heap Allocation Strategy (CEE4DAS) API


  Required Parameter Group:

1 alloc_strat_id Input INT4
2 alloc_strat_in Input CEE4ALC

  Omissible Parameter Group:

3 alloc_strat_out Output CEE4ALC
4 fc Output FEEDBACK

  Service Program Name: QLEAWI

  Default Public Authority: *USE

  Threadsafe: Yes

The Define Heap Allocation Strategy (CEE4DAS) API defines a system-specific allocation strategy and associates the defined strategy with a specified allocation strategy identifier. When creating a heap using the CEECRHP API, the allocation strategy identifier can be used within the activation group in which it was defined.

Authorities and Locks

None.


Required Parameter Group

alloc_strat_ID (input)
The allocation strategy identifier being defined. The valid values are 40 through 44.

alloc_strat_in (input)
A structure of allocation strategy type CEE4ALC that defines the new allocation strategy to be assigned to the specified allocation strategy identifier. See Allocation Strategy Type (CEE4ALC) for a description.

Omissible Parameter Group

alloc_strat_out (output)
An optional structure of type CEE4ALC that will be set to the value of the previous allocation strategy that was assigned to the specified allocation strategy identifier. If no previous allocation strategy was assigned, the default allocation strategy is returned. See User-Defined Allocation Strategy for more information.

fc (output)
A 12-byte feedback code.

Feedback Codes and Conditions

CEE0000 The API completed successfully
Severity: 00  
CEE0816 The allocation strategy identifier is out of range
Severity: 30  

Usage Notes

The CEE4DAS API does not perform a validity check on the contents of alloc_strat_in. When the defined allocation strategy is used, checking is enforced by the CEECRHP API.


API introduced: V2R3

[ Back to top | ILE CEE APIs | APIs by category ]