DFGLVL-get resource level
Product-sensitive programming interface
The following documents product-sensitive programming interface information.
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