IFDEQ (HLI function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==IFDEQ call -mc,sc==
The conventions used on this page are described in [[HLI: Function summary#Function call notation conventions|Function call notation conventions]].


==Summary==
==Summary==

Latest revision as of 22:09, 12 July 2016

The conventions used on this page are described in Function call notation conventions.

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.