IFDEQL (HLI function)

From m204wiki
Jump to navigation Jump to search

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

Summary

Description
The IFDEQL call (DEQUEUE LIST) dequeues that set of records on the specified list.
Thread type
single cursor IFSTRT thread
IFCALL function number
41

Syntax

IFDEQL(RETCODE,LIST_NAME)

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.
LIST_NAME [I,c,r] The list name is a required input parameter that specifies the name of a list. Specify the list as a character string.

Coding example (COBOL)

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