Inhaltsverzeichnis

READ

Folgende Syntax wird für das READ Statement erkannt:

Sequenziell

>>-READ--file-name-1--+------+--+--------+---------------------->
                      '-NEXT-'  '-RECORD-'   

>--+--------------------+--------------------------------------->
   '-INTO--identifier-1-'   

>--+-------------------------------------+---------------------->
   '-+----+--END--imperative-statement-1-'   
     '-AT-'                                  

>--+------------------------------------------+--+----------+--><
   '-NOT--+----+--END--imperative-statement-2-'  '-END-READ-'   
          '-AT-'                                                                           

>--+----------+------------------------------------------------><
   '-END-READ-'   

Random

>>-READ--file-name-1--+------+--+--------+---------------------->
                      '-NEXT-'  '-RECORD-'   

>--+--------------------+--------------------------------------->
   '-INTO--identifier-1-'   

>--+--------------------------+--------------------------------->
   '-KEY--+----+--data-name-1-'   
          '-IS-'                  

>--+------------------------------------------+----------------->
   '-INVALID--+-----+--imperative-statement-3-'   
              '-KEY-'                             

>--+----------------------------------------------+------------->
   '-NOT INVALID--+-----+--imperative-statement-4-'   
                  '-KEY-'                             

>--+----------+------------------------------------------------><
   '-END-READ-'   
cobmig:cobol:stmt:read · Zuletzt geändert: 09.08.2024 13:24

Copyright © 1992-2024 TeamWiSE Gesellschaft für Softwaretechnik mbH         Adressen |  Kontakt |  AGB |  Datenschutzerklärung |  Impressum