bdfp1m2zProgramming Concepts and Reference

DFGETC-Get Working Storage Block

Use this macro to get a working storage block that can be used by multiple entry control blocks (ECBs). This macro generates specific code for your environment that can be release dependent.

Format




label
is a symbolic name assigned to the macro statement.

LVL=level
specifies the data level, where level is a free data level from D0-DF.

TYPE=blktype
specifies the block type, where:

L0
specifies a 128-byte block size.

L1
specifies a 381-byte block size.

L2
specifies a 1055-byte block size.

L3
specifies a 4000-byte block size. This block type is available only in an ALCS environment.

L4
specifies a 4095-byte block size.

L5
specifies a user-defined size. This block type is available only in an ALCS environment.

L6
specifies a user-defined size. This block type is available only in an ALCS environment.

L7
specifies a user-defined size. This block type is available only in an ALCS environment.

L8
specifies a user-defined size. This block type is available only in an ALCS environment.

Entry Requirements

None.

Normal Return

Register 14 (R14) contains the address of the assigned storage block.

Error Return

None.

Programming Considerations

On return from this macro, the contents of R15 are unknown.

Examples

The following example will get a 1055-byte working storage block on data level 5 that can be shared by multiple ECBs.

DFGETC LVL=D5,TYPE=L2

Related Macros

None.