IFDEQ (HLI function)

From m204wiki
Revision as of 16:53, 6 July 2016 by ELowell (talk | contribs) (Created page with "==IFDEQ call -mc,sc== ==Summary== <dl> <dt>Description</dt> <dd>The IFDEQ call (DEQUEUE) dequeues a resource previously specified in a call to IFENQ. </dd> <dt>Thread type</d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

IFDEQ call -mc,sc

Summary

Description
The IFDEQ call (DEQUEUE) dequeues a resource previously specified in a call to IFENQ.
Thread type
multiple cursor IFSTRT, single cursor IFSTRT
IFCALL function number
38

Syntax

IFDEQ(RETCODE,RESOURCE)

Compile-only form
Not available
Execute-only form
Not available

Specify the parameters in the syntax order shown above.

Parameter Description
RETCODE [O,i,r]The Model 204 return code is the required first parameter. The code is a binary integer value.
RESOURCE [I,s,r] The resource is a required input parameter that specifies the name of the previously enqueued resource to be dequeued. Specify a short character string, up to 32 characters in length. You can specify any data in the input string except for 32 bytes of binary zeroes.

Coding example (COBOL)

WORKING-STORAGE SECTION. 01 CALL-ARGS. 05 RETCODE PIC 9(5) COMP SYNC. 05 RNAME PIC X(9) VALUE "CUSTFILE;". . . . PROCEDURE DIVISION. . . . CALL "IFDEQ" USING RETCODE, RNAME.