Previous Topic: $DSCALL OPT=DELMEM

Next Topic: $DSCALL OPT=DSNLIST


$DSCALL OPT=DEQ

Releases an ENQ on a data set or member of a PDS.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL    OPT=DEQ
                { DSN= dataset_name | DD=DD_name } 
                [ MEMBER=member_name ]

This call releases an ENQ on a data set or a member of a PDS which was obtained using a $DSCALL OPT=ENQ call. The operands specified on this call should specify the same values as the OPT=ENQ call specified when the ENQ was obtained. After the DEQ request has completed, the data set or PDS member is edited by another user.

Operands:

OPT=DEQ

Specifies that an ENQ is to be released.

DSN=dataset_name

Specifies the data set name.

DD=DD_name

Specifies the ddname under which the data set is allocated to your product region. If the ddname represents a concatenated DD, the name of the first data set in the concatenation is used.

MEMBER=member_name

Specifies the member name where the release of the ENQ is for a specific member of a PDS.

Return Codes:

Note: For more information about &SYSMSG, &$DSRC, and &$DSFDBK, see Return Codes and Feedback Codes.

Example: OPT=DEQ

EXEC $DSCALL OPT=DEQ DD=SYSDD