SORT

Folgende Syntax wird für das SORT Statement erkannt:

>>-SORT--file-name-1-------------------------------------------->

   .--------------------------------------------------.   
   |                                  .-------------. |   
   V                                  V             | |   
>----+----+--+-ASCENDING--+--+-----+----data-name-1-+-+--------->
     '-ON-'  '-DESCENDING-'  '-KEY-'                      

>--+-----------------------------------------+------------------>
   '-+------+--DUPLICATES--+----+--+-------+-'   
     '-WITH-'              '-IN-'  '-ORDER-'     

>--+---------------------------------------------------+-------->
   '-+-----------+--SEQUENCE--+----+-- alphabet-name-1-'   
     '-COLLATING-'            '-IS-'                       

            .-------------.                                                           
            V             |                                                           
>--+-USING----file-name-2-+-------------------------------------------------------+-->
   '-INPUT PROCEDURE--+----+--procedure-name-1--+-------------------------------+-'   
                      '-IS-'                    '-+-THROUGH-+--procedure-name-2-'     
                                                  '-THRU----'                         

             .-------------.                                                           
             V             |                                                           
>--+-GIVING----file-name-3-+-------------------------------------------------------+-><
   '-OUTPUT PROCEDURE--+----+--procedure-name-3--+-------------------------------+-'   
                       '-IS-'                    '-+-THROUGH-+--procedure-name-4-'     
                                                   '-THRU----'                         
cobmig:cobol:stmt:sort · Zuletzt geändert: 09.08.2024 13:24

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