Use this general macro to inform the control program that the entry control
block (ECB) has finished with a shared resource. The DEQC macro is used
with the ENQC or SANQC macro.
Format
- label
- A symbolic name can be assigned to the macro statement.
- BLOCK=address
- If specified, this is the address of an 8-byte area that contains the name
of the resource on which the ECB was enqueued using the ENQC or SANQC
macro. BLOCK and LEVEL are mutually exclusive.
- LEVEL=Dx
- If specified, this is a file address reference word (D0-DF) that
contains the name of the resource on which the ECB was enqueued using the ENQC
or SANQC macro. BLOCK and LEVEL are mutually exclusive.
- QUAL
- Subsystem qualification for the resource. The default value is
U.
- U
- Subsystem qualification applies. The resource name is subsystem
unique and is qualified by the Data Base Index (DBI) value for the
subsystem.
- S
- Systemwide qualification applies. The resource name is not
subsystem unique; that is, all ECBs in the TPF system that issue a SANQC
or ENQC macro with the same resource name and QUAL=S coded are enqueued on the
same resource. If two SANQC or ENQC macros are issued with the same
resource name but different QUAL values coded, two different resources are
assumed to exist. The SANQC or ENQC macro and its corresponding DEQC
macro must have the same QUAL value coded.
Entry Requirements
- R9 must contain the address of the ECB being processed.
- DEQC using LEVEL
The symbolic name of the shared resource, 8 characters in length, must be
in CE1FAx, where x is the specified level.
- DEQC using BLOCK
The symbolic name of the shared resource, 8 characters in length, must be
in the 8-byte area pointed to by the BLOCK parameter.
Return Conditions
- Control is returned to the next sequential instruction.
- The contents of R14 and R15 are unknown. The contents of
R0-R7 are preserved across this macro call.
- DEQC of a level holding a block will result in a system error and the ECB
will be exited.
- Attempting to DEQC from a resource the ECB is not holding will result in a
system error and the ECB will be exited.
Programming Considerations
- This macro can be executed on any I-stream.
- The resource specified with this macro must be a resource that was
previously defined by an ENQC or SANQC macro.
- See TPF System Macros for more information about
the SANQC macro.
Examples
None.