DEQ

Restriction: This topic applies to Windows environments only.

[label] DEQ (qname-addr

,rname-addr

,[rname-length]

,[STEP|SYSTEM|SYSTEMS])

[,LOC=BELOW|ANY]

[,RET=HAVE|NONE]

[,RNL=YES|NO]

[,RELATED=value]

[,UCB=ucb-address]

Parameters

qname-addr
Address of major resource name. The name may contain up to 8 characters.
rname-addr
Address of minor resource name. The name may contain up to 255 characters. The first byte must contain the length if rname-length is 0.
rname-length
Length of rname, between 0 and 255. 0 indicates that the length is in the first byte of rname. If omitted the assembled rname label length is used.
STEP|SYSTEM |SYSTEMS
Defines the scope of the request:

STEP=This job step only (default)

SYSTEM=This system only

SYSTEMS=Multiple systems

RET=HAVE |NONE
Type of resource request:

HAVE=Request now if not previously requested

NONE=Request unconditionally (default)

RNL=YES|NO
YES requests that global resource serialization perform resource name list (RNL) processing, which can cause the scope value of a resource to change.
RELATED= value
Specifies where related documentary text is located.

List and execute forms are also available.

Comments

Relinquishes control of one or more serially reusable resources.

The first four parameters (qname-addr through STEP|SYSTEM|SYSTEMS) may be repeated to specify multiple requests, up to a limit of 255 characters.

The final five parameters (LOC through UCB) apply to all the requests specified.

Example

DEQ (MAJOR1,MINOR1,,SYSTEM)

This example relinquishes ownership of one resource. The length of the minor resource name defaults to the assembled length.

DEQ (MAJOR2,MINOR2,12,,MAJOR3,MINOR3,,)RET=HAVE,RNL=NO

This example relinquishes ownership of two resources. The length of the second minor resource name defaults to the assembled length. The scope of both requests defaults to this job step only. Both requests are implemented only if the resources are immediately available. The requests are subject to resource name list processing.