ILE COBOL Language Reference

I-O-CONTROL Paragraph - Format 2 - Relative and Indexed Files

I-O-CONTROL Paragraph - Format 2 - Relative/Indexed
 
>>-I-O-CONTROL.------------------------------------------------->
 
>--+-------------------------------------------------------------------+-><
   | .------------------------------------------------------------.    |
   | V         (1)                                                |    |
   '---+-RERUN-------+---------------------------+--| records |-+-+--.-'
       |             '-ON--+-assignment-name-1-+-'              |
       |                   '-file-name-1-------'                |
       +-SAME--+--------+--+------+--+-----+--| files |---------+
       |       '-RECORD-'  '-AREA-'  '-FOR-'                    |
       |                                    .-------------.     |
       |                     (2)            V             |     |
       '-COMMITMENT--CONTROL-------+-----+----file-name-6-+-----'
                                   '-FOR-'
 
records:
 
|--+-------+--+-integer-1--RECORDS--+----+--file-name-2-+-------|
   '-EVERY-'  |                     '-OF-'              |
              +-integer-2--CLOCK-UNITS------------------+
              '-condition-name-1------------------------'
 
files:
 
                .-------------.
                V             |
|--file-name-3----file-name-4-+---------------------------------|
 
 

Notes:

  1. Syntax-checked only.

  2. IBM Extension


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