gtpg2m0gGeneral Macros

ALASC-Get an Auto Storage Block

This general macro assigns a storage block from the specified working storage list to the ECB level by placing its address in the auto-storage block reference word (CE1AUT). Only one auto-storage block can be attached to an ECB on each program nesting level.

Format




Notes:

  1. type1

label
A symbolic name can be assigned to the macro statement.

Either the positional or the keyword parameter may be used.

size
A storage size may be specified symbolically as parameter one. The size specified as the number of bytes, is rounded up to a full double word value (maximum of 4079).

type1
A storage list type may be specified symbolically as parameter one. The ALASC macro will convert this symbol to a size value. Valid list references are:

L0
128 byte block - user size = 120

L1
381 byte block - user size = 376

L2
1055 byte block - user size = 1048

L4
4095 byte block - user size = 4079

TYPE
The argument for this keyword parameter is identical to that required for the type1 positional parameter.

Entry Requirements

Return Conditions

Programming Considerations

Examples

The following example shows the use of ALASC: