cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RETURN (↑ Statements)
 ◄Key►                                       ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Verb:         RETURN
 
  Function:     Gets records from the final phase of a sort operation
                or merged records during a merge operation.
 
  Syntax:
 
     ►►──RETURN file-name-1─┬──────┬─┬───────────────────┬──►
                            └RECORD┘ └─INTO identifier-1─┘
 
     ►─┬────────────────────────────────┬─────────►
       └┬──┬─END imperative-statement-1─┘
        └AT┘
 
     ►─┬─────────────────────────────────────┬────►
       └─NOT─┬──┬─END imperative-statement-2─┘
             └AT┘
 
     ►─┬────────────┬──►◄
       └─END-RETURN─┘
                                    -♦-