COBOL/400 Language Help


RELEASE Statement

Description
The RELEASE statement transfers records from an input/output area to the initial phase of a sorting operation. You can only use the RELEASE statement within the range of an input procedure associated with a SORT statement.

Within an INPUT PROCEDURE, you must specify at least one RELEASE statement.

When the RELEASE statement is executed, the current contents of record-name-1 are placed in the sort file; that is, made available for the beginning of the sorting operation.

->->---RELEASE record-name-1---*-------------------*----------><-
                             *-FROM identifier-1-*
 


[ Top of Page | Previous Page | Next Page | Table of Contents ]