Chapter Contents

Previous

Next
DEQ

DEQ



Release an Enqueued Resource

Portability: SAS/C extension


SYNOPSIS
DESCRIPTION
RETURN VALUE
EXAMPLE
RELATED FUNCTIONS


SYNOPSIS

#include <ostask.h>

int DEQ(char *qname, char *rname, int rlen, scope, ret);


DESCRIPTION

The SAS/C DEQ macro implements the functionality of the OS/390 Assembler DEQ macro. The qname argument specifies the queue name and must be eight or more characters in length; only the first eight characters are used. The rname argument specifies the resource name. Both qname and rname are passed to the DEQ SVC as is. The library does not pad or translate the strings in any way.

The rlen argument specifies the length of the rname . The scope argument specifies whether the scope of the name is the job step, the current system, or all systems in a complex. scope must be specified as one of the keywords STEP, SYSTEM, or SYSTEMS. The ret argument specifies the same information as the assembler RET keyword and must be either NONE or HAVE.


RETURN VALUE

The SAS/C DEQ macro returns the same value as the return code from the assembler DEQ macro.


EXAMPLE

See the example for ENQ .


RELATED FUNCTIONS

ENQ


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.