bdfp1m30Programming Concepts and Reference

DFGLVL-Get Resource Level

Use this macro to query system resource levels. This macro generates specific code for your environment that can be release dependent.

Format




label
is a symbolic name assigned to the macro statement.

LEVEL=MAXECB
returns the maximum number of entry control blocks (ECBs) that can be active for a TPF system or ALCS environment to process deferred ECBs. If the number of active ECBs exceeds this value, the TPF system or ALCS environment will stop processing deferred ECBs. Deferred ECBs are maintained on the TPFor ALCS defer list.

Entry Requirements

None.

Normal Return

Register 15 (R15) contains the maximum number of ECBs that can be active for a TPF system or an ALCS environment to process deferred ECBs.

Error Return

None.

Programming Considerations

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

Examples

The following example will return the maximum number of ECBs that can be active for the TPF system or ALCS environment to process ECBs on the defer list.

DFGLVL LEVEL=MAXECB

Related Macros

None.