IFRELA (HLI function)
Summary
- Description
- The IFRELA call (RELEASE ALL RECORDS) releases all record sets held by the current thread.
- Thread type
- multiple cursor IFSTRT
- IFCALL function number
- 104
Syntax
IFRELA(RETCODE)
- Compile-only form
- Not available
- Execute-only form
- Not available
Enclose the parameter inside parentheses, as shown above.
Parameter | Description |
---|---|
RETCODE | [O,i,r] The Model 204 return code is the only required parameter. The code is a binary integer value. |
Usage notes
Use the IFRELA call to explicitly release all found sets of records.
When executing an IFRELA call, Model 204 performs an IFRELR function on each record set and list that is held by the current thread. See the IFRELR call.
The IFRELA call is the equivalent of the RELEASE ALL RECORDS statement in SOUL in the host language multiple cursor environment.
Coding example (COBOL)
WORKING-STORAGE SECTION. 01 CALL-ARGS. 05 RETCODE PIC 9(5) COMP SYNC. . . . PROCEDURE DIVISION. . . . CALL "IFRELA" USING RETCODE.