home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv4.zip / VACPP / IBMCPP / HELP / EVFEBLSH.HLP (.txt) < prev    next >
OS/2 Help File  |  1995-05-11  |  285KB  |  12,145 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. COBOL/370 Language Help ΓòÉΓòÉΓòÉ
  3.  
  4. COBOL/370 Language Help provides help on the following topics: 
  5.  
  6.  COBOL Source Program (Overall Format) 
  7.  
  8.  Identification Division 
  9.  
  10.  Environment Division 
  11.  
  12.  Data Division 
  13.  
  14.  Procedure Division 
  15.  
  16.  Procedure Division Statements 
  17.  
  18.  Intrinsic Functions 
  19.  
  20.  Compiler-Directing Statements 
  21.  
  22.  Compiler Options 
  23.  
  24. For information on any of these topics, click on the topic, or select the topic 
  25. with your cursor and press Enter. 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 1.1. COBOL Source Program ΓòÉΓòÉΓòÉ
  29.  
  30. Description 
  31.   A COBOL source program is a syntactically correct set of COBOL statements. 
  32.  
  33.   With the exception of the COPY and REPLACE statements and the end program 
  34.   header, the statements, entries, paragraphs, and sections of a COBOL source 
  35.   program are grouped into four divisions: the Identification, Environment, 
  36.   Data, and Procedure Divisions. The end of a COBOL source program is indicated 
  37.   by either the end program header, if specified, or by the absence of 
  38.   additional source program lines. 
  39.  
  40.   Contained Programs: A COBOL source program may contain other COBOL source 
  41.   programs. These contained programs may reference some of the resources of the 
  42.   programs within which they are contained. 
  43.  
  44.   Nested Programs: A program may be directly or indirectly contained in another 
  45.   program. For example, if program B is contained in program A, it is directly 
  46.   contained if there is no program contained in program A that also contains 
  47.   program B. Program B is indirectly contained in program A if there exists a 
  48.   program contained in program A that also contains program B. 
  49.  
  50. Here is the format for a separately compiled COBOL source program: 
  51.  
  52.  
  53. ΓöÇΓöÇΓö¼ΓöÇΓöÇIDENTIFICATION DIVISION. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  54.     ΓööΓöÇΓöÇID DIVISION. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  55.  
  56. ΓöÇΓöÇPROGRAM-ID. program-name-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ.ΓöÇΓöÇΓöÇ
  57.              1                 ΓööΓö¼ΓöÇΓöÇΓö¼ΓöÇINITIALΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ  1
  58.                                 ΓööISΓöÿ        ΓööPROGRAMΓöÿ
  59. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  60.    ΓööΓöÇΓöÇidentification-division-contentΓöÇΓöÇΓöÿ
  61.  
  62. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  63.    ΓööΓöÇΓöÇENVIRONMENT DIVISION. environment-division-contentΓöÇΓöÇΓöÿ
  64.  
  65. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  66.    ΓööΓöÇΓöÇDATA DIVISION. data-division-contentΓöÇΓöÇΓöÿ
  67.  
  68. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  69.    ΓööΓöÇΓöÇPROCEDURE DIVISION. procedure-division-contentΓöÇΓöÇΓöÿ
  70.  
  71. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  72.    ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼END PROGRAM program-name-1.ΓöÇΓöÿ
  73.     Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  74.     Γöé                      Γöé Γöé
  75.     ΓööΓöÇnested-source-programΓöÇΓö┤ΓöÇΓöÿ
  76.  
  77. 1  This separator period is optional as an IBM extension. 
  78.  
  79.  
  80. ΓòÉΓòÉΓòÉ 1.2. Identification Division ΓòÉΓòÉΓòÉ
  81.  
  82. Description 
  83.   The Identification Division must be the first division in every COBOL source 
  84.   program.  It names the program and may include the date the program was 
  85.   written, the date of compilation, and other such documentary information 
  86.   about the program. 
  87.  
  88.   The Identification Division must begin with the words IDENTIFICATION DIVISION 
  89.   or ID DIVISION followed by a separator period. 
  90.  
  91.   The periods following PROGRAM-ID, the program-name, AUTHOR, INSTALLATION, 
  92.   DATE-WRITTEN, and SECURITY are optional. 
  93.  
  94. ΓöÇΓöÇΓö¼ΓöÇΓöÇIDENTIFICATION DIVISION. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  95.     ΓööΓöÇΓöÇID DIVISION. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  96.  
  97. ΓöÇPROGRAM-ID. program-nameΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼.ΓöÇ
  98.                            ΓööΓö¼ΓöÇΓöÇΓö¼Γö¼COMMONΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  99.                             ΓööISΓöÿΓöé       ΓööINITIALΓöÿΓöéΓööPROGRAMΓöÿ
  100.                                 ΓööINITIALΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  101.                                          ΓööCOMMONΓöÿ
  102.  
  103. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  104.      ΓööΓöÇΓöÇAUTHOR. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  105.                     Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  106.                     Γöé              ΓöéΓöé
  107.                     ΓööΓöÇcomment-entryΓöÇΓö┤Γöÿ
  108.  
  109. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  110.      ΓööΓöÇINSTALLATION. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  111.                        Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  112.                        Γöé              ΓöéΓöé
  113.                        ΓööΓöÇcomment-entryΓöÇΓö┤Γöÿ
  114.  
  115.  
  116. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  117.      ΓööΓöÇDATE-WRITTEN. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  118.                        Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  119.                        Γöé              ΓöéΓöé
  120.                        ΓööΓöÇcomment-entryΓöÇΓö┤Γöÿ
  121.  
  122. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  123.     ΓööΓöÇΓöÇDATE-COMPILED. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  124.                         Γöé  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  125.                         Γöé               ΓöéΓöé
  126.                         ΓööΓöÇΓöÇcomment-entryΓöÇΓö┤Γöÿ
  127.  
  128. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  129.     ΓööΓöÇΓöÇSECURITY. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  130.                    Γöé  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  131.                    Γöé               ΓöéΓöé
  132.                    ΓööΓöÇΓöÇcomment-entryΓöÇΓö┤Γöÿ
  133.  
  134.  
  135. ΓòÉΓòÉΓòÉ 1.3. Environment Division ΓòÉΓòÉΓòÉ
  136.  
  137. Description 
  138.   The Environment Division is optional in a COBOL source program.  It has two 
  139.   sections: 
  140.  
  141.     Configuration Section 
  142.  
  143.     Input-Output Section 
  144.  
  145.  ΓöÇENVIRONMENT DIVISION. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  146.                            ΓööΓöÇCONFIGURATION SECTION. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 2
  147.  
  148. 1  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 3
  149. 2  ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 4
  150.      ΓööΓöÇSOURCE-COMPUTER. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  151.                          ΓööΓöÇsource-computer-entryΓöÇΓöÿ
  152.  
  153. 3  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 5
  154. 4  ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 6
  155.      ΓööΓöÇOBJECT-COMPUTER. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  156.                          ΓööΓöÇobject-computer-entryΓöÇΓöÿ
  157.  
  158. 5  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  159. 6  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  160.       ΓööΓöÇSPECIAL-NAMES. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  161.                         ΓööΓöÇspecial-names-entryΓöÇΓöÿ
  162.  
  163.    ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 7
  164.      Γöé
  165.      ΓööΓöÇINPUT-OUTPUT SECTION. FILE-CONTROL.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 8
  166.  
  167. 7  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 9
  168.          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  169.                               Γöé
  170. 8  ΓöÇΓöÇΓöÇΓöÇΓöÇfile-control-paragraphΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ10
  171.  
  172. 9  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  173. 10 ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  174.      ΓööΓöÇI-O-CONTROL.ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  175.                     Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  176.                     Γöé                              Γöé   Γöé
  177.                     ΓööΓöÇinput-output-control-paragraphΓö┤ΓöÇ.ΓöÇΓöÿ
  178.  
  179.  
  180. ΓòÉΓòÉΓòÉ 1.4. Configuration Section ΓòÉΓòÉΓòÉ
  181.  
  182. The Configuration Section is optional.  It contains three paragraphs: 
  183.  
  184.  SOURCE-COMPUTER 
  185.  
  186.  OBJECT-COMPUTER 
  187.  
  188.  SPECIAL-NAMES 
  189.  
  190. When specified, the Configuration Section can describe the computer on which 
  191. the source program is compiled and the computer on which the object program is 
  192. executed. In addition, the Configuration Section can: 
  193.  
  194.  Relate IBM-defined environment-names to user-defined mnemonic names 
  195.  Specify the collating sequence 
  196.  Specify a substitution for the currency sign 
  197.  Exchange the functions of the comma and the period in PICTURE clauses and 
  198.   numeric literals 
  199.  Relate alphabet-names to character sets or collating sequences 
  200.  Specify symbolic-characters 
  201.  Relate class names to sets of characters 
  202.  
  203. Each paragraph must contain one, and only one, separator period immediately 
  204. after the last entry in the paragraph. 
  205.  
  206. Do not specify the Configuration Section in a program that is contained within 
  207. another program. The entries specified in the Configuration Section of a 
  208. program apply to any program contained within that program. 
  209.  
  210.  
  211. 1  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 3
  212. 2  ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ 4
  213.      ΓööΓöÇSOURCE-COMPUTER. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  214.                          ΓööΓöÇsource-computer-entryΓöÇΓöÿ
  215.  
  216. 3  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 5
  217. 4  ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ 6
  218.      ΓööΓöÇOBJECT-COMPUTER. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  219.                          ΓööΓöÇobject-computer-entryΓöÇΓöÿ
  220.  
  221. 5  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  222. 6  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  223.       ΓööΓöÇSPECIAL-NAMES. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  224.                         ΓööΓöÇspecial-names-entryΓöÇΓöÿ
  225.  
  226.  
  227. ΓòÉΓòÉΓòÉ 1.5. SOURCE-COMPUTER Paragraph ΓòÉΓòÉΓòÉ
  228.  
  229. Description 
  230.  
  231.   The SOURCE-COMPUTER paragraph describes the computer on which the source 
  232.   program is to be compiled. 
  233.  
  234.   Except for the WITH DEBUGGING MODE clause, the SOURCE-COMPUTER paragraph is 
  235.   syntax-checked only and has no effect on the execution of the program. 
  236.  
  237.  
  238.     ΓöÇΓöÇΓöÇSOURCE-COMPUTER.ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  239.                            ΓööΓöÇcomputer-nameΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  240.  
  241.     1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  242.     2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ.ΓöÇΓöÇΓöÇΓöÿ
  243.                ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇDEBUGGING MODEΓöÇΓöÇΓöÿ
  244.                 ΓööΓöÇWITHΓöÇΓöÿ
  245.  
  246.  
  247. ΓòÉΓòÉΓòÉ <hidden> WITH DEBUGGING MODE ΓòÉΓòÉΓòÉ
  248.  
  249.  The WITH DEBUGGING MODE clause activates a compile-time switch for debugging 
  250.   lines written in the source program. 
  251.  
  252.  A debugging line is a statement compiled only when the compile-time switch is 
  253.   activated. 
  254.  
  255.  To specify a debugging line in your program, code a 'D' in column 7 (the 
  256.   indicator area). You can include successive debugging lines, but each must 
  257.   have a 'D' in column 7. Do not break character strings across lines. 
  258.  
  259.  You must write all your debugging lines so that the program is syntactically 
  260.   correct, whether the debugging lines are compiled or treated as comments. 
  261.  
  262.  The presence or absence of the WITH DEBUGGING MODE clause is logically 
  263.   determined after all COPY and REPLACE statements have been processed. 
  264.  
  265.  You can code debugging lines in the Environment (after the OBJECT-COMPUTER 
  266.   paragraph), Data, or Procedure Divisions. 
  267.  
  268.  If a debugging line contains only spaces in Area A and Area B, it is treated 
  269.   the same as a blank line. 
  270.  
  271.  
  272. ΓòÉΓòÉΓòÉ 1.6. OBJECT-COMPUTER Paragraph ΓòÉΓòÉΓòÉ
  273.  
  274. Description 
  275.  
  276.   The OBJECT-COMPUTER paragraph specifies the systems for which the object 
  277.   program is designated. 
  278.  
  279.   Except for the PROGRAM COLLATING SEQUENCE clause, the OBJECT-COMPUTER clause 
  280.   is syntax-checked only and has no effect on the execution of the program. 
  281.  
  282.  
  283. ΓöÇΓöÇΓöÇOBJECT-COMPUTER. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  284.                        ΓööΓöÇcomputer-nameΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  285.  
  286.  1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ3
  287.  2ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ4
  288.        ΓööΓöÇMEMORYΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼integerΓöÇΓö¼ΓöÇWORDSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  289.                ΓööSIZEΓöÿ        Γö£ΓöÇCHARACTERSΓöÇΓöñ
  290.                              ΓööΓöÇMODULESΓöÇΓöÇΓöÇΓöÇΓöÿ
  291.  
  292.  3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ5
  293.  4ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ6
  294.      ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSEQUENCEΓö¼ΓöÇΓöÇΓö¼ΓöÇalphabet-nameΓöÇΓöÿ
  295.       ΓööPROGRAMΓöÿΓööCOLLATINGΓöÿ         ΓööISΓöÿ
  296.  
  297. 5ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  298. 6ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ. ΓöÇΓöÇΓöÿ
  299.     ΓööΓöÇΓöÇSEGMENT-LIMITΓö¼ΓöÇΓöÇΓö¼ΓöÇpriority-numberΓöÇΓöÇΓöÇΓöÇΓöÿ
  300.                     ΓööISΓöÿ
  301.  
  302.  
  303. ΓòÉΓòÉΓòÉ <hidden> PROGRAM COLLATING SEQUENCE IS ΓòÉΓòÉΓòÉ
  304.  
  305.  The PROGRAM COLLATING SEQUENCE clause determines the collating sequence to be 
  306.   used in a COBOL program.  The collating sequence associated with the specific 
  307.   alphabet-name pertains to the program in which the clause is specified, and 
  308.   to other programs contained within that program. 
  309.  
  310.  PROGRAM COLLATING SEQUENCE determines the truth value of the following 
  311.   nonnumeric comparisons: 
  312.  
  313.    - Those explicitly specified in relation conditions. 
  314.    - Those explicitly specified in condition-name conditions. 
  315.  
  316.  The PROGRAM COLLATING SEQUENCE clause also applies to any nonnumeric merge or 
  317.   sort keys (unless you specify the COLLATING SEQUENCE phrase in the MERGE or 
  318.   SORT statement). 
  319.  
  320.  The PROGRAM COLLATING SEQUENCE clause is not applied to the DBCS character 
  321.   set. 
  322.  
  323.  If you omit the PROGRAM COLLATING SEQUENCE clause, the EBCDIC collating 
  324.   sequence is used. 
  325.  
  326.  
  327. ΓòÉΓòÉΓòÉ <hidden> SEGMENT-LIMIT IS ΓòÉΓòÉΓòÉ
  328.  
  329.  Certain permanent segments can be overlaid by independent segments while 
  330.   still retaining the logical properties of fixed portion segments. (Fixed 
  331.   portion segments are made up of fixed permanent and fixed overlayable 
  332.   segments.) 
  333.  
  334.  When you specify SEGMENT-LIMIT: 
  335.  
  336.    - A fixed permanent segment is one with a priority-number less than the 
  337.      priority-number specified. 
  338.    - A fixed overlayable segment is one with a priority-number ranging from 
  339.      that specified through 49, inclusive. 
  340.  
  341.  For example, if you specify SEGMENT-LIMIT IS 25: 
  342.  
  343.    - Sections with priority-numbers 0 through 24 are fixed permanent segments. 
  344.    - Sections with priority-numbers 25 through 49 are fixed overlayable 
  345.      segments. 
  346.  
  347.  If you omit the SEGMENT-LIMIT clause, all sections with priority-numbers 0 
  348.   through 49 are fixed permanent segments. 
  349.  
  350.  
  351. ΓòÉΓòÉΓòÉ 1.7. SPECIAL-NAMES Paragraph ΓòÉΓòÉΓòÉ
  352.  
  353. Definition 
  354.   The SPECIAL-NAMES paragraph: 
  355.  
  356.     Relates IBM-specified environment-names to user-defined mnemonic-names. 
  357.  
  358.     Relates alphabetic-names to character sets or collating sequences. 
  359.  
  360.     Specifies symbolic characters. 
  361.  
  362.     Relates class names to sets of characters. 
  363.  
  364.     Specifies a substitute character for the currency sign. 
  365.  
  366.     Specifies that the functions of the comma and decimal point are to be 
  367.      interchanged in PICTURE clauses and numeric literals. 
  368.  
  369.  
  370.                      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  371.                      
  372. ΓöÇΓöÇΓöÇSPECIAL-NAMES. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  373.                      Γö£ΓöÇenvironment-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ3
  374.                      Γöé
  375.                      ΓööΓöÇenvironment-name-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ4
  376.  
  377.  
  378. 1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  379.                                                                     Γöé
  380. 2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝
  381. 3ΓöÇΓö¼ΓöÇΓöÇΓö¼mnemonic-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  382.    ΓööISΓöÿ                                                             Γöé
  383. 4Γö¼Γö¼ΓöÇΓöÇΓö¼mnemonic-name-2Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  384.   ΓöéΓööISΓöÿ               Γöé                                            Γöé
  385.   Γöé                   Γö£ONΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-1Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼Γöñ
  386.   Γöé                   Γöé  ΓööSTATUSΓöÿΓööISΓöÿ      Γöé                     ΓöéΓöéΓöé
  387.   Γöé                   Γöé                    ΓööOFFΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-2ΓöÿΓöéΓöé
  388.   Γöé                   Γöé                        ΓööSTATUSΓöÿΓööISΓöÿ       ΓöéΓöé
  389.   Γöé                   ΓööOFFΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-2Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÿΓöé
  390.   Γöé                       ΓööSTATUSΓöÿΓööISΓöÿ      Γöé                    Γöé Γöé
  391.   Γöé                                         ΓööONΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-1Γöÿ Γöé
  392.   Γöé                                            ΓööSTATUSΓöÿΓööISΓöÿ        Γöé
  393.   Γöé                                                                Γöé
  394.   Γö£ΓöÇONΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  395.   Γöé   ΓööSTATUSΓöÿΓööISΓöÿ       Γöé                     ΓöéΓöé
  396.   Γöé                      ΓööOFFΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-2ΓöÿΓöé
  397.   Γöé                          ΓööSTATUSΓöÿΓööISΓöÿ       Γöé
  398.   ΓööΓöÇOFFΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-2Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  399.        ΓööSTATUSΓöÿΓööISΓöÿ      Γöé                     Γöé
  400.                          ΓööONΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼cond-1ΓöÇΓöÿ
  401.                             ΓööSTATUSΓöÿΓööISΓöÿ
  402.  
  403.  
  404. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  405.   Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  406.   Γöé                                                             ΓöéΓöé
  407.   ΓööΓöÇALPHABET alphabet-name-1Γö¼ΓöÇΓöÇΓö¼Γö¼STANDARD-1Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γöÿ
  408.                             ΓööISΓöÿΓö£STANDARD-2Γöñ                    Γöé
  409.                                 Γö£NATIVEΓöÇΓöÇΓöÇΓöÇΓöñ                    Γöé
  410.                                 Γö£EBCDICΓöÇΓöÇΓöÇΓöÇΓöÿ                    Γöé
  411.                                 ΓöéΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  412.                                 Γöé                             ΓöéΓöé
  413.                                 ΓööΓöÇliteral-1Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö┤Γöÿ
  414.                                            Γö£Γö¼THROUGHΓö¼literal-2Γöñ
  415.                                            ΓöéΓööTHRUΓöÇΓöÇΓöÇΓöÿ         Γöé
  416.                                            Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  417.                                            Γöé               Γöé Γöé
  418.                                            ΓööΓöÇΓöÇALSO literal-3Γö┤ΓöÇΓöÿ
  419.  
  420.    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ5
  421.    
  422. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ6
  423.    Γöé                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ7
  424.    Γöé                          Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  425.    Γöé                                               Γöé
  426.    ΓööΓöÇΓöÇSYMBOLICΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇsymbolic-character-1Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ8
  427.                ΓööΓöÇCHARACTERSΓöÇΓöÿ
  428.  
  429.  
  430. 5ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  431.                                                           Γöé
  432. 6ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇ
  433. 7ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ                       Γöé
  434.                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ                       Γöé
  435.                                  Γöé                       Γöé
  436. 8ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇinteger-1Γö┤ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  437.                 Γö£ΓöÇAREΓöÇΓöñ             ΓööΓöÇIN alphabet-name-2ΓöÇΓöÿ
  438.                 ΓööΓöÇISΓöÇΓöÇΓöÿ
  439.  
  440.    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  441.                                                                 Γöé
  442. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ
  443.    Γöé                        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  444.    Γöé                                                          Γöé Γöé
  445.    ΓööΓöÇCLASS class-name-1ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇliteral-4Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÿ
  446.                         ΓööISΓöÿ           ΓööΓöÇΓö¼ΓöÇTHROUGHΓöÇΓö¼ΓöÇliteral-5ΓöÇΓöÿ
  447.                                          ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ
  448.  
  449. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓö¼ΓöÇ
  450.    ΓööCURRENCYΓöîΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼literal-6ΓöÇΓöÿ  ΓööΓöÇDECIMAL-POINTΓö¼ΓöÇΓöÇΓö¼COMMAΓöÇΓöÿ Γöö.Γöÿ
  451.             ΓööSIGNΓöÿΓööISΓöÿ                            ΓööISΓöÿ
  452.  
  453.  
  454. ΓòÉΓòÉΓòÉ <hidden> environment-name-1 ΓòÉΓòÉΓòÉ
  455.  
  456. Environment-name-1 represents the system devices or standard system actions 
  457. taken by the compiler. 
  458.  
  459. Valid specifications for environment-name-1 are as follows: 
  460.  
  461. Environment-     Meaning             Allowed In
  462. name-1
  463.  
  464. SYSIN         System logical input unit     ACCEPT
  465. SYSIPT
  466.  
  467. SYSOUT        System logical output unit    DISPLAY
  468. SYSLIST
  469. SYSLST
  470.  
  471. SYSPUNCH      System punch device       DISPLAY
  472. SYSPCH
  473.  
  474. CONSOLE       Console typewriter        ACCEPT, DISPLAY
  475.  
  476. C01 - C12       Skip to channel 1 through    WRITE ADVANCING
  477.            12, respectively
  478.  
  479. CSP          Suppress spacing         WRITE ADVANCING
  480.  
  481. S01-S05        Pocket select 1-5         WRITE ADVANCING
  482.             on punch devices
  483.  
  484.  
  485. ΓòÉΓòÉΓòÉ <hidden> cond-1, cond-2 ΓòÉΓòÉΓòÉ
  486.  
  487. Condition-names follow the rules for user-defined names.  At least 1 character 
  488. must be alphabetic.  The value associated with the condition-name is considered 
  489. alphanumeric. A condition-name may be associated with the on status and/or off 
  490. status of each UPSI switch specified. 
  491.  
  492. In the Procedure Division, the UPSI switch status is tested by a "switch status 
  493. condition" using the associated condition-name. The result of the test is true 
  494. if the UPSI switch is set to the value (0 or 1) corresponding to the specified 
  495. condition-name. Each condition-name is the equivalent of a level-88 item; if 
  496. you specify the associated mnemonic-name, it is considered the conditional 
  497. variable and can be used for qualification. 
  498.  
  499. Condition-names specified in a containing program's SPECIAL-NAMES paragraph may 
  500. be referenced from any contained program. 
  501.  
  502.  
  503. ΓòÉΓòÉΓòÉ <hidden> ALPHABET Clause ΓòÉΓòÉΓòÉ
  504.  
  505.  The ALPHABET alphabet-name-1 IS clause provides a means of relating an 
  506.   alphabet-name to a specified character code set or collating sequence. 
  507.  
  508.  It specifies a collating sequence when used in either: 
  509.  
  510.    - The PROGRAM COLLATING SEQUENCE clause of the OBJECT-COMPUTER paragraph 
  511.  
  512.    - The COLLATING SEQUENCE phrase of the SORT or MERGE statement. 
  513.  
  514.  It specifies a character code set when specified in either: 
  515.  
  516.    - The FD entry CODE-SET clause 
  517.  
  518.    - The SYMBOLIC CHARACTERS clause. 
  519.  
  520.  
  521. ΓòÉΓòÉΓòÉ <hidden> literal-1, literal-2, literal-3 ΓòÉΓòÉΓòÉ
  522.  
  523.  When you specify literal-1, literal-2, or literal-3, the alphabet-name must 
  524.   not be referred to in a CODE-SET clause. Do not specify a SYMBOLIC CHARACTER 
  525.   figurative constant as literal-1, literal-2 or literal-3. 
  526.  
  527.  Do not use DBCS literals in a user-specified collating sequence, and do not 
  528.   use floating-point literals in a user-specified collating sequence. 
  529.  
  530.  Literal-1, literal-2, and literal-3 specify that the collating sequence is to 
  531.   be determined by the program, according to the following rules: 
  532.  
  533.    - The order in which literals appear specifies the ordinal number, in 
  534.      ascending sequence, of the character or characters in this collating 
  535.      sequence. 
  536.  
  537.    - Each numeric literal you specify must be an unsigned integer and must have 
  538.      a value from 1 through 256.  The value of each literal specifies the 
  539.      ordinal number, beginning with 1, of a character within the EBCDIC 
  540.      character set. 
  541.  
  542.    - Each character in a nonnumeric literal represents that actual character in 
  543.      the EBCDIC character set. 
  544.  
  545.    - Any EBCDIC characters that you do not explicitly specify assume positions 
  546.      in this collating sequence higher than any of the explicitly specified 
  547.      characters. 
  548.  
  549.    - Within one ALPHABET-NAME clause, do not specify a given character more 
  550.      than once. 
  551.  
  552.    - Each nonnumeric literal associated with a THROUGH or ALSO phrase must be 1 
  553.      character in length. 
  554.  
  555.    - When you specify the THROUGH phrase, the contiguous characters in the 
  556.      native character set beginning with the character specified by literal-1 
  557.      and ending with the character specified by literal-2 are assigned 
  558.      successively ascending positions in this collating sequence. This sequence 
  559.      may be either ascending or descending within the original native character 
  560.      set. 
  561.  
  562.    - When you specify the ALSO phrase, EBCDIC characters specified as 
  563.      literal-1, literal-3, etc., are assigned to the same position in this 
  564.      collating sequence. 
  565.  
  566.    - When you specify the ALSO phrase and alphabet-name-1 is referenced in a 
  567.      SYMBOLIC CHARACTERS clause, only literal-1 is used to represent the 
  568.      character in the EBCDIC set. 
  569.  
  570.    - The character having the highest ordinal position in this collating 
  571.      sequence is associated with the figurative constant HIGH-VALUE. 
  572.  
  573.    - The character having the lowest ordinal position in this collating 
  574.      sequence is associated with the figurative constant LOW-VALUE. 
  575.  
  576.  
  577. ΓòÉΓòÉΓòÉ <hidden> SYMBOLIC CHARACTERS Clause ΓòÉΓòÉΓòÉ
  578.  
  579. SYMBOLIC CHARACTERS symbolic-character-1 provides a means of specifying one or 
  580. more symbolic characters.  Symbolic-character-1 is a user-defined word (it may 
  581. be a DBCS user-defined word) and must contain at least 1 alphabetic character. 
  582. The same symbolic-character must appear only once in a SYMBOLIC CHARACTERS 
  583. clause. 
  584.  
  585.  
  586. ΓòÉΓòÉΓòÉ <hidden> Integer-1 ΓòÉΓòÉΓòÉ
  587.  
  588. The internal representation of symbolic-character-1 is the internal 
  589. representation of the character that is represented in the specified character 
  590. set.  The following rules apply: 
  591.  
  592.  .There must be a one-to-one correspondence between occurrences of 
  593.   symbolic-character-1 and occurrences of integer-1 in a SYMBOLIC CHARACTERS 
  594.   clause. 
  595.  
  596.  If you specify the IN phrase, integer-1 specifies the ordinal position of the 
  597.   character represented in the character set named by alphabet-name-2. This 
  598.   ordinal position must exist. 
  599.  
  600.  If you do not specify the IN phrase, symbolic-character-1 represents the 
  601.   character whose ordinal position in the native character set is specified by 
  602.   integer-1. 
  603.  
  604. Note:   Ordinal positions are numbered starting from 1. 
  605.  
  606.  
  607. ΓòÉΓòÉΓòÉ <hidden> literal-4, literal-5 ΓòÉΓòÉΓòÉ
  608.  
  609.  If numeric, literal-4 and literal-5 must be unsigned integers and must have a 
  610.   value greater than or equal to 1 and less than or equal to the number of 
  611.   characters in the alphabet specified.  Each number corresponds to the ordinal 
  612.   position of each character in the EBCDIC collating series. 
  613.  
  614.  Do not specify literal-4 or literal-5 as floating-point or DBCS literals. 
  615.  
  616.  If nonnumeric, the literal is the actual EBCDIC character. Literal-4 and 
  617.   literal-5 must not specify a symbolic-character figurative constant. If the 
  618.   value of the nonnumeric literal contains multiple characters, each character 
  619.   in the literal is included in the set of characters identified by class-name. 
  620.  
  621.  If the nonnumeric literal is associated with a THROUGH phrase, the literal 
  622.   must be 1 character in length. 
  623.  
  624.  If you specify the THROUGH phrase, class-name includes those characters 
  625.   beginning with the value of literal-4 and ending with the value of literal-5. 
  626.   The characters specified by a THROUGH phrase may specify characters in either 
  627.   ascending or descending order. 
  628.  
  629.  
  630. ΓòÉΓòÉΓòÉ <hidden> literal-6 ΓòÉΓòÉΓòÉ
  631.  
  632. Literal-6 must be a one-character, nonnumeric literal, and must not be any of 
  633. the following: 
  634.  
  635.  Digits zero (0) through nine (9) 
  636.  
  637.  Uppercase alphabetic characters A B C D P R S V X Z 
  638.  
  639.  Lowercase alphabetic characters a through z 
  640.  
  641.  The space 
  642.  
  643.  Special characters * + - / , . ; ( ) = 
  644.  
  645.  A figurative constant 
  646.  
  647.  The hexadecimal values X'20' or X'21' 
  648.  
  649.  The uppercase alphabetic character G, if the COBOL program defines DBCS items 
  650.   with the PICTURE symbol G. 
  651.  
  652.  The uppercase alphabetic character N, if the COBOL program defines DBCS items 
  653.   with the PICTURE symbol N. 
  654.  
  655.  The uppercase alphabetic character E, if the COBOL program defines external 
  656.   floating-point data items. 
  657.  
  658.  
  659. ΓòÉΓòÉΓòÉ 1.8. Input-Output Section ΓòÉΓòÉΓòÉ
  660.  
  661. Description 
  662.   The Input-Output section of the Environment Division contains two paragraphs: 
  663.  
  664.     FILE-CONTROL paragraph 
  665.  
  666.     I-O-CONTROL paragraph 
  667.  
  668.                                             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  669.                                                                   Γöé
  670.  ΓöÇΓöÇΓöÇΓöÇΓöÇINPUT-OUTPUT SECTION. FILE-CONTROL. file-control-paragraphΓöÇΓö┤ΓöÇΓöÇΓöÇ
  671.  
  672.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  673.     ΓööΓöÇΓöÇI-O-CONTROL. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  674.                       Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  675.                       Γöé                               Γöé   Γöé
  676.                       ΓööΓöÇinput-output-control-paragraphΓöÇΓö┤ΓöÇ.ΓöÇΓöÿ
  677.  
  678.  
  679. ΓòÉΓòÉΓòÉ 1.9. FILE-CONTROL Paragraph ΓòÉΓòÉΓòÉ
  680.  
  681.  The FILE-CONTROL paragraph associates each file in a COBOL program with an 
  682.   external data set, and specifies the file organization, access mode, and 
  683.   other information. 
  684.  
  685.  The FILE-CONTROL paragraph begins with the word "FILE-CONTROL" in Area A, 
  686.   followed by a separator period. The key word FILE-CONTROL may appear only 
  687.   once, at the beginning of the FILE-CONTROL paragraph. 
  688.  
  689.  The FILE-CONTROL paragraph must contain one and only one entry for each file 
  690.   described in an FD or SD entry in the Data Division. Within each entry, the 
  691.   SELECT clause must appear first. The other clauses may appear in any order. 
  692.  
  693.  The FILE-CONTROL paragraph has three formats: 
  694.  
  695.    - QSAM and VSAM Sequential file entries 
  696.  
  697.    - VSAM Indexed file entries 
  698.  
  699.    - VSAM Relative file entries 
  700.  
  701.  
  702. ΓòÉΓòÉΓòÉ <hidden> QSAM and VSAM Sequential File Entries ΓòÉΓòÉΓòÉ
  703.  
  704. Description 
  705.    The optional FILE-CONTROL paragraph associates each file in the COBOL 
  706.   program with an external data set, and specifies file organization, access 
  707.   mode, and other information. 
  708.  
  709. Format 1 (QSAM and VSAM Sequential File Entries)
  710.  
  711. ΓöÇΓöÇΓöÇSELECTΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇfile-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  712.                 ΓööΓöÇOPTIONALΓöÇΓöÿ
  713.  
  714.                 ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  715.                                 Γöé
  716.  ΓöÇΓöÇASSIGNΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇassignment-name-1Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  717.            ΓööTOΓöÿ
  718.  
  719.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  720.     ΓööΓöÇRESERVE integerΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  721.                       Γö£ΓöÇAREAΓöÇΓöÇΓöñ
  722.                       ΓööΓöÇAREASΓöÇΓöÿ
  723.  
  724.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  725.     ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSEQUENTIALΓöÇΓöÿ
  726.       ΓööΓöÇORGANIZATIONΓö¼ΓöÇΓöÇΓö¼Γöÿ
  727.                     ΓööISΓöÿ
  728.  
  729.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  730.     ΓööΓöÇPADDINGΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇdata-name-5ΓöÇΓö¼ΓöÇΓöÿ
  731.              ΓööCHARACTERΓöÿΓööISΓöÿΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÿ
  732.  
  733.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  734.     ΓööΓöÇRECORD DELIMITERΓö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇSTANDARD-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  735.                       ΓööISΓöÿΓööΓöÇassignment-name-2ΓöÇΓöÿ
  736.  
  737.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  738.             ΓööΓöÇACCESSΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼SEQUENTIALΓöÇΓöÿ
  739.                     ΓööMODEΓöÿΓööISΓöÿ
  740.  
  741.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  742.     ΓööΓöÇPASSWORDΓö¼ΓöÇΓöÇΓö¼data-name-6ΓöÇΓöÿ
  743.               ΓööISΓöÿ
  744.  
  745.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  746.      ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼STATUSΓö¼ΓöÇΓöÇΓö¼data-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  747.       ΓööFILEΓöÿ      ΓööISΓöÿ            ΓööΓöÇdata-name-8ΓöÇΓöÿ
  748.  
  749.  
  750. ΓòÉΓòÉΓòÉ <hidden> VSAM Indexed File Entries ΓòÉΓòÉΓòÉ
  751.  
  752. Description 
  753.    The optional FILE-CONTROL paragraph associates each file in the COBOL 
  754.   program with an external data set, and specifies file organization, access 
  755.   mode, and other information. 
  756.  
  757. Format 2 (VSAM Indexed File Entries)
  758.  
  759. ΓöÇΓöÇΓöÇSELECTΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇfile-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  760.                 ΓööΓöÇOPTIONALΓöÇΓöÿ
  761.               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  762.                               Γöé
  763.  ΓöÇΓöÇASSIGNΓö¼ΓöÇΓöÇΓö¼assignment-name-1Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  764.           ΓööTOΓöÿ
  765.  
  766.  ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  767.       ΓööΓöÇRESERVE integerΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  768.                         Γö£ΓöÇAREAΓöÇΓöÇΓöñ
  769.                         ΓööΓöÇAREASΓöÇΓöÿ
  770.  
  771.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇINDEXEDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  772.     ΓööΓöÇORGANIZATIONΓö¼ΓöÇΓöÇΓö¼Γöÿ
  773.                   ΓööISΓöÿ
  774.  
  775.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  776.      ΓööΓöÇACCESSΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇSEQUENTIALΓöÇΓö¼ΓöÇΓöÿ
  777.              ΓööMODEΓöÿΓööISΓöÿΓö£ΓöÇRANDOMΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  778.                        ΓööΓöÇDYNAMICΓöÇΓöÇΓöÇΓöÇΓöÿ
  779.  
  780.  ΓöÇΓöÇRECORDΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼data-name-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  781.           ΓööKEYΓöÿΓööISΓöÿ            ΓööΓöÇPASSWORDΓö¼ΓöÇΓöÇΓö¼data-name-6ΓöÇΓöÿ
  782.                                          ΓööISΓöÿ
  783.  
  784.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  785.     
  786.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  787.     ΓööΓöÇALTERNATEΓöÇΓöÇΓöÇRECORDΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼ΓöÇdata-name-3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ3
  788.                           ΓööKEYΓöÿΓööISΓöÿ
  789.  
  790.  1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  791.                                                         Γöé
  792.  2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇ
  793.  3ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÿ
  794.      ΓööΓöÇPASSWORDΓö¼ΓöÇΓöÇΓö¼data-name-7ΓöÇΓöÿ ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼DUPLICATESΓöÇΓöÿ
  795.                ΓööISΓöÿ               ΓööWITHΓöÿ
  796.  
  797.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ. ΓöÇΓöÇΓöÇΓöÇΓöÇ
  798.     ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼STATUSΓö¼ΓöÇΓöÇΓö¼ΓöÇdata-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  799.      ΓööFILEΓöÿ      ΓööISΓöÿ             ΓööΓöÇdata-name-8ΓöÇΓöÿ
  800.  
  801.  
  802. ΓòÉΓòÉΓòÉ <hidden> VSAM Relative File Entries ΓòÉΓòÉΓòÉ
  803.  
  804. Description 
  805.    The optional FILE-CONTROL paragraph associates each file in the COBOL 
  806.   program with an external data set, and specifies file organization, access 
  807.   mode, and other information. 
  808.  
  809. Format 3 (VSAM Relative File Entries)
  810.  
  811. ΓöÇΓöÇΓöÇSELECTΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇfile-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  812.                 ΓööΓöÇOPTIONALΓöÇΓöÿ
  813.  
  814.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  815.                              Γöé
  816. ΓöÇΓöÇASSIGNΓö¼ΓöÇΓöÇΓö¼assignment-name-1Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  817.          ΓööTOΓöÿ
  818.  
  819. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  820.      ΓööΓöÇRESERVE integerΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  821.                        Γö£ΓöÇAREAΓöÇΓöÇΓöñ
  822.                        ΓööΓöÇAREASΓöÇΓöÿ
  823.  
  824. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇRELATIVEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  825.    ΓööΓöÇORGANIZATIONΓö¼ΓöÇΓöÇΓö¼Γöÿ
  826.                  ΓööISΓöÿ
  827.  
  828. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  829.   ΓööACCESSΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼Γö¼SEQUENTIALΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  830.          ΓööMODEΓöÿΓööISΓöÿΓöé          ΓööRELATIVEΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼data-name-4Γöñ
  831.                    Γöé                   ΓööKEYΓöÿΓööISΓöÿ           Γöé
  832.                    ΓööΓö¼ΓöÇRANDOMΓöÇΓöÇΓö¼RELATIVEΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼data-name-4Γöÿ
  833.                     ΓööΓöÇDYNAMICΓöÇΓöÿ        ΓööKEYΓöÿΓööISΓöÿ
  834.  
  835. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  836.    ΓööΓöÇPASSWORDΓö¼ΓöÇΓöÇΓö¼data-name-6ΓöÇΓöÿ
  837.              ΓööISΓöÿ
  838.  
  839. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  840.    ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼STATUSΓö¼ΓöÇΓöÇΓö¼data-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  841.     ΓööFILEΓöÿ      ΓööISΓöÿ            ΓööΓöÇdata-name-8ΓöÇΓöÿ
  842.  
  843.  
  844. ΓòÉΓòÉΓòÉ 1.10. ASSIGN Clause ΓòÉΓòÉΓòÉ
  845.  
  846. Description 
  847.   The ASSIGN clause associates the program's DD statement name for a file with 
  848.   the external name for the actual data set. 
  849.  
  850.   If the file connector referenced by file-name-1 in the SELECT clause is an 
  851.   external file connector, all file control entries in the run unit that 
  852.   references this file connector must have a consistent specification for 
  853.   assignment-name-1 in the ASSIGN clause. For QSAM files and VSAM indexed and 
  854.   relative files, the name specified on the first assignment-name-1 must be 
  855.   identical. For VSAM sequential files, you must specify it as AS-name. 
  856.  
  857. QSAM File Format
  858.  
  859. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇnameΓöÇΓöÇΓöÇ
  860.      ΓööΓöÇΓöÇlabel-ΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓööΓöÇΓöÇS-ΓöÇΓöÇΓöÇΓöÿ
  861.  
  862. VSAM Sequential File Format
  863.  
  864. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇAS-nameΓöÇΓöÇΓöÇ
  865.      ΓööΓöÇΓöÇΓöÇlabel-ΓöÇΓöÇΓöÇΓöÇΓöÿ
  866.  
  867. VSAM Indexed or Relative File Format
  868.  
  869. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇnameΓöÇΓöÇΓöÇ
  870.      ΓööΓöÇΓöÇΓöÇlabel-ΓöÇΓöÇΓöÇΓöÇΓöÿ
  871.  
  872.  
  873. ΓòÉΓòÉΓòÉ <hidden> name ΓòÉΓòÉΓòÉ
  874.  
  875. Name represents a required 1- to 8-character field that specifies the external 
  876. name for this file. Under MVS it must be the name specified in the DD statement 
  877. for this file. 
  878.  
  879. Name must conform to the rules for formation of a program-name. If 
  880. assignment-name-1 is specified as a nonnumeric literal, name must follow the 
  881. rules for formation of a program-name in the outermost program. In a sort or 
  882. merge file, name is treated as a comment. 
  883.  
  884.  
  885. ΓòÉΓòÉΓòÉ <hidden> data-name-2 ΓòÉΓòÉΓòÉ
  886.  
  887.  Data-name-2 represents the prime RECORD KEY data item.  Describe it as an 
  888.   alphanumeric item within a record description entry associated with the file. 
  889.   It must not reference a group item that contains a variable occurrence data 
  890.   item. 
  891.  
  892.  Data-name-2 may be qualified. 
  893.  
  894.   Data-name-2 may be numeric, numeric-edited, alphanumeric-edited, alphabetic, 
  895.   floating-point (BOTH EXTERNAL AND INTERNAL), or a DBCS data item.  The key is 
  896.   treated as an alphanumeric item for the input and output statements for the 
  897.   file named in the SELECT clause. When you specify data-name-2 as a DBCS item, 
  898.   a key specified on the READ statement must also be a DBCS data item. 
  899.  
  900.  The data description of data-name-2 and its relative location within the 
  901.   record must be the same as those used when the file was defined. 
  902.  
  903.  
  904. ΓòÉΓòÉΓòÉ <hidden> data-name-8 ΓòÉΓòÉΓòÉ
  905.  
  906. Define data-name-8 as a group item of 6 bytes in the Working-Storage or Linkage 
  907. Section of the Data Division. 
  908.  
  909.  The first 2 bytes of data-name-8 contain the VSAM return code in binary 
  910.   notation.  The value for this code is defined (by VSAM) as 0, 8, or 12. 
  911.  
  912.  The next 2 bytes of data-name-8 contain the VSAM function code in the binary 
  913.   notation.  The value for this code is defined (by VSAM) as 0, 1, 2, 3, 4, or 
  914.   5. 
  915.  
  916.  The last 2 bytes of data-name-8 contain the VSAM feedback code in binary 
  917.   notation.  The code value is 0 through 255. 
  918.  
  919. Specify data-name-8 only if the file is a VSAM file (that is, ESDS, KSDS, 
  920. RRDS).  If VSAM returns a nonzero return code, data-name-8 is set.  If 
  921. data-name-1 is set to zero, the content of data-name-8 is undefined. 
  922.  
  923.  
  924. ΓòÉΓòÉΓòÉ 1.11. I-O-CONTROL Paragraph ΓòÉΓòÉΓòÉ
  925.  
  926. Description 
  927.  
  928.     The I-O-CONTROL paragraph of the INPUT-OUTPUT SECTION specifies when 
  929.      checkpoints are to be taken and which storage areas are to be shared by 
  930.      different files. It also specifies information needed for efficient 
  931.      transmission of data between the external data set and the COBOL program. 
  932.      This paragraph is optional in a COBOL program. 
  933.  
  934.     The key word I-O-CONTROL may appear only once, at the beginning of the 
  935.      paragraph. The word I-O-CONTROL must begin in Area A and must be followed 
  936.      by a separator period. 
  937.  
  938.     Each clause within the paragraph may be separated from the next clause by 
  939.      a separator comma or a separator semicolon.  The order in which 
  940.      I-O-CONTROL paragraph clauses are written is not significant.  The 
  941.      I-O-CONTROL paragraph ends with a separator period. 
  942.  
  943.     The I-O-CONTROL paragraph has three formats: 
  944.  
  945.       - Format 1 (QSAM Files) 
  946.  
  947.       - Format 2 (VSAM Files) 
  948.  
  949.       - Format 3 (SORT/MERGE Files) 
  950.  
  951.  
  952. ΓòÉΓòÉΓòÉ <hidden> I-O-CONTROL Paragraph Format 1 (QSAM Files) ΓòÉΓòÉΓòÉ
  953.  
  954. Format 1 (QSAM Files)
  955.  
  956.  ΓöÇΓöÇI-O-CONTROL.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  957.  
  958.  ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  959.       Γöé
  960.       ΓöéΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 2
  961.       Γöé
  962.       ΓööΓöÇΓö¼ΓöÇRERUNΓöÇΓöÇONΓöÇΓöÇassignment-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 3
  963.         Γöé
  964.         Γö£ΓöÇSAMEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 4
  965.         Γöé      ΓööRECORDΓöÿ ΓööAREAΓöÿ ΓööFORΓöÿ
  966.         Γö£ΓöÇMULTIPLE FILEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 5
  967.         Γöé               ΓööTAPEΓöÿΓööCONTAINSΓöÿ
  968.         Γöé                           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  969.         Γöé                                       Γöé
  970.         ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇAPPLY WRITE-ONLYΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇfile-name-2ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 6
  971.                                ΓööONΓöÿ
  972.  
  973.  
  974. 1  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  975.                                                       Γöé
  976. 2  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  977.                                                     Γöé Γöé
  978. 3  ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼integer-1 RECORDSΓö¼Γö¼ΓöÇΓöÇΓö¼ΓöÇfile-name-1ΓöÇΓöÇΓöÇΓö¼Γö┤.Γöÿ
  979.      ΓööEVERYΓöÿ ΓööENDΓöÇΓö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇREELΓöÇΓö¼ΓöÇΓöÿΓööOFΓöÿ               Γöé
  980.                   ΓööOFΓöÿΓööΓöÇUNITΓöÇΓöÿ                     Γöé
  981.                    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ                  Γöé
  982.                                Γöé                  Γöé
  983. 4  ΓöÇΓöÇfile-name-3ΓöÇΓöÇfile-name-4ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  984.        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ          Γöé
  985.                                        Γöé          Γöé
  986. 5  ΓöÇΓöÇΓöÇfile-name-5ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  987.                    ΓööΓöÇPOSITION integer-2ΓöÇΓöÿ          Γöé
  988. 6  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  989.  
  990.  
  991. ΓòÉΓòÉΓòÉ <hidden> I-O-CONTROL Paragraph Format 2 (VSAM Files) ΓòÉΓòÉΓòÉ
  992.  
  993. Format 2 (VSAM Files)
  994.  
  995. ΓöÇΓöÇI-O-CONTROL.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  996.  
  997. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  998.     ΓöéΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  999.     Γöé
  1000.     ΓööΓöÇΓö¼RERUNΓöÇΓöÇONΓöÇΓöÇassignment-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ3
  1001.       Γöé
  1002.       Γöé
  1003.       ΓööΓöÇSAMEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇfile-name-3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ4
  1004.              ΓööΓöÇRECORDΓöÇΓöÿ ΓööΓöÇAREAΓöÇΓöÿΓööΓöÇFORΓöÇΓöÿ
  1005.  
  1006.  
  1007. 1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  1008. 2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  Γöé
  1009.                                                 Γöé  Γöé
  1010. 3ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇinteger-1 RECORDSΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇfile-name-1ΓöÇΓö╝.ΓöÇΓöÿ
  1011.    ΓööEVERYΓöÿ     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ ΓööOFΓöÿ              Γöé
  1012.                            Γöé                   Γöé
  1013. 4ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇfile-name-4ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1014.  
  1015.  
  1016. ΓòÉΓòÉΓòÉ <hidden> I-O-CONTROL Paragraph Format 3 (Sort/Merge Files) ΓòÉΓòÉΓòÉ
  1017.  
  1018. Format 3 (Sort/Merge Files)
  1019.  
  1020. ΓöÇI-O-CONTROL.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1021.  
  1022. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  1023.    Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  1024.    Γöé                                                                Γöé   Γöé
  1025.    ΓööΓöÇΓö¼ΓöÇRERUN ON assignment-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ.ΓöÇΓöÿ
  1026.      Γöé                                                               Γöé
  1027.      Γöé                                                               Γöé
  1028.      ΓööΓöÇSAMEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇfile-name-3ΓöÇΓöÇfile-name-4ΓöÇΓöÇΓöÿ
  1029.             Γö£ΓöÇRECORDΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ ΓööΓöÇAREAΓöÇΓöÿΓööΓöÇFORΓöÇΓöÿ
  1030.             Γö£ΓöÇSORTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1031.             ΓööΓöÇSORT-MERGEΓöÇΓöÿ
  1032.  
  1033.  
  1034. ΓòÉΓòÉΓòÉ <hidden> RERUN Clause (SORT/MERGE files) ΓòÉΓòÉΓòÉ
  1035.  
  1036.  The RERUN clause specifies that checkpoint records are to be taken.  Subject 
  1037.   to the restrictions given with each phrase, you can specify more than one 
  1038.   RERUN clause. 
  1039.  
  1040.  Do not use the RERUN clause with files that have been defined with the 
  1041.   EXTERNAL attribute. 
  1042.  
  1043.  In the I-O-CONTROL paragraph, when you specify the RERUN clause, checkpoint 
  1044.   records are written at logical intervals determined by the sort/merge program 
  1045.   during execution of each SORT or MERGE statement in the program.  When you 
  1046.   omit the RERUN clause, checkpoint records are not written. 
  1047.  
  1048.  There may be only one Format 3 I-O-CONTROL paragraph in a program. Do not 
  1049.   specify it in contained programs;  it will have a global effect on all SORT 
  1050.   and MERGE statements in the program unit. 
  1051.  
  1052.  
  1053. ΓòÉΓòÉΓòÉ <hidden> assignment-name-1 (QSAM File Format) ΓòÉΓòÉΓòÉ
  1054.  
  1055. Description 
  1056.   Assignment-name-1 represents the external data set for the checkpoint file. 
  1057.   It must not be the same assignment-name as that specified in any ASSIGN 
  1058.   clause throughout the entire program, including contained and containing 
  1059.   programs. Assignment-name-1 must reside on a tape or direct access device, 
  1060.   and must be a QSAM file: 
  1061.  
  1062. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇnameΓöÇΓöÇΓöÇ
  1063.      ΓööΓöÇΓöÇΓöÇΓöÇlabel-ΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓööΓöÇΓöÇS-ΓöÇΓöÇΓöÇΓöÿ
  1064.  
  1065.  
  1066. ΓòÉΓòÉΓòÉ <hidden> SAME RECORD AREA ΓòÉΓòÉΓòÉ
  1067.  
  1068.  The SAME RECORD AREA clause specifies that two or more files are to use the 
  1069.   same main storage area for processing the current logical record.  All the 
  1070.   files may be open at the same time.  A logical record in the shared storage 
  1071.   area is considered to be both of the following: 
  1072.  
  1073.    - A logical record of each opened output file in the SAME RECORD AREA clause 
  1074.    - A logical record of the most recently read input file in the SAME RECORD 
  1075.      AREA clause. 
  1076.  
  1077.  For QSAM files, the SAME clause is treated as documentation. 
  1078.  
  1079.  For VSAM files, the SAME clause is treated as if equivalent to the SAME 
  1080.   RECORD AREA. 
  1081.  
  1082.  
  1083. ΓòÉΓòÉΓòÉ 1.12. Data Division ΓòÉΓòÉΓòÉ
  1084.  
  1085. Description 
  1086.   The Data Division of a COBOL source program describes, in a structured 
  1087.   manner, all the data to be processed by the object program. In a COBOL source 
  1088.   program, the Data Division is optional. 
  1089.  
  1090.   The Data Division is divided into three sections.  Each section has a 
  1091.   specific logical function within a COBOL source program, and each may be 
  1092.   omitted from the source program when that logical function is not needed.  If 
  1093.   you include these sections, they must be written in the order shown: 
  1094.  
  1095. File Section 
  1096.   Defines the structure of data files (including sort-merge files). 
  1097.  
  1098. Working-Storage Section 
  1099.   Describes records and subordinate data items that are not part of data files 
  1100.   but are developed and processed by the program. 
  1101.  
  1102. Linkage Section 
  1103.   Describes data made available by another program. It appears in the called 
  1104.   program and describes data items that are referred to by the calling and the 
  1105.   called programs. 
  1106.  
  1107.  
  1108. ΓöÇΓöÇDATA DIVISION.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1109.  
  1110. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  1111.   Γöé              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  1112.   Γöé                                                      ΓöéΓöé
  1113.   ΓööΓöÇFILE SECTION.Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝Γöÿ
  1114.                  Γöé                                        Γöé
  1115.                  Γööfile-description-entryΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇitem-1Γöÿ
  1116.  
  1117. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  1118.   Γöé                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  1119.   Γöé                                                     ΓöéΓöé
  1120.   ΓööWORKING-STORAGE SECTION.ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝Γöÿ
  1121.                              Γö£record-description-entryΓöÇΓöÇΓöÇΓöñ
  1122.                              Γöödata-item-description-entryΓöÿ
  1123.  
  1124. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  1125.   Γöé                   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  1126.   Γöé                                                Γöé Γöé
  1127.   ΓööΓöÇLINKAGE SECTION. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÿ
  1128.                       Γö£ΓöÇrecord-description-entryΓöÇΓöÇΓöÇΓöÇΓöñ
  1129.                       ΓööΓöÇdata-item-description-entryΓöÇΓöÿ
  1130.  
  1131. where item-1 is:
  1132.  
  1133.         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1134.                                 Γöé
  1135. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇrecord-description-entryΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1136.  
  1137.  
  1138. ΓòÉΓòÉΓòÉ 1.13. Linkage Section ΓòÉΓòÉΓòÉ
  1139.  
  1140. Description 
  1141.   The Linkage Section describes data made available from another program. 
  1142.  
  1143.   Record description entries and data item description entries in the Linkage 
  1144.   Section provide names and descriptions, but storage within the program is not 
  1145.   reserved because the data area exists elsewhere. 
  1146.  
  1147.   You can use any data description clause to describe items in the Linkage 
  1148.   Section with the following exceptions: 
  1149.  
  1150.     The VALUE clause may not be specified for items other than level-88 items. 
  1151.     The EXTERNAL clause may not be specified. 
  1152.     The GLOBAL clause may be specified as an IBM extension. 
  1153.  
  1154.   Like the Working-Storage Section, the Linkage Section has three formats: 
  1155.  
  1156.     Format 1 (All Data Division Sections): Use Format 1 for data description 
  1157.      entries in all Data Division sections. Specific rules and restrictions for 
  1158.      each clause are noted under discussion of the individual clause. 
  1159.  
  1160.     Format 2 (RENAMES Clause -- Level-66 Entry): Format 2 regroups previously 
  1161.      defined items. 
  1162.  
  1163.     Format 3 (Condition-Name VALUE Clause -- Level-88 Entry): Format 3 
  1164.      associates a single value, multiple values, and/or range(s) of values with 
  1165.      a condition-name. 
  1166.  
  1167.  
  1168. ΓòÉΓòÉΓòÉ 1.14. Working-Storage Section ΓòÉΓòÉΓòÉ
  1169.  
  1170. Description 
  1171.   The Working-Storage Section describes data records that are not part of data 
  1172.   files but are developed and processed by the program. It also describes data 
  1173.   items whose values are assigned in the source program and do not change 
  1174.   during execution of the object program.  The Working-Storage Section may also 
  1175.   describe external data records that are shared by programs throughout the run 
  1176.   unit. 
  1177.  
  1178.   The Working-Storage Section must begin with the section header 
  1179.   WORKING-STORAGE SECTION, followed by a separator period. 
  1180.  
  1181.   The Working-Storage Section contains record description entries and data 
  1182.   description entries for independent data items, called data item description 
  1183.   entries. 
  1184.  
  1185.   A data description entry specifies the characteristics of a data item.  A 
  1186.   data description entry has three formats: 
  1187.  
  1188.     Format 1 (All Data Division Sections): Use Format 1 for data description 
  1189.      entries in all Data Division sections. Specific rules and restrictions for 
  1190.      each clause are noted under discussion of the individual clause. 
  1191.  
  1192.     Format 2 (RENAMES Clause -- Level-66 Entry): Format 2 regroups previously 
  1193.      defined items. 
  1194.  
  1195.     Format 3 (Condition-Name VALUE Clause -- Level-88 Entry): Format 3 
  1196.      associates a single value, multiple values, and/or range(s) of values with 
  1197.      a condition-name. 
  1198.  
  1199.  
  1200. ΓòÉΓòÉΓòÉ <hidden> Format 1 (All Data Division Sections) ΓòÉΓòÉΓòÉ
  1201.  
  1202. Description 
  1203.   Use Format 1 for data description entries in all Data Division sections.  A 
  1204.   space, a separator comma, or a separator semicolon must separate clauses. 
  1205.  
  1206.   Note:   You can write the clauses in any order, with two exceptions: 
  1207.  
  1208.     If you specify data-name or FILLER, it must immediately follow the 
  1209.      level-number. 
  1210.  
  1211.     When you specify the REDEFINES clause, it must immediately follow 
  1212.      data-name or FILLER, if either is specified.  If you do not specify 
  1213.      data-name or FILLER, the REDEFINES clause must immediately follow the 
  1214.      level-number. 
  1215.  
  1216. Specific rules and restrictions for each clause are noted under the discussion 
  1217. of the individual clause. 
  1218.  
  1219. Format 1 (All Data Division Sections)
  1220.  
  1221. ΓöÇΓöÇlevelΓöÇnumberΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1222.                   Γö£ΓöÇΓöÇdataΓöÇnameΓöÇΓöÇΓöñ
  1223.                   ΓööΓöÇΓöÇFILLERΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1224.  
  1225. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1226.     ΓööΓöÇREDEFINES clauseΓöÇΓöÿ
  1227.  
  1228. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  1229.     ΓööΓöÇBLANK WHEN ZERO clauseΓöÇΓöÿ  ΓööΓöÇEXTERNAL clauseΓöÇΓöÿ
  1230.  
  1231. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1232.     ΓööΓöÇGLOBAL clauseΓöÇΓöÿ  ΓööΓöÇJUSTIFIED clauseΓöÇΓöÿ
  1233.  
  1234. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1235.     ΓööΓöÇOCCURS clauseΓöÇΓöÿ  ΓööΓöÇPICTURE clauseΓöÇΓöÿ
  1236.  
  1237. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1238.     ΓööΓöÇSIGN clauseΓöÇΓöÿ  ΓööΓöÇSYNCHRONIZED clauseΓöÇΓöÿ
  1239.  
  1240. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1241.     ΓööΓöÇUSAGE clauseΓöÇΓöÿ  ΓööΓöÇVALUE clauseΓöÇΓöÿ
  1242.  
  1243.  
  1244. ΓòÉΓòÉΓòÉ 1.15. Format 2 (RENAMES Clause -- Level-66 Entry) ΓòÉΓòÉΓòÉ
  1245.  
  1246. Description 
  1247.   Format 2 (RENAMES Clause -- Level-66 Entry) regroups previously defined items 
  1248.   by specifying alternative, possibly overlapping, groupings of elementary data 
  1249.   items. 
  1250.  
  1251.   You must use the level number 66 for data description entries that contain 
  1252.   the RENAMES clause. A level-66 entry cannot rename another level-66 entry, 
  1253.   nor can it rename a level-01, level-77, or level-88 entry. 
  1254.  
  1255.   One or more RENAMES entries can be written for a logical record.  All RENAMES 
  1256.   entries associated with one logical record must immediately follow that 
  1257.   record's last data description entry. 
  1258.  
  1259.   Level number 66 and data-name-1 are not a part of the RENAMES clause itself 
  1260.   and are included in the format below only for clarity. 
  1261.  
  1262. Format 2 (RENAMES Clause -- Level-66 Entry)
  1263.  
  1264. ΓöÇΓöÇ66 dataΓöÇnameΓöÇ1 RENAMES data-name-2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  1265.                                         Γö£ΓöÇΓöÇTHROUGHΓöÇΓöÇΓö¼ΓöÇΓöÇdata-name-3ΓöÇΓöÇΓöÿ
  1266.                                         ΓööΓöÇΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1267.  
  1268.  
  1269. ΓòÉΓòÉΓòÉ <hidden> data-name-2, data-name-3 ΓòÉΓòÉΓòÉ
  1270.  
  1271. Data-name-2 and data-name-3 identify the original grouping of data items; that 
  1272. is, they must name elementary or group items within the associated level-01 
  1273. entry, and must not be the same data-name.  Both data-names may be qualified. 
  1274.  
  1275. The OCCURS clause must not be specified in the data entries for data-name-2 and 
  1276. data-name-3, or for any group entry to which they are subordinate. In addition, 
  1277. the OCCURS DEPENDING ON clause must not be specified for any item defined 
  1278. between data-name-2 and data-name-3. 
  1279.  
  1280. When data-name-3 is specified, data-name-1 is treated as a group item that 
  1281. includes all elementary items: 
  1282.  
  1283.  Starting with data-name-2 (if it is an elementary item) or the first 
  1284.   elementary item within data-name-2 (if it is a group item) 
  1285.  
  1286.  Ending with data-name-3 (if it is an elementary item) or the last elementary 
  1287.   item within data-name-3 (if it is a group item). 
  1288.  
  1289. The key words THROUGH and THRU are equivalent. 
  1290.  
  1291. The leftmost character in data-name-3 must not precede the leftmost character 
  1292. in data-name-2; the rightmost character in data-name-3 must not precede the 
  1293. rightmost character in data-name-2. This means that data-name-3 may not be 
  1294. totally subordinate to data-name-2. 
  1295.  
  1296. When data-name-3 is not specified, all of the data attributes of data-name-2 
  1297. become the data attributes for data-name-1. That is: 
  1298.  
  1299.  When data-name-2 is a group item, data-name-1 is treated as a group item. 
  1300.  
  1301.  When data-name-2 is an elementary item, data-name-1 is treated as an 
  1302.   elementary item. 
  1303.  
  1304.  
  1305. ΓòÉΓòÉΓòÉ <hidden> data-name-1 ΓòÉΓòÉΓòÉ
  1306.  
  1307.  Data-name-1 must be an elementary unsigned integer. 
  1308.  
  1309.  The number of character positions in the record must be placed into the data 
  1310.   item referenced by data-name-1 before any RELEASE, REWRITE, START, or WRITE 
  1311.   statement is executed for the file. 
  1312.  
  1313.  The execution of a DELETE, RELEASE, REWRITE, START, or WRITE statement, or 
  1314.   the unsuccessful execution of a READ or RETURN statement does not alter the 
  1315.   content of the data item referenced by data-name-1. 
  1316.  
  1317.  After the successful execution of a READ or RETURN statement for the file, 
  1318.   the contents of the data item referenced by data-name-1 indicate the number 
  1319.   of character positions in the record just read. 
  1320.  
  1321.  
  1322. ΓòÉΓòÉΓòÉ 1.16. Level-Number ΓòÉΓòÉΓòÉ
  1323.  
  1324. Description 
  1325.  
  1326.   Level-number specifies the hierarchy of data within a record and identifies 
  1327.   special-purpose data entries. 
  1328.  
  1329.   In Format 1, level-number can be any number from 01-49 or 77. 
  1330.  
  1331.     Level-numbers 01 and 77 must begin in Area A and be followed either by a 
  1332.      separator period or by a space followed by its associated data-name, 
  1333.      FILLER, or appropriate data description clause. 
  1334.  
  1335.     Level-numbers 02 through 49 can begin in Areas A or B and must be followed 
  1336.      by a space or a separator period. 
  1337.  
  1338.     Level-numbers 66 and 88 can begin in Areas A or B and must be followed by 
  1339.      a space. 
  1340.  
  1341.   You can substitute single-digit level-numbers 1 through 9 for level-numbers 
  1342.   01 through 09. 
  1343.  
  1344.  
  1345. ΓòÉΓòÉΓòÉ 1.17. EXTERNAL Clause ΓòÉΓòÉΓòÉ
  1346.  
  1347. Description 
  1348.  
  1349.   The EXTERNAL clause specifies that the storage associated with a data item is 
  1350.   associated with the run unit rather than with any particular program within 
  1351.   the run unit. 
  1352.  
  1353.   You can specify the EXTERNAL clause only in data description entries in the 
  1354.   Working-Storage Section whose level-number is 01.  You cannot specify it in 
  1355.   the Linkage Section or in the File Section. 
  1356.  
  1357.  
  1358. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇEXTERNALΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1359.  
  1360.  
  1361. ΓòÉΓòÉΓòÉ 1.18. GLOBAL Clause ΓòÉΓòÉΓòÉ
  1362.  
  1363. Description 
  1364.  
  1365.   The GLOBAL clause specifies that a data-name is available to every program 
  1366.   contained within the program that declares it, as long as the contained 
  1367.   program itself does not have a declaration for that name.  All data-names 
  1368.   subordinate to or condition-names or indexes associated with a global name 
  1369.   are global names. 
  1370.  
  1371.   You can specify the GLOBAL clause in the Working-Storage Section, the File 
  1372.   Section, and the Linkage Section, but only specify this clause in Data 
  1373.   Description Entries whose level-number is 01. 
  1374.  
  1375.  
  1376.     ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇGLOBALΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1377.  
  1378.  
  1379. ΓòÉΓòÉΓòÉ 1.19. BLANK WHEN ZERO Clause ΓòÉΓòÉΓòÉ
  1380.  
  1381. Description 
  1382.   The BLANK WHEN ZERO clause specifies that an item contains nothing but spaces 
  1383.   when its value is zero. You can specify the BLANK WHEN ZERO clause only for 
  1384.   elementary numeric or numeric-edited items (with the exception of external 
  1385.   floating point). These items must be described, either implicitly or 
  1386.   explicitly, as USAGE IS DISPLAY. 
  1387.  
  1388.     Do not specify the BLANK WHEN ZERO clause for level-66 or level-88 items. 
  1389.  
  1390.     Do not specify the BLANK WHEN ZERO clause for the same entry as the 
  1391.      PICTURE symbols S or *. 
  1392.  
  1393.      The BLANK WHEN ZERO clause is not allowed for any of the following: 
  1394.  
  1395.       - Items described with the USAGE IS INDEX clause 
  1396.  
  1397.       - DBCS items 
  1398.  
  1399.       - Items described with the USAGE IS POINTER or USAGE IS PROCEDURE-POINTER 
  1400.         clause 
  1401.  
  1402.       - External or internal floating-point items 
  1403.  
  1404.  
  1405. ΓöÇΓöÇΓöÇBLANKΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇZEROΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  1406.           ΓööWHENΓöÿ Γö£ΓöÇΓöÇZEROSΓöÇΓöÇΓöÇΓöñ
  1407.                  ΓööΓöÇΓöÇZEROESΓöÇΓöÇΓöÿ
  1408.  
  1409.  
  1410. ΓòÉΓòÉΓòÉ 1.20. JUSTIFIED Clause ΓòÉΓòÉΓòÉ
  1411.  
  1412. Description 
  1413.   The JUSTIFIED clause overrides standard positioning rules for a receiving 
  1414.   item of the alphabetic or alphanumeric categories.  You can specify JUSTIFIED 
  1415.   only at the elementary level. 
  1416.  
  1417.   You cannot specify the JUSTIFIED clause for numeric, numeric-edited, or 
  1418.   alphanumeric-edited items.  Also, you cannot specify the JUSTIFIED clause in 
  1419.   descriptions of items described with the USAGE IS INDEX clause. 
  1420.  
  1421.   The JUSTIFIED clause is not allowed for: 
  1422.  
  1423.     Items described as USAGE IS POINTER or USAGE IS PROCEDURE-POINTER 
  1424.  
  1425.     External or internal floating-point items 
  1426.  
  1427.  
  1428. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇJUSTIFIEDΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  1429.      ΓööΓöÇΓöÇJUSTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööRIGHTΓöÿ
  1430.  
  1431.  
  1432. ΓòÉΓòÉΓòÉ 1.21. OCCURS Clause ΓòÉΓòÉΓòÉ
  1433.  
  1434. Description 
  1435.   The OCCURS clause specifies tables whose elements can be referred to by 
  1436.   indexing or subscripting. The OCCURS and USAGE IS INDEX clauses are the two 
  1437.   Data Division clauses used for table handling. 
  1438.  
  1439.   The OCCURS clause cannot be specified in a data description entry that: 
  1440.  
  1441.     Has a level number of 01, 66, 77, or 88 
  1442.  
  1443.     Describes a redefined data item.  However, a redefined item can be 
  1444.      subordinate to an item containing an OCCURS clause. The OCCURS clause has 
  1445.   two formats: 
  1446.  
  1447.     Format 1 (Fixed-length tables) 
  1448.  
  1449.     Format 2 (Variable-length tables) 
  1450.  
  1451.  
  1452. ΓòÉΓòÉΓòÉ <hidden> Format 1 (Fixed-Length Tables) ΓòÉΓòÉΓòÉ
  1453.  
  1454. Description 
  1455.   Format 1 of the OCCURS clause specifies fixed-length tables. 
  1456.  
  1457.     Format 1 (Fixed-Length Tables)
  1458.  
  1459.     ΓöÇΓöÇOCCURS integerΓöÇ2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1460.                          ΓööΓöÇTIMESΓöÇΓöÿ
  1461.  
  1462.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1463.                                                    Γöé
  1464.     ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1465.       Γöé                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  1466.       Γöé                                          Γöé Γöé
  1467.       ΓööΓöÇΓö¼ΓöÇASCENDINGΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇdataΓöÇnameΓöÇ2ΓöÇΓö┤ΓöÇΓöÿ
  1468.         ΓööΓöÇDESCENDINGΓöÇΓöÿ  ΓööΓöÇKEY ISΓöÇΓöÿ
  1469.  
  1470.     ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1471.       Γöé                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  Γöé
  1472.       Γöé                            Γöé  Γöé
  1473.       ΓööΓöÇINDEXEDΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇindexΓöÇnameΓöÇ1ΓöÇΓö┤ΓöÇΓöÇΓöÿ
  1474.                 ΓööΓöÇBYΓöÇΓöÿ
  1475.  
  1476.  
  1477. ΓòÉΓòÉΓòÉ <hidden> ASCENDING/DESCENDING KEY Phrase ΓòÉΓòÉΓòÉ
  1478.  
  1479. With the ASCENDING/DESCENDING KEY phrase, data is arranged in ascending or 
  1480. descending order, depending on the key word specified, according to the values 
  1481. contained in data-name-2. The data-names are listed in their descending order 
  1482. of significance. 
  1483.  
  1484. When you specify the ASCENDING/DESCENDING KEY phrase, the following rules 
  1485. apply: 
  1486.  
  1487.  Keys must be listed in decreasing order of significance. 
  1488.  
  1489.  The total number of keys for a given table element must not exceed 12. 
  1490.  
  1491.  You must arrange the data in the table  in ASCENDING or DESCENDING sequence 
  1492.   according to the collating sequence in use. 
  1493.  
  1494.  A key may have DISPLAY, BINARY, PACKED-DECIMAL, or COMPUTATIONAL usage. 
  1495.  
  1496.  The sum of the lengths of all the keys associated with one table element must 
  1497.   not exceed 255. 
  1498.  
  1499.  A key may have COMPUTATIONAL-1, COMPUTATIONAL-2, COMPUTATIONAL-3, or 
  1500.   COMPUTATIONAL-4 usage. 
  1501.  
  1502.  The ASCENDING/DESCENDING KEY phrase (for a SEARCH ALL statement only) can be 
  1503.   specified in the OCCURS clause for a DBCS item. 
  1504.  
  1505.  A key that is specified without qualifiers and it is not a unique name will 
  1506.   be implicitly qualified with the subject of the OCCURS clause and all 
  1507.   qualifiers of the OCCURS clause subject. 
  1508.  
  1509.  
  1510. ΓòÉΓòÉΓòÉ <hidden> index-name-1 ΓòÉΓòÉΓòÉ
  1511.  
  1512. Index-name-1 must follow the rules for the formation of user-defined words.  At 
  1513. least 1 character must be alphabetic. 
  1514.  
  1515. Each index-name specifies an index to be created by the compiler for use by the 
  1516. program. These index-names are not data-names, and are not identified elsewhere 
  1517. in the COBOL program. Instead, they can be regarded as private special 
  1518. registers for the use of this object program only. As such, they are not data, 
  1519. or part of any data hierarchy.  Each index-name must be unique. 
  1520.  
  1521. In one table entry, up to 12 index-names may be specified. 
  1522.  
  1523.  
  1524. ΓòÉΓòÉΓòÉ <hidden> Format 2 (Variable-Length Tables) ΓòÉΓòÉΓòÉ
  1525.  
  1526. Description 
  1527.   The OCCURS DEPENDING ON clause specifies variable-length tables. 
  1528.  
  1529. Format 2 (Variable-Length Tables)
  1530.  
  1531. ΓöÇΓöÇOCCURSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  1532.                   Γööinteger-1 TOΓöÿ            ΓööΓöÇTIMESΓöÇΓöÿ
  1533.  
  1534. ΓöÇΓöÇDEPENDINGΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼dataΓöÇnameΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1535.              ΓööΓöÇONΓöÇΓöÿ
  1536.  
  1537.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1538.                                                  Γöé
  1539. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1540.     Γöé                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  1541.     Γöé                                          Γöé Γöé
  1542.     ΓööΓöÇΓö¼ΓöÇASCENDINGΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇdataΓöÇnameΓöÇ2ΓöÇΓö┤ΓöÇΓöÿ
  1543.       ΓööΓöÇDESCENDINGΓöÇΓöÿ  ΓööΓöÇKEY ISΓöÇΓöÿ
  1544.  
  1545. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1546.     Γöé                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  Γöé
  1547.     Γöé                            Γöé  Γöé
  1548.     ΓööΓöÇINDEXEDΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇindexΓöÇnameΓöÇ1ΓöÇΓö┤ΓöÇΓöÇΓöÿ
  1549.               ΓööΓöÇBYΓöÇΓöÿ
  1550.  
  1551.  
  1552. ΓòÉΓòÉΓòÉ 1.22. PICTURE Clause ΓòÉΓòÉΓòÉ
  1553.  
  1554. Description 
  1555.   The PICTURE clause specifies the general characteristics and editing 
  1556.   requirements of an elementary item. You must specify a PICTURE clause for 
  1557.   every elementary item except an index data item, the subject of the RENAMES 
  1558.   clause, USAGE COMP-1, and USAGE COMP-2 items. 
  1559.  
  1560.   The PICTURE character string, which may contain a maximum of 30 characters, 
  1561.   is made up of certain COBOL characters used as symbols. The allowable 
  1562.   combinations determine the category of the elementary data item. 
  1563.  
  1564.   Allowable characters include: A, B, E, G, N, P, S, V, X, Z, 9, 0, /, , 
  1565.   (comma), . (period), +, -, CR, DB, *, and  $. 
  1566.  
  1567.  
  1568. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇPICTUREΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇcharacterΓöÇstringΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1569.      ΓööΓöÇΓöÇPICΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ     ΓööΓöÇISΓöÇΓöÿ
  1570.  
  1571.  
  1572. ΓòÉΓòÉΓòÉ 1.23. REDEFINES Clause ΓòÉΓòÉΓòÉ
  1573.  
  1574. Description 
  1575.   The REDEFINES clause allows you to use different description entries to 
  1576.   describe the same computer storage area.  When you specify the REDEFINES 
  1577.   clause, it must be the first entry following data-name-1 or FILLER.  If you 
  1578.   do not specify data-name-1 or FILLER, REDEFINES must be the first entry 
  1579.   following the level-number. 
  1580.  
  1581.   The level-numbers of data-name-1 and data-name-2 must be identical and must 
  1582.   not be level 66 or level 88. 
  1583.  
  1584.  
  1585. ΓöÇΓöÇlevel-numberΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇREDEFINES dataΓöÇnameΓöÇ2ΓöÇΓöÇ
  1586.                   Γö£ΓöÇΓöÇdataΓöÇnameΓöÇ1ΓöÇΓöÇΓöñ
  1587.                   ΓööΓöÇΓöÇFILLERΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1588.  
  1589.  
  1590. ΓòÉΓòÉΓòÉ 1.24. SIGN Clause ΓòÉΓòÉΓòÉ
  1591.  
  1592. Description 
  1593.   The SIGN clause specifies the position and the mode of representation of the 
  1594.   operational sign for a numeric entry.  You can specify SIGN clause only for a 
  1595.   signed numeric data description data entry (that is, one whose PICTURE 
  1596.   character-string contains an S) or for a group item that contains at least 
  1597.   one such elementary entry.  You must specify, explicitly or implicitly, USAGE 
  1598.   IS DISPLAY. 
  1599.  
  1600.   The SIGN clause is treated as documentation for external floating-point 
  1601.   items. For internal floating-point items, the SIGN clause is invalid and will 
  1602.   result in an S-level diagnostic message. 
  1603.  
  1604.  
  1605. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇLEADINGΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  1606.     ΓööΓöÇSIGNΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ ΓööΓöÇTRAILINGΓöÇΓöÿ ΓööSEPARATEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  1607.             ΓööΓöÇISΓöÇΓöÿ                          ΓööCHARACTERΓöÿ
  1608.  
  1609.  
  1610. ΓòÉΓòÉΓòÉ 1.25. SYNCHRONIZED Clause ΓòÉΓòÉΓòÉ
  1611.  
  1612. Description 
  1613.   The SYNCHRONIZED clause specifies the alignment of an elementary item on a 
  1614.   natural boundary in storage. The SYNCHRONIZED clause may appear at the 
  1615.   elementary level or at level-01, in which case every elementary item within 
  1616.   this level-01 item is synchronized. 
  1617.  
  1618.  
  1619. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇSYNCHRONIZEDΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1620.      ΓööΓöÇΓöÇSYNCΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ  Γö£ΓöÇΓöÇLEFTΓöÇΓöÇΓöÇΓöñ
  1621.                          ΓööΓöÇΓöÇRIGHTΓöÇΓöÇΓöÿ
  1622.  
  1623.  
  1624. ΓòÉΓòÉΓòÉ 1.26. USAGE Clause ΓòÉΓòÉΓòÉ
  1625.  
  1626. Description 
  1627.   The USAGE clause specifies the format of a data item in computer storage. 
  1628.  
  1629.   You can specify the USAGE clause for a data description entry with a 
  1630.   level-number other than 66 or 88. However, if you specify USAGE at the group 
  1631.   level, USAGE applies to each elementary item in the group. The usage of an 
  1632.   elementary item must not contradict the usage of a group to which the 
  1633.   elementary item belongs. 
  1634.  
  1635.   The USAGE clause specifies the format in which data is represented in 
  1636.   storage. The format may be restricted if certain Procedure Division 
  1637.   statements are used. 
  1638.  
  1639.   When you do not specify the USAGE clause at either the group or elementary 
  1640.   level, it is assumed that usage is DISPLAY. 
  1641.  
  1642.  
  1643. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇBINARYΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  1644.      ΓööΓöÇΓöÇUSAGEΓöÇΓö¼ΓöÇΓöÇΓö¼Γöÿ  Γö£ΓöÇΓöÇCOMPΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1645.               ΓööISΓöÿ   Γö£ΓöÇΓöÇCOMP-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1646.                      Γö£ΓöÇΓöÇCOMP-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1647.                      Γö£ΓöÇΓöÇCOMP-3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1648.                      Γö£ΓöÇΓöÇCOMP-4ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1649.                      Γö£ΓöÇΓöÇCOMPUTATIONALΓöÇΓöÇΓöÇΓöÇΓöñ
  1650.                      Γö£ΓöÇΓöÇCOMPUTATIONAL-1ΓöÇΓöÇΓöñ
  1651.                      Γö£ΓöÇΓöÇCOMPUTATIONAL-2ΓöÇΓöÇΓöñ
  1652.                      Γö£ΓöÇΓöÇCOMPUTATIONAL-3ΓöÇΓöÇΓöñ
  1653.                      Γö£ΓöÇΓöÇCOMPUTATIONAL-4ΓöÇΓöÇΓöñ
  1654.                      Γö£ΓöÇΓöÇDISPLAYΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1655.                      Γö£ΓöÇΓöÇDISPLAY-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1656.                      Γö£ΓöÇΓöÇINDEXΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1657.                      Γö£ΓöÇΓöÇPACKED-DECIMALΓöÇΓöÇΓöÇΓöñ
  1658.                      Γö£ΓöÇΓöÇPOINTERΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1659.                      ΓööΓöÇΓöÇPROCEDURE-POINTERΓöÿ
  1660.  
  1661.  
  1662. ΓòÉΓòÉΓòÉ 1.27. VALUE Clause ΓòÉΓòÉΓòÉ
  1663.  
  1664. Description 
  1665.   The VALUE clause specifies the initial contents of a data item or the value 
  1666.   or values associated with a condition-name.  The VALUE clause has three 
  1667.   formats: 
  1668.  
  1669.     Format 1 (Literal Value Clause) 
  1670.  
  1671.     Format 2 (Condition-Name Value Clause) 
  1672.  
  1673.     Format 3 (NULL Value Clause) 
  1674.  
  1675.  
  1676. ΓòÉΓòÉΓòÉ <hidden> Literal VALUE Clause ΓòÉΓòÉΓòÉ
  1677.  
  1678. Description 
  1679.   The Literal VALUE Clause specifies the initial value of a data item. 
  1680.  
  1681.   If the item is numeric, all VALUE clause literals must be numeric. 
  1682.  
  1683.   All numeric literals in a VALUE clause of an item must have a value that is 
  1684.   within the range of values indicated by the PICTURE clause for that item. 
  1685.  
  1686.   If the item is an elementary or group alphabetic, alphanumeric, 
  1687.   alphanumeric-edited, or numeric-edited item, the VALUE clause literal must be 
  1688.   non-numeric. 
  1689.  
  1690. Literal VALUE Clause
  1691.  
  1692. ΓöÇΓöÇΓöÇVALUEΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇliteralΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1693.             ΓööΓöÇISΓöÇΓöÿ
  1694.  
  1695.  
  1696. ΓòÉΓòÉΓòÉ <hidden> Condition-Name VALUE Clause (Level-88 Entry) ΓòÉΓòÉΓòÉ
  1697.  
  1698. Description 
  1699.   The Condition-Name VALUE Clause associates a single value, multiple values, 
  1700.   and/or range(s) of values with a condition-name. 
  1701.  
  1702.     Condition-Name VALUE Clause (Level-88 Entry)
  1703.  
  1704.     ΓöÇΓöÇΓöÇ88 conditionΓöÇnameΓöÇΓöÇΓö¼ΓöÇVALUEΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1705.                             Γöé        ΓööΓöÇISΓöÇΓöÿ   Γöé
  1706.                             ΓööΓöÇVALUESΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  1707.                                      ΓööΓöÇAREΓöÇΓöÿ
  1708.  
  1709.         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1710.                                               Γöé
  1711.     ΓöÇΓöÇΓöÇΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇ.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1712.                       ΓööΓö¼ΓöÇTHROUGHΓöÇΓö¼ΓöÇΓöÇliteral-2ΓöÇΓöÇΓöÿ
  1713.                        ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ
  1714.  
  1715.  
  1716. ΓòÉΓòÉΓòÉ <hidden> NULL Value Clause ΓòÉΓòÉΓòÉ
  1717.  
  1718. Description 
  1719.   The Data Description Entry Format 3 (NULL Value Clause) assigns a pointer 
  1720.   data item (an item defined as USAGE IS POINTER or USAGE IS PROCEDURE-POINTER) 
  1721.   with the initial value of an invalid address. NULL/NULLS also applies to 
  1722.   PROCEDURE-POINTER.  The value of NULL is zero. 
  1723.  
  1724.   You can specify VALUE IS NULL only for elementary items that are described 
  1725.   implicitly or explicitly as USAGE IS POINTER or USAGE IS PROCEDURE-POINTER. 
  1726.  
  1727. NULL Value Clause
  1728.  
  1729. ΓöÇΓöÇΓöÇVALUEΓö¼ΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇNULLΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  1730.           ΓööISΓöÿ ΓööΓöÇΓöÇNULLSΓöÇΓöÇΓöÿ
  1731.  
  1732.  
  1733. ΓòÉΓòÉΓòÉ 1.28. Data Division -- File and Sort Description Entries ΓòÉΓòÉΓòÉ
  1734.  
  1735. Description 
  1736.   The File Section defines the structure of data files.  The File Section must 
  1737.   begin with the header FILE SECTION, followed by a separator period. 
  1738.  
  1739.   In a COBOL program, the File Description (FD) Entry (or Sort Description (SD) 
  1740.   Entry for sort/merge files) represents the highest level of organization in 
  1741.   the File Section.  The order in which the optional clauses follow the FD or 
  1742.   SD entry is not important. 
  1743.  
  1744.   The File Section must contain a level indicator for each input and output 
  1745.   file. 
  1746.  
  1747.     For all files except sort/merge, the File Section must contain an FD 
  1748.      entry. 
  1749.     For each sort or merge file, the File Section must contain an SD entry. 
  1750.  
  1751. The File Description Entry has three formats: 
  1752.  
  1753.  Format 1 (Sequential Files) 
  1754.  
  1755.  Format 2 (Relative/Indexed Files) 
  1756.  
  1757.  Format 3 (Sort/Merge Files) 
  1758.  
  1759.  
  1760. ΓòÉΓòÉΓòÉ <hidden> Format 1 (Sequential Files) ΓòÉΓòÉΓòÉ
  1761.  
  1762. Description 
  1763.   The File Section must contain a level indicator for each input and output 
  1764.   file. For all files except sort/merge, the File Section must contain an FD 
  1765.   entry.  The last clause in the FD entry must be immediately followed by a 
  1766.   separator period. 
  1767.  
  1768. Format 1 (Sequential Files)
  1769.  
  1770.   ΓöÇΓöÇFD file-name-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1771.                       ΓööΓö¼ΓöÇΓöÇΓö¼ΓöÇEXTERNALΓöÇΓöÿ  ΓööΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇGLOBALΓöÇΓöÿ
  1772.                        ΓööISΓöÿ               ΓööISΓöÿ
  1773.  
  1774.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  1775.      ΓööΓöÇBLOCKΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-2ΓöÇΓö¼CHARACTERSΓöÇΓöñ
  1776.              ΓööCONTAINSΓöÿΓööinteger-1 TOΓöÿ           ΓööRECORDSΓöÇΓöÇΓöÇΓöÇΓöÿ
  1777.  
  1778.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  1779.      ΓööRECORDΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-3ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 2
  1780.             ΓöéΓööCONTAINSΓöÿ           ΓööCHARACTERSΓöÿ
  1781.             Γö£Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-4 TO integer-5ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 3
  1782.             ΓöéΓööCONTAINSΓöÿ                        ΓööCHARACTERSΓöÿ
  1783.             ΓööΓö¼ΓöÇΓöÇΓö¼ΓöÇVARYINGΓöÇΓö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 4
  1784.              ΓööISΓöÿ         ΓööINΓöÿΓööSIZEΓöÿΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-6ΓöÇΓöÿ
  1785.                                      ΓööFROMΓöÿ
  1786.  
  1787. 1 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  1788. 2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1789.                                                              Γöé
  1790. 3 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1791.                                                              Γöé
  1792. 4 ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  1793.      ΓööTO integer-7Γöÿ ΓööCHARACTERSΓöÿ  ΓööDEPENDINGΓö¼ΓöÇΓöÇΓö¼data-name-1Γöÿ
  1794.                                             ΓööONΓöÿ
  1795.  
  1796.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1797.      ΓööΓöÇLABELΓöÇΓö¼RECORDΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇSTANDARDΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  1798.              Γöé       ΓööISΓöÿ Γöé  Γö£ΓöÇOMITTEDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1799.              ΓööRECORDSΓö¼ΓöÇΓöÇΓöÇΓö¼Γöÿ  ΓöéΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  1800.                      ΓööAREΓöÿ   Γöé            ΓöéΓöé
  1801.                              ΓööΓöÇdata-name-2ΓöÇΓö┤Γöÿ
  1802.  
  1803.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1804.      Γöé           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  1805.      Γöé                                            ΓöéΓöé
  1806.      ΓööΓöÇVALUE OFΓöÇΓöÇΓöÇΓöÇsystem-name-1Γö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇdata-name-3Γö╝Γöÿ
  1807.                                 ΓööISΓöÿ  ΓööΓöÇliteral-1ΓöÇΓöÇΓöÿ
  1808.  
  1809.   ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 5
  1810.     Γöé                   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöéΓööLINAGEΓö¼ΓöÇΓöÇΓö¼Γö¼data-name-5Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ 6
  1811.     Γöé                             ΓöéΓöé       ΓööISΓöÿΓööinteger-8ΓöÇΓöÇΓöÿ
  1812.     ΓööDATAΓö¼RECORDΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇdata-name-4Γö┤Γöÿ
  1813.          Γöé       ΓööISΓöÿ Γöé
  1814.          ΓööRECORDSΓö¼ΓöÇΓöÇΓöÇΓö¼Γöÿ
  1815.                  ΓööAREΓöÿ
  1816.  
  1817. 5 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 7
  1818. 6 ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 8
  1819.      ΓööLINESΓöÿΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼FOOTINGΓö¼ΓöÇΓöÇΓö¼Γö¼data-name-6Γö¼Γöÿ
  1820.              ΓööWITHΓöÿ       ΓööATΓöÿΓööinteger-9ΓöÇΓöÇΓöÿ
  1821.  
  1822. 7 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  1823. 8 Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  1824.    ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼TOPΓö¼data-name-7Γö¼Γöÿ ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼BOTTOMΓö¼data-name-8Γö¼Γöÿ
  1825.     ΓööLINESΓöÿΓööATΓöÿ   Γööinteger-10ΓöÇΓöÿ   ΓööLINESΓöÿΓööATΓöÿ      Γööinteger-11ΓöÇΓöÿ
  1826.  
  1827.   ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1828.     Γöé                       ΓöéΓööCODE-SETΓö¼ΓöÇΓöÇΓö¼alphabet-name-1Γöÿ
  1829.     ΓööRECORDINGΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼modeΓöÿ         ΓööISΓöÿ
  1830.               ΓööMODEΓöÿΓööISΓöÿ
  1831.  
  1832.  
  1833. ΓòÉΓòÉΓòÉ <hidden> Format 2 (Relative/Indexed Files) ΓòÉΓòÉΓòÉ
  1834.  
  1835. Description 
  1836.   The File Section must contain a level indicator for each input and output 
  1837.   file.  For all files except sort/merge, the File Section must contain an FD 
  1838.   entry.  The last clause in the FD entry must be immediately followed by a 
  1839.   separator period. 
  1840.  
  1841. Format 2 (Relative/Indexed Files)
  1842.   ΓöÇΓöÇFD fileΓöÇname-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1843.                       ΓööΓö¼ΓöÇΓöÇΓö¼ΓöÇEXTERNALΓöÇΓöÿ  ΓööΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇGLOBALΓöÇΓöÿ
  1844.                        ΓööISΓöÿ               ΓööISΓöÿ
  1845.  
  1846.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  1847.      ΓööΓöÇBLOCKΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-2ΓöÇΓö¼CHARACTERSΓöÇΓöñ
  1848.              ΓööCONTAINSΓöÿΓööinteger-1 TOΓöÿ           ΓööRECORDSΓöÇΓöÇΓöÇΓöÇΓöÿ
  1849.  
  1850.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  1851.      ΓööRECORDΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-3ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 2
  1852.             ΓöéΓööCONTAINSΓöÿ           ΓööCHARACTERSΓöÿ
  1853.             Γö£Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-4 TO integer-5ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ 3
  1854.             ΓöéΓööCONTAINSΓöÿ                        ΓööCHARACTERSΓöÿ
  1855.             ΓööΓö¼ΓöÇΓöÇΓö¼ΓöÇVARYINGΓöÇΓö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 4
  1856.              ΓööISΓöÿ         ΓööINΓöÿΓööSIZEΓöÿΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-6ΓöÇΓöÿ
  1857.                                      ΓööFROMΓöÇΓöÿ
  1858.  
  1859. 1 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  1860. 2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1861.                                                              Γöé
  1862. 3 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1863.                                                              Γöé
  1864. 4 ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  1865.      ΓööTO integer-7Γöÿ ΓööCHARACTERSΓöÿ  ΓööDEPENDINGΓö¼ΓöÇΓöÇΓö¼data-name-1Γöÿ
  1866.                                             ΓööONΓöÿ
  1867.  
  1868.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1869.      ΓööΓöÇLABELΓöÇΓö¼ΓöÇRECORDΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼ΓöÇSTANDARDΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  1870.              Γöé        ΓööISΓöÇΓöÿΓöé  Γöé              Γöé
  1871.              ΓööΓöÇRECORDSΓö¼ΓöÇΓöÇΓöÇΓö¼Γöÿ  ΓööΓöÇOMITTEDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1872.                       ΓööAREΓöÿ
  1873.  
  1874.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1875.      Γöé           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  1876.      Γöé                                           Γöé Γöé
  1877.      ΓööΓöÇVALUE OFΓöÇΓöÇΓöÇΓöÇsystem-name-1Γö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇdata-name-3ΓöÇΓö╝ΓöÇΓöÿ
  1878.                                 ΓööISΓöÿΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÿ
  1879.  
  1880.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1881.      Γöé                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  1882.      Γöé                                Γöé Γöé
  1883.      ΓööDATAΓöÇΓö¼ΓöÇRECORDΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇdata-name-4ΓöÇΓö┤ΓöÇΓöÿ
  1884.            Γöé        ΓööISΓöÇΓöÿΓöé
  1885.            ΓööΓöÇRECORDSΓö¼ΓöÇΓöÇΓöÇΓö¼Γöÿ
  1886.                     ΓööAREΓöÿ
  1887.  
  1888.  
  1889. ΓòÉΓòÉΓòÉ <hidden> Format 3 (Sort/Merge Files) ΓòÉΓòÉΓòÉ
  1890.  
  1891. Description 
  1892.   The File Section must contain a level indicator for each input and output 
  1893.   file.  For each sort or merge file, the File Section must contain an SD 
  1894.   entry. 
  1895.  
  1896.   You must write an SD entry for each sort or merge file in the program. The 
  1897.   last clause in the SD entry must be immediately followed by a separator 
  1898.   period. The following example illustrates a File Section entry for a sort or 
  1899.   merge file: 
  1900.  
  1901.    SD  SORT-FILE.
  1902.    01  SORT-RECORD   PICTURE X(80).
  1903.  
  1904. Format 3 (Sort/Merge Files)
  1905.  
  1906.   ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇSD file-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1907.  
  1908.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  1909.      ΓööRECORDΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-3ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 2
  1910.             ΓöéΓööCONTAINSΓöÿ           ΓööCHARACTERSΓöÿ
  1911.             Γö£Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-4 TO integer-5ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ 3
  1912.             ΓöéΓööCONTAINSΓöÿ                        ΓööCHARACTERSΓöÿ
  1913.             ΓööΓö¼ΓöÇΓöÇΓö¼ΓöÇVARYINGΓöÇΓö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 4
  1914.              ΓööISΓöÿ         ΓööINΓöÿΓööSIZEΓöÿΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇinteger-6ΓöÇΓöÿ
  1915.                                      ΓööFROMΓöÿ
  1916.  
  1917. 1 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  1918. 2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1919.                                                             Γöé
  1920. 3 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1921.                                                             Γöé
  1922. 4 ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  1923.      ΓööTO integer-7Γöÿ ΓööCHARACTERSΓöÿ  ΓööDEPENDINGΓö¼ΓöÇΓöÇΓö¼data-name-1Γöÿ
  1924.                                             ΓööONΓöÿ
  1925.  
  1926.   ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1927.      Γöé                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  1928.      Γöé                                Γöé Γöé
  1929.      ΓööDATAΓöÇΓö¼ΓöÇRECORDΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇdata-name-4ΓöÇΓö┤ΓöÇΓöÿ
  1930.            Γöé        ΓööISΓöÇΓöÿΓöé
  1931.            ΓööΓöÇRECORDSΓö¼ΓöÇΓöÇΓöÇΓö¼Γöÿ
  1932.                     ΓööAREΓöÿ
  1933.  
  1934.  
  1935. ΓòÉΓòÉΓòÉ 1.29. RECORD Clause ΓòÉΓòÉΓòÉ
  1936.  
  1937. The RECORD Clause has three formats: 
  1938.  
  1939. Format 1 specifies the number of character positions for fixed-length records: 
  1940.  
  1941. ΓöÇΓöÇΓöÇRECORDΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼integer-3Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  1942.            ΓööCONTAINSΓöÿ         ΓööCHARACTERSΓöÿ
  1943.  
  1944. Format 2 specifies the number of character positions for either fixed or 
  1945. variable-length records. Fixed-length records are obtained when all 01 record 
  1946. description entry lengths are the same.  The Format 2 RECORD CONTAINS clause is 
  1947. never required, because the minimum and maximum record lengths are determined 
  1948. from the record description entries. 
  1949.  
  1950. ΓöÇΓöÇΓöÇRECORDΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼integer-4 TO integer-5ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  1951.            ΓööCONTAINSΓöÿ                       ΓööCHARACTERSΓöÿ
  1952.  
  1953. Format 3 specifies variable-length records: 
  1954.  
  1955. ΓöÇRECORDΓö¼ΓöÇΓöÇΓö¼VARYINGΓö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  1956.          ΓööISΓöÿ       ΓööINΓöÿΓööSIZEΓöÿΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼integer-6ΓöÿΓööTO integer-7ΓöÿΓööCHARACTERSΓöÿ
  1957.                                ΓööFROMΓöÿ
  1958. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1959.    ΓööΓöÇDEPENDINGΓö¼ΓöÇΓöÇΓö¼data-name-1ΓöÇΓöÿ
  1960.               ΓööONΓöÿ
  1961.  
  1962.  
  1963. ΓòÉΓòÉΓòÉ <hidden> RECORDING MODE Clause ΓòÉΓòÉΓòÉ
  1964.  
  1965. The RECORDING MODE clause specifies the format of the physical records in a 
  1966. QSAM file.  The clause is ignored for a VSAM file. 
  1967.  
  1968. The permitted values for RECORDING MODE are: 
  1969.  
  1970. Recording Mode F (Fixed): All the records in a file are the same length, and 
  1971.           each is wholly contained within one block. 
  1972.  
  1973. Recording Mode V (Variable): The records may be either fixed or variable in 
  1974.           length, and each must be wholly contained within one block. 
  1975.  
  1976. Recording Mode U (Fixed or Variable): The records may be either fixed or 
  1977.           variable in length. 
  1978.  
  1979. Recording Mode S (Spanned): The records may be either fixed or variable in 
  1980.           length and may be larger than a block. 
  1981.  
  1982.  
  1983. ΓòÉΓòÉΓòÉ 1.30. Procedure Division ΓòÉΓòÉΓòÉ
  1984.  
  1985. Description 
  1986.   The Procedure Division is optional in a COBOL source program.  The Procedure 
  1987.   Division consists of optional declaratives, and procedures that contain 
  1988.   sections and/or paragraphs, sentences, and statements. 
  1989.  
  1990.   The Procedure Division has two formats: 
  1991.  
  1992.     Procedure Division (Format 1) 
  1993.  
  1994.     Procedure Division (Format 2) 
  1995.  
  1996. Click here for help with individual Procedure Division Statements. 
  1997.  
  1998.  
  1999. ΓòÉΓòÉΓòÉ 1.31. Procedure Division (Format 1) ΓòÉΓòÉΓòÉ
  2000.  
  2001. Description 
  2002.   The structure of the Procedure Division (Format 1) is as follows: 
  2003.  
  2004. ΓöÇΓöÇΓöÇPROCEDURE DIVISIONΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ.ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2005.                         Γöé       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  2006.                         Γöé                Γöé Γöé
  2007.                         ΓööΓöÇUSING data-name-1ΓöÇΓöÿ
  2008.  
  2009. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  2010.    Γöé               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2011.    Γöé                                           Γöé
  2012.    ΓööΓöÇDECLARATIVES. sect. USE statement.ΓöÇΓöÇparaΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇ 2
  2013.  
  2014. 1 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2015.                               Γöé
  2016.                               Γöé
  2017. 2 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇEND DECLARATIVES. ΓöÇΓöÇΓöÿ
  2018.  
  2019.       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2020.                        Γöé
  2021. ΓöÇΓöÇΓöÇΓöÇΓöÇsect.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇparaΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2022.  
  2023.  
  2024. where sect is:
  2025.  
  2026.   ΓöÇΓöÇΓöÇΓöÇΓöÇsect-name SECTIONΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2027.                           ΓööΓöÇpriority-numberΓöÇΓöÿ
  2028. where para is:
  2029.  
  2030.   ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2031.         Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  2032.         Γöé                        Γöé Γöé
  2033.         ΓööΓöÇpara-name. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÿ
  2034.                       Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  2035.                       Γöé        Γöé Γöé
  2036.                       ΓööΓöÇstatementΓöÇΓöÿ
  2037.  
  2038.  
  2039. ΓòÉΓòÉΓòÉ 1.32. Procedure Division (Format 2) ΓòÉΓòÉΓòÉ
  2040.  
  2041. Description 
  2042.   The structure of the Procedure Division (Format 2) is as follows: 
  2043.  
  2044.                                                 ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2045.                                                                         Γöé
  2046. ΓöÇPROCEDURE DIVISIONΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ. paraΓöÇname. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ
  2047.                       Γöé       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé               Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  2048.                       Γöé                  Γöé Γöé               Γöé         Γöé Γöé
  2049.                       ΓööΓöÇUSING dataΓöÇnameΓöÇ1ΓöÇΓö┤ΓöÇΓöÿ               ΓööΓöÇstatementΓö┤ΓöÇΓöÿ
  2050.  
  2051.  
  2052. ΓòÉΓòÉΓòÉ 1.33. USING Phrase ΓòÉΓòÉΓòÉ
  2053.  
  2054. Description 
  2055.  
  2056.     The USING phrase makes data items defined in a calling program available 
  2057.      to a called subprogram. The USING phrase is required only if the object 
  2058.      program is to be invoked by a CALL statement and that statement includes a 
  2059.      USING phrase. 
  2060.  
  2061.     Each USING identifier in a calling program may be a data item of any level 
  2062.      in the Data Division. 
  2063.  
  2064.     An identifier may appear more than once in a Procedure Division USING 
  2065.      phrase. The last value passed to it by a CALL USING statement is used. 
  2066.  
  2067.     Data items defined in the Linkage Section of the called program may be 
  2068.      referenced within the Procedure Division of that program if, and only if, 
  2069.      they satisfy one of the following conditions: 
  2070.  
  2071.       - They are operands of the USING phrase of the Procedure Division header 
  2072.         or the ENTRY statement. 
  2073.  
  2074.       - They are operands of ADDRESS OF or CALL . . . BY REFERENCE ADDRESS OF. 
  2075.  
  2076.       - They are defined with a REDEFINES or RENAMES clause, the object of 
  2077.         which satisfies the above conditions. 
  2078.  
  2079.       - They are items subordinate to any item that satisfies the condition in 
  2080.         the rules above. 
  2081.  
  2082.       - They are condition-names or index-names associated with data items that 
  2083.         satisfy any of the above conditions. 
  2084.  
  2085. The USING phrase is valid with the following: 
  2086.  
  2087.  The Procedure Division header of a called subprogram: 
  2088.  
  2089.   The USING phrase is valid in the Procedure Division header of a called 
  2090.   subprogram entered at the beginning of the nondeclaratives portion; each 
  2091.   USING identifier must be defined as a level-01 or level-77 item in the 
  2092.   Linkage Section of the called subprogram. 
  2093.  
  2094.   A data item in the USING phrase of the Procedure Division header may have a 
  2095.   REDEFINES clause in its data description entry. 
  2096.  
  2097.  The ENTRY statement of a called subprogram: 
  2098.  
  2099.   In a called subprogram entered at the first executable statement following 
  2100.   and ENTRY statement, the USING option is valid in the ENTRY statement; each 
  2101.   USING identifier must be defined as a level-01 or level-77 item in the 
  2102.   Linkage Section of the called subprogram. 
  2103.  
  2104.  The CALL statement of a called subprogram: 
  2105.  
  2106.   In a calling program, the USING phrase is valid for the CALL statement; each 
  2107.   USING identifier must be defined as a level-01, level-77, or an elementary 
  2108.   item in the Data Division. 
  2109.  
  2110.   The USING phrase is specified in the Procedure Division header if, and only 
  2111.   if, this program is a subprogram invoked by a CALL statement that itself 
  2112.   contains a USING phrase. That is, for each CALL USING statement in a calling 
  2113.   program, a corresponding USING phrase must be specified in a called 
  2114.   subprogram. 
  2115.  
  2116.   The identifiers specified in a CALL USING statement name data items available 
  2117.   to the calling program that may be referred to in the called program; a given 
  2118.   identifier may appear more than once.  These items are defined in any Data 
  2119.   Division section. 
  2120.  
  2121.  
  2122. ΓòÉΓòÉΓòÉ 1.34. DECLARATIVES ΓòÉΓòÉΓòÉ
  2123.  
  2124. Description 
  2125.   Declaratives provide one or more special-purpose sections that are executed 
  2126.   when an exception condition occurs. 
  2127.  
  2128.     Preface the entire group of Declarative Sections with the key word 
  2129.      DECLARATIVES. Write it on the line after the Procedure Division header. 
  2130.      Specify the end of the group with the key words END DECLARATIVES.  The key 
  2131.      words DECLARATIVES and END DECLARATIVES must begin in Area A and be 
  2132.      followed by a separator period. No other text may appear on the same 
  2133.      line.. 
  2134.  
  2135.     When you specify Declarative Sections, you must group them at the 
  2136.      beginning of the Procedure Division. When Declarative Sections are 
  2137.      specified, you need not divide the entire Procedure Division into 
  2138.      sections. 
  2139.  
  2140.     Begin each Declarative Section with a USE sentence that identifies the 
  2141.      section's function.  When an exception condition occurs, the series of 
  2142.      procedures that follow the USE sentence specify the actions to be taken. 
  2143.      End each Declarative Section with another section-name followed by a USE 
  2144.      sentence, or with the key words END DECLARATIVES. 
  2145.  
  2146.  
  2147. ΓòÉΓòÉΓòÉ 1.35. Procedure Division Statements ΓòÉΓòÉΓòÉ
  2148.  
  2149. Description 
  2150.   A Procedure Division statement is a syntactically valid combination of 
  2151.   identifiers and symbols (literals, relational-operators, and so forth) 
  2152.   beginning with a COBOL verb. 
  2153.  
  2154.   There are four categories of statements: 
  2155.  
  2156.     Imperative: Specifies an unconditional action to be taken by the program, 
  2157.      or is a conditional statement terminated by its explicit scope terminator. 
  2158.  
  2159.     Conditional: Specifies that the truth value of a condition is to be 
  2160.      determined, and that the subsequent action of the object program is 
  2161.      dependent on this truth value. 
  2162.  
  2163.     Delimited scope: Uses an explicit scope terminator to turn a conditional 
  2164.      statement into an imperative statement; the resulting imperative statement 
  2165.      can then be nested. Explicit scope terminators may also be used, however, 
  2166.      to terminate the scope of an imperative statement. 
  2167.  
  2168.     Compiler-directing: Directs the compiler to take specific actions during 
  2169.      compilation of the program. 
  2170.  
  2171.   COBOL statements can also be categorized according to the type of operations 
  2172.   they perform: 
  2173.  
  2174.     Arithmetic statements perform computations. 
  2175.  
  2176.     Data manipulation statements move and inspect data. 
  2177.  
  2178.     Input/output statements transfer data to and from files stored on external 
  2179.      media, and control low-volume data that is obtained from or sent to an 
  2180.      input/output device. 
  2181.  
  2182.     Procedure-branching statements allow statements, sentences, and paragraphs 
  2183.      in the Procedure Division to be executed non-sequentially. 
  2184.  
  2185. For help with individual Procedure Division statements, select from the 
  2186. following list. 
  2187.  
  2188. ACCEPT                             INSPECT 
  2189. ADD                                MERGE 
  2190. ALTER                              MOVE 
  2191. CALL                               MULTIPLY 
  2192. CANCEL                             OPEN 
  2193. CLOSE                              PERFORM 
  2194. COMPUTE                            READ 
  2195. CONTINUE                           RELEASE 
  2196. DELETE                             RETURN 
  2197. DISPLAY                            REWRITE 
  2198. DIVIDE                             SEARCH 
  2199. ENTER                              SET 
  2200. ENTRY                              SORT 
  2201. EVALUATE                           START 
  2202. EXIT                               STOP 
  2203. EXIT PROGRAM                       STRING 
  2204. GOBACK                             SUBTRACT 
  2205. GO TO                              UNSTRING 
  2206. IF                                 WRITE 
  2207. INITIALIZE 
  2208.  
  2209.  
  2210. ΓòÉΓòÉΓòÉ 1.36. ACCEPT Statement ΓòÉΓòÉΓòÉ
  2211.  
  2212. Description 
  2213.   The ACCEPT statement transfers data into the specified identifier.  There is 
  2214.   no editing or error checking of the incoming data. The ACCEPT statement has 
  2215.   two formats: 
  2216.  
  2217.     Format 1 (Data Transfer) 
  2218.  
  2219.     Format 2 (System Information Transfer) 
  2220.  
  2221.  
  2222. ΓòÉΓòÉΓòÉ <hidden> Format 1 (Data Transfer) ΓòÉΓòÉΓòÉ
  2223.  
  2224. Description 
  2225.  
  2226.   Format 1 of the ACCEPT statement transfers data from an input/output device 
  2227.   into the specified identifier.  When you omit the FROM phrase, the system 
  2228.   input device is assumed. 
  2229.  
  2230.    Format 1 is useful for exceptional situations when operator intervention (to 
  2231.   supply a given message, code, or exception indicator) is required. The 
  2232.   operator must have the appropriate messages with which to reply. 
  2233.  
  2234. Format 1 (Data Transfer Format)
  2235.  
  2236. ΓöÇΓöÇACCEPT identifier ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2237.                         ΓööΓöÇFROMΓöÇΓö¼ΓöÇΓöÇmnemonicΓöÇnameΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÿ
  2238.                                ΓööΓöÇΓöÇenvironmentΓöÇnameΓöÇΓöÇΓöÿ
  2239.  
  2240.  
  2241. ΓòÉΓòÉΓòÉ 1.37. Format 2 (System Information Transfer) ΓòÉΓòÉΓòÉ
  2242.  
  2243. Description 
  2244.   Format 2 of the ACCEPT statement transfers system information contained in 
  2245.   the specified conceptual data items DATE, DAY, DAY-OF-WEEK, or TIME into the 
  2246.   identifier. The transfer must follow the rules for the MOVE statement without 
  2247.   the CORRESPONDING phrase. 
  2248.  
  2249.   Format 2 is useful for transferring system information into the identifier. 
  2250.   Follow the rules for the MOVE statement without the CORRESPONDING phrase when 
  2251.   making the transfer. 
  2252.  
  2253. Format 2 (System Information Transfer Format)
  2254.  
  2255. ΓöÇΓöÇACCEPT identifier FROMΓöÇΓöÇΓö¼ΓöÇΓöÇDATEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  2256.                             Γö£ΓöÇΓöÇDAYΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2257.                             Γö£ΓöÇΓöÇDAYΓöÇOFΓöÇWEEKΓöÇΓöÇΓöñ
  2258.                             ΓööΓöÇΓöÇTIMEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2259.  
  2260.  
  2261. ΓòÉΓòÉΓòÉ 1.38. ADD Statement ΓòÉΓòÉΓòÉ
  2262.  
  2263. Description 
  2264.   The ADD statement sums two or more numeric operands and stores the results. 
  2265.  
  2266.     Format 1 (ADD) 
  2267.  
  2268.     Format 2 (ADD with GIVING) 
  2269.  
  2270.     Format 3 (ADD with CORRESPONDING) 
  2271.  
  2272.  
  2273. ΓòÉΓòÉΓòÉ <hidden> Format 1 (ADD) ΓòÉΓòÉΓòÉ
  2274.  
  2275. Description 
  2276.   In Format 1, all identifiers or literals preceding the word TO are added 
  2277.   together; the resulting sum is added to and stored in identifier-2. This 
  2278.   process is repeated for each successive occurrence of identifier-2, in the 
  2279.   left-to-right order in which identifier-2 is specified. 
  2280.  
  2281. Format 1 (ADD)
  2282.  
  2283.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2284.                           Γöé                               Γöé
  2285. ΓöÇΓöÇΓöÇADDΓöÇΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ1ΓöÇΓöÇΓö╝ΓöÇΓöÇTOΓöÇΓöÇidentifierΓöÇ2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2286.           ΓööΓöÇΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ                    ΓööΓöÇΓöÇROUNDEDΓöÇΓöÇΓöÿ
  2287.  
  2288. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2289.      ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÿ
  2290.         ΓööΓöÇONΓöÇΓöÿ
  2291.  
  2292. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2293.     ΓööΓöÇNOTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2294.             ΓööΓöÇONΓöÇΓöÿ
  2295.  
  2296.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2297.     ΓööΓöÇENDΓöÇADDΓöÇΓöÿ
  2298.  
  2299.  
  2300. ΓòÉΓòÉΓòÉ <hidden> Format 2 (ADD with GIVING) ΓòÉΓòÉΓòÉ
  2301.  
  2302. Description 
  2303.   In Format 2, the values of the operands preceding the word GIVING are added 
  2304.   together, and the sum is stored as the new value of each data item referenced 
  2305.   by identifier-3. 
  2306.  
  2307. Format 2 (ADD with GIVING)
  2308.  
  2309.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2310.                           Γöé
  2311. ΓöÇΓöÇΓöÇADDΓöÇΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ1ΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2312.           ΓööΓöÇΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇTOΓöÇΓöÿ     ΓööΓöÇΓöÇliteralΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2313.  
  2314.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2315.                                      Γöé
  2316. ΓöÇΓöÇGIVINGΓöÇΓöÇΓöÇidentifierΓöÇ3ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2317.                           ΓööΓöÇΓöÇROUNDEDΓöÇΓöÇΓöÿ
  2318.  
  2319. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2320.      ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÿ
  2321.         ΓööΓöÇONΓöÇΓöÿ
  2322.  
  2323. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2324.     ΓööΓöÇNOTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2325.             ΓööΓöÇONΓöÇΓöÿ
  2326.  
  2327.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2328.     ΓööΓöÇENDΓöÇADDΓöÇΓöÿ
  2329.  
  2330.  
  2331. ΓòÉΓòÉΓòÉ <hidden> Format 3 (ADD with CORRESPONDING) ΓòÉΓòÉΓòÉ
  2332.  
  2333. Description 
  2334.   In Format 3, elementary data items within identifier-1 are added to and 
  2335.   stored in the corresponding elementary items within identifier-2. 
  2336.  
  2337. Format 3 (ADD with CORRESPONDING)
  2338.  
  2339. ΓöÇΓöÇΓöÇADDΓöÇΓöÇΓö¼ΓöÇCORRESPONDINGΓöÇΓö¼ΓöÇidentifierΓöÇ1 TO identifierΓöÇ2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  2340.           ΓööΓöÇCORRΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ                               ΓööΓöÇROUNDEDΓöÇΓöÿ
  2341.  
  2342. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2343.      ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÿ
  2344.         ΓööΓöÇONΓöÇΓöÿ
  2345.  
  2346. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2347.     ΓööΓöÇNOTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2348.             ΓööΓöÇONΓöÇΓöÿ
  2349.  
  2350.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2351.     ΓööΓöÇEND-ADDΓöÇΓöÿ
  2352.  
  2353.  
  2354. ΓòÉΓòÉΓòÉ 1.39. ALTER Statement ΓòÉΓòÉΓòÉ
  2355.  
  2356. Description 
  2357.   The ALTER statement changes the transfer point specified in a GO TO 
  2358.   statement. 
  2359.  
  2360.   Note:   The ALTER statement is an obsolete language element and encourages 
  2361.   the use of unstructured programming practices. It is to be deleted from the 
  2362.   next revision of the COBOL 85 Standard. The EVALUATE statement provides the 
  2363.   same function as the ALTER statement and helps ensure that your program will 
  2364.   be well structured. 
  2365.  
  2366. Format
  2367.  
  2368.            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2369.                                                                  Γöé
  2370. ΓöÇΓöÇΓöÇALTER procedureΓöÇnameΓöÇ1 TOΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇprocedureΓöÇnameΓöÇ2Γö┤ΓöÇΓöÇ
  2371.                                 ΓööΓöÇΓöÇPROCEED TOΓöÇΓöÇΓöÿ
  2372.  
  2373.  
  2374. ΓòÉΓòÉΓòÉ 1.40. CALL Statement ΓòÉΓòÉΓòÉ
  2375.  
  2376. Description 
  2377.   The CALL statement transfers control from one object program to another 
  2378.   within the run unit. 
  2379.  
  2380.   The program containing the CALL statement is the calling program; the program 
  2381.   identified in the CALL statement is the called subprogram. 
  2382.  
  2383.   Called programs may contain CALL statements; however, a called program must 
  2384.   not execute a CALL statement that directly or indirectly calls the calling 
  2385.   program. 
  2386.  
  2387.   You can use the CALL statement to take advantage of Language Environment/370 
  2388.   Callable Services. For more information, see the COBOL/370 Programming Guide 
  2389.   or the CEL User's Guide. 
  2390.  
  2391.     Format 1 (CALL) 
  2392.  
  2393.     Format 2 (CALL ON EXCEPTION) 
  2394.  
  2395.  
  2396. ΓòÉΓòÉΓòÉ <hidden> Format 1 (CALL) ΓòÉΓòÉΓòÉ
  2397.  
  2398. Description 
  2399.   The program containing the CALL statement is the calling program; the program 
  2400.   identified in the CALL statement is the called subprogram. 
  2401.  
  2402. Format 1 (CALL)
  2403.  
  2404. ΓöÇΓöÇCALLΓöÇΓöÇΓö¼ΓöÇΓöÇidentifier-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2405.           ΓööΓöÇΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2406.  
  2407. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  2408.    Γöé        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  2409.    Γöé        Γöé                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöéΓöé
  2410.    Γöé                                                         ΓöéΓöéΓöé
  2411.    ΓööΓöÇUSINGΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼identifier-2Γö╝Γö╝Γöÿ
  2412.             Γöé ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇREFERENCEΓöÇΓöÇΓöÿ Γö£ΓöÇADDRESS OFΓöÇΓöÇΓöÿ            ΓöéΓöé
  2413.             Γöé   ΓööΓöÇBYΓöÇΓöÿ              ΓööΓöÇfile-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿΓöé
  2414.             Γöé                                                   Γöé
  2415.             Γöé               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  2416.             Γöé                                                 ΓöéΓöé
  2417.             ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇCONTENTΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇidentifier-2Γö╝Γöÿ
  2418.              ΓööΓöÇBYΓöÇΓöÿ         Γöé  Γö£ADDRESS OFΓöñ                    Γöé
  2419.                             Γöé  ΓööLENGTH OFΓöÇΓöÿ                    Γöé
  2420.                             ΓööΓöÇΓöÇΓöÇΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2421.  
  2422. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2423.    ΓööΓöÇΓö¼ΓöÇΓöÇΓö¼OVERFLOW imperative-statement-1ΓöÇΓöÇΓöÿ
  2424.      ΓööONΓöÿ
  2425.  
  2426. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2427.    ΓööΓöÇΓöÇENDΓöÇCALLΓöÇΓöÇΓöÿ
  2428.  
  2429.  
  2430. ΓòÉΓòÉΓòÉ <hidden> Format 2 (CALL ON EXCEPTION) ΓòÉΓòÉΓòÉ
  2431.  
  2432. Description 
  2433.   The program containing the CALL statement is the calling program; the program 
  2434.   identified in the CALL statement is the called subprogram. 
  2435.  
  2436. Format 2 (CALL ON EXCEPTION)
  2437.  
  2438. ΓöÇΓöÇCALLΓöÇΓöÇΓö¼ΓöÇΓöÇidentifier-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2439.           ΓööΓöÇΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2440.  
  2441. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  2442.    Γöé        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  2443.    Γöé        Γöé                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ ΓöéΓöé
  2444.    Γöé                                                        Γöé ΓöéΓöé
  2445.    ΓööΓöÇUSINGΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇidentifier-2Γö╝ΓöÇΓö╝Γöÿ
  2446.             Γöé ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇREFERENCEΓöÇΓöÿΓö£ΓöÇADDRESS OFΓöÇΓöÇΓöÿ             Γöé Γöé
  2447.             Γöé   ΓööΓöÇBYΓöÇΓöÿ            ΓööΓöÇfile-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ Γöé
  2448.             Γöé                                                   Γöé
  2449.             Γöé                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  2450.             Γöé                                                 ΓöéΓöé
  2451.             ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇCONTENTΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇidentifier-2ΓöÇΓö╝Γöÿ
  2452.               ΓööΓöÇBYΓöÇΓöÿ         Γöé Γö£ΓöÇADDRESS OFΓöÇΓöñ                  Γöé
  2453.                              Γöé ΓööΓöÇLENGTH OFΓöÇΓöÇΓöÿ                  Γöé
  2454.                              ΓööΓöÇΓöÇΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2455.  
  2456. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2457.    ΓööΓöÇΓö¼ΓöÇΓöÇΓö¼EXCEPTION imperative-statement-1ΓöÇΓöÇΓöÿ
  2458.      ΓööONΓöÿ
  2459. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2460.    ΓööΓöÇΓöÇNOTΓö¼ΓöÇΓöÇΓö¼EXCEPTION imperative-statement-2ΓöÇΓöÇΓöÿ
  2461.          ΓööONΓöÿ
  2462. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2463.    ΓööΓöÇΓöÇENDΓöÇCALLΓöÇΓöÇΓöÿ
  2464.  
  2465.  
  2466. ΓòÉΓòÉΓòÉ 1.41. CANCEL Statement ΓòÉΓòÉΓòÉ
  2467.  
  2468. Description 
  2469.   The CANCEL statement ensures that the next time the referenced subprogram is 
  2470.   called, it will be entered in its initial state. 
  2471.  
  2472.   No action is taken when you use a CANCEL statement to cancel the following 
  2473.   types of programs: 
  2474.  
  2475.     A program that has not been dynamically called in this run unit by another 
  2476.      COBOL/370, VS COBOL II, or OS/VS COBOL program, or 
  2477.  
  2478.     A program that has been called and subsequently canceled. 
  2479.  
  2480.  
  2481.               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2482.               Γöé                Γöé
  2483.                               Γöé
  2484. ΓöÇΓöÇΓöÇΓöÇCANCELΓöÇΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ1ΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2485.               ΓööΓöÇΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2486.  
  2487.  
  2488. ΓòÉΓòÉΓòÉ 1.42. CLOSE Statement ΓòÉΓòÉΓòÉ
  2489.  
  2490. Description 
  2491.   The CLOSE statement terminates the processing of volumes and files, with 
  2492.   optional rewind and/or lock or removal, where applicable.  With file lock, 
  2493.   the compiler ensures that this file cannot be opened again during execution 
  2494.   of the object program. 
  2495.  
  2496.     Format 1 (Sequential Files) 
  2497.  
  2498.     Format 2 (Indexed and Relative Files) 
  2499.  
  2500.  
  2501. ΓòÉΓòÉΓòÉ <hidden> Format 1 (Sequential Files Format) ΓòÉΓòÉΓòÉ
  2502.  
  2503. Description 
  2504.   The CLOSE statement terminates the processing of volumes and files, with 
  2505.   optional rewind and/or lock or removal, where applicable.  With file lock, 
  2506.   the compiler ensures that this file cannot be opened again during execution 
  2507.   of the object program. 
  2508.  
  2509. Format 1 (Sequential Files)
  2510.  
  2511.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2512.                                                                 Γöé
  2513. ΓöÇΓöÇCLOSE file-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇ
  2514.                       ΓööΓö¼ΓöÇΓö¼ΓöÇREELΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÿ
  2515.                        Γöé ΓööΓöÇUNITΓöÇΓöÿ    Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇREMOVALΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ  Γöé
  2516.                        Γöé             ΓööΓöÇFORΓöÇΓöÿ                 Γöé
  2517.                        ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇNO REWINDΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2518.                          ΓööΓöÇWITHΓöÇΓöÿ     ΓööΓöÇLOCKΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2519.  
  2520.  
  2521. ΓòÉΓòÉΓòÉ <hidden> Format 2 (Indexed and Relative Files) ΓòÉΓòÉΓòÉ
  2522.  
  2523. Description 
  2524.   The CLOSE statement terminates the processing of volumes and files, with 
  2525.   optional rewind and/or lock or removal, where applicable.  You may execute it 
  2526.   only for a file in an open mode. 
  2527.  
  2528. Format 2 (Indexed and Relative Files Format)
  2529.  
  2530.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2531.                                            Γöé
  2532. ΓöÇΓöÇCLOSE fileΓöÇnameΓöÇ1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2533.                       ΓööΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇLOCKΓöÇΓöÇΓöÿ
  2534.                            ΓööΓöÇWITHΓöÇΓöÿ
  2535.  
  2536.  
  2537. ΓòÉΓòÉΓòÉ 1.43. COMPUTE Statement ΓòÉΓòÉΓòÉ
  2538.  
  2539. Description 
  2540.   The COMPUTE statement assigns the value of an arithmetic expression to one or 
  2541.   more data items.  It allows you to combine arithmetic operations without the 
  2542.   restrictions on receiving data items that the rules for the ADD, SUBTRACT, 
  2543.   MULTIPLY, and DIVIDE statements impose.  When you need to combine arithmetic 
  2544.   operations, using the COMPUTE statement may be more efficient than writing a 
  2545.   series of separate arithmetic statements. 
  2546.  
  2547.  
  2548.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2549.                                      Γöé
  2550. ΓöÇΓöÇΓöÇCOMPUTE identifierΓöÇ1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2551.                            ΓööΓöÇROUNDEDΓöÇΓöÇΓöÿ
  2552.  
  2553. ΓöÇΓöÇΓö¼ = ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇarithmeticΓöÇexpressionΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2554.     ΓööΓöÇEQUALΓöÇΓöÿ
  2555.  
  2556.  
  2557. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2558.     ΓööΓöÇΓö¼ΓöÇΓöÇΓö¼SIZE ERROR imperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÿ
  2559.       ΓööONΓöÿ
  2560.  
  2561. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2562.     ΓööΓöÇΓöÇNOTΓö¼ΓöÇΓöÇΓö¼SIZE ERROR imperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2563.           ΓööONΓöÿ
  2564.  
  2565. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2566.     ΓööΓöÇΓöÇEND-COMPUTEΓöÇΓöÇΓöÿ
  2567.  
  2568.  
  2569. ΓòÉΓòÉΓòÉ <hidden> arithmetic-expression ΓòÉΓòÉΓòÉ
  2570.  
  2571. When the COMPUTE statement is executed, the value of arithmetic-expression is 
  2572. calculated, and this value is stored as the new value of each data item 
  2573. referenced by identifier-1. 
  2574.  
  2575. An arithmetic-expression consisting of a single identifier, literal, or numeric 
  2576. function allows you to set the value of the data item(s) referenced by 
  2577. identifier-1 equal to the value of that identifier, literal, or numeric 
  2578. function. 
  2579.  
  2580. Click here for a description of arithmetic expressions. 
  2581.  
  2582.  
  2583. ΓòÉΓòÉΓòÉ 1.44. CONTINUE Statement ΓòÉΓòÉΓòÉ
  2584.  
  2585. Description 
  2586.  
  2587.   The CONTINUE statement allows you to specify a no operation statement. 
  2588.   CONTINUE indicates that no executable instruction is present. 
  2589.  
  2590.   You can use the CONTINUE statement anywhere a conditional statement or an 
  2591.   imperative statement may be used.  It has no effect on the execution of the 
  2592.   program. 
  2593.  
  2594.  
  2595. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇCONTINUEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2596.  
  2597.  
  2598. ΓòÉΓòÉΓòÉ 1.45. DELETE Statement ΓòÉΓòÉΓòÉ
  2599.  
  2600. Description 
  2601.  
  2602.   The DELETE statement removes a record from an indexed or relative file.  For 
  2603.   indexed files, you may reuse the key for record addition.  For relative 
  2604.   files, the space is then available for a new record with the same RELATIVE 
  2605.   KEY value. 
  2606.  
  2607.   When the DELETE statement is executed, the associated file must be open in 
  2608.   I-O mode. 
  2609.  
  2610.  
  2611. ΓöÇΓöÇΓöÇDELETE fileΓöÇnameΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2612.                          ΓööΓöÇRECORDΓöÇΓöÿ
  2613.  
  2614.  
  2615. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  2616.     ΓööΓöÇINVALIDΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇimperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2617.                 ΓööΓöÇKEYΓöÇΓöÿ
  2618.  
  2619. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  2620.     ΓööΓöÇNOT INVALIDΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇimperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2621.                     ΓööΓöÇKEYΓöÇΓöÿ
  2622.  
  2623. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2624.    ΓööΓöÇENDΓöÇDELETEΓöÇΓöÇΓöÿ
  2625.  
  2626.  
  2627. ΓòÉΓòÉΓòÉ 1.46. INVALID KEY/NOT INVALID KEY ΓòÉΓòÉΓòÉ
  2628.  
  2629. For files in sequential access mode, the INVALID KEY and NOT INVALID KEY 
  2630. phrases must not be specified. 
  2631.  
  2632. For files in random or dynamic access mode, the DELETE statement execution 
  2633. results depend on the file organization:  indexed or relative. The DELETE 
  2634. statement removes the record identified by the contents of the prime RECORD KEY 
  2635. data item (for VSAM indexed files), or the RELATIVE KEY data item (for VSAM 
  2636. relative files). If the file does not contain such a record, an INVALID KEY 
  2637. condition exists. 
  2638.  
  2639. For files in random or dynamic access mode, both the INVALID KEY phrase and the 
  2640. EXCEPTION/ERROR procedure may be omitted. 
  2641.  
  2642. Click here for further information about the INVALID KEY condition. 
  2643.  
  2644.  
  2645. ΓòÉΓòÉΓòÉ 1.47. DISPLAY Statement ΓòÉΓòÉΓòÉ
  2646.  
  2647. Description 
  2648.   The DISPLAY statement transfers the contents of each operand to the output 
  2649.   device. The contents are displayed on the output device in the order from 
  2650.   left to right in which the operands are listed. The size of the sending field 
  2651.   is the total character count of all operands listed. 
  2652.  
  2653. Format
  2654.  
  2655.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2656.                            Γöé
  2657. ΓöÇΓöÇDISPLAYΓöÇΓöÇΓö¼ΓöÇidentifierΓöÇ1ΓöÇΓö╝ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  2658.              ΓööΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööΓöÇUPONΓöÇΓö¼ΓöÇmnemonicΓöÇnameΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  2659.                                      ΓööΓöÇenvironmentΓöÇnameΓöÇΓöÿ
  2660.  
  2661.  
  2662. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  2663.     ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼NO ADVANCINGΓöÇΓöÿ
  2664.      ΓööWITHΓöÿ
  2665.  
  2666.  
  2667. ΓòÉΓòÉΓòÉ <hidden> identifier-1 ΓòÉΓòÉΓòÉ
  2668.  
  2669. If identifier-1 is numeric and is not described as an external decimal, the 
  2670. identifier is converted automatically to external format as follows: 
  2671.  
  2672.  Binary or internal decimal are converted to external decimal. Negative signed 
  2673.   values cause a low-order sign overpunch. 
  2674.  
  2675.  Internal floating-point numbers are converted to external floating-point 
  2676.   numbers for display such that: 
  2677.  
  2678.    - A COMP-1 item will display as if it had an external floating-point PICTURE 
  2679.      clause of -.9(8)E-99 
  2680.    - A COMP-2 item will display as if it had an external floating-point PICTURE 
  2681.      clause of -.9(17)E-99. 
  2682.  
  2683.      No other identifiers require conversion. 
  2684.  
  2685. POINTER data items are converted to an external decimal number that would have 
  2686. a picture clause of PIC 9(10). 
  2687.  
  2688. PROCEDURE-POINTER data items may not be specified in a DISPLAY statement. 
  2689.  
  2690. INDEX names or data items may not be specified in a DISPLAY statement. 
  2691.  
  2692. DBCS data items are transferred to the sending field of the output device. For 
  2693. proper results, the output device must be able to recognize DBCS shift-out and 
  2694. shift-in control characters. You can specify both DBCS and non-DBCS operands in 
  2695. a single DISPLAY statement. 
  2696.  
  2697.  
  2698. ΓòÉΓòÉΓòÉ <hidden> WITH NO ADVANCING ΓòÉΓòÉΓòÉ
  2699.  
  2700. When you specify WITH NO ADVANCING, the positioning of the output device will 
  2701. not be changed following the display of the last operand. If the output device 
  2702. is capable of positioning to a specific character position, it will remain 
  2703. positioned at the character position immediately following the last character 
  2704. of the last operand displayed.  If the output device is not capable of 
  2705. positioning to a specific character position, only the vertical position, if 
  2706. applicable, is affected.  This may cause overprinting. 
  2707.  
  2708. If you do not specify WITH NO ADVANCING, then after the last operand has been 
  2709. transferred to the output device, the positioning of the output device will be 
  2710. reset to the leftmost position of the next line of the device. 
  2711.  
  2712.  
  2713. ΓòÉΓòÉΓòÉ 1.48. DIVIDE Statement ΓòÉΓòÉΓòÉ
  2714.  
  2715. Description 
  2716.   The DIVIDE statement divides one numeric data item into/by other(s) and sets 
  2717.   the values of data items equal to the quotient and remainder. 
  2718.  
  2719.     Format 1 (DIVIDE) 
  2720.  
  2721.     Format 2 (DIVIDE GIVING) 
  2722.  
  2723.     Format 3 (DIVIDE GIVING with REMAINDER) 
  2724.  
  2725.  
  2726. ΓòÉΓòÉΓòÉ <hidden> Format 1 (DIVIDE) ΓòÉΓòÉΓòÉ
  2727.  
  2728. Description 
  2729.   In Format 1 of the DIVIDE statement, the value of identifier-1 or literal-2 
  2730.   is divided into the value identifier-2, and the quotient is then placed in 
  2731.   identifier-2. This process is repeated for each successive occurrence of 
  2732.   identifier-2. 
  2733.  
  2734.     Format 1 (DIVIDE)
  2735.  
  2736.                                        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2737.                                                              Γöé
  2738.     ΓöÇΓöÇDIVIDEΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ1ΓöÇΓöÇΓö¼ΓöÇINTO identifierΓöÇ2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝
  2739.                ΓööΓöÇΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ                   ΓööΓöÇROUNDEDΓöÇΓöÿ
  2740.  
  2741.     ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2742.          ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÿ
  2743.             ΓööΓöÇONΓöÇΓöÿ
  2744.  
  2745.     ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  2746.         ΓööΓöÇNOTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2747.                 ΓööΓöÇONΓöÇΓöÿ
  2748.  
  2749.     ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2750.        ΓööΓöÇENDΓöÇDIVIDEΓöÇΓöÿ
  2751.  
  2752.  
  2753. ΓòÉΓòÉΓòÉ <hidden> Format 2 (DIVIDE GIVING) ΓòÉΓòÉΓòÉ
  2754.  
  2755. Description 
  2756.   In Format 2, the value of identifier-1 or literal-1 is divided into/by the 
  2757.   value of identifier-2 or literal-2.  The value of the quotient is stored in 
  2758.   each data item referenced in the GIVING phrase by identifier-3. 
  2759.  
  2760. Format 2 (DIVIDE GIVING)
  2761.  
  2762. ΓöÇΓöÇDIVIDEΓöÇΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇINTOΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifierΓöÇ2ΓöÇΓö¼
  2763.             ΓööΓöÇΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓööΓöÇΓöÇBYΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööΓöÇliteralΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  2764.  
  2765.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2766.                                    Γöé
  2767. ΓöÇΓöÇGIVING identifierΓöÇ3ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2768.                         ΓööΓöÇΓöÇROUNDEDΓöÇΓöÇΓöÿ
  2769.  
  2770. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2771.      ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÿ
  2772.         ΓööΓöÇONΓöÇΓöÿ
  2773.  
  2774. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  2775.     ΓööΓöÇNOTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2776.             ΓööΓöÇONΓöÇΓöÿ
  2777.  
  2778.  
  2779. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2780.    ΓööΓöÇENDΓöÇDIVIDEΓöÇΓöÿ
  2781.  
  2782.  
  2783. ΓòÉΓòÉΓòÉ <hidden> Format 3 (DIVIDE GIVING with REMAINDER) ΓòÉΓòÉΓòÉ
  2784.  
  2785. Description 
  2786.   In Format 3, the value of identifier-1 or literal-1 is divided into/by 
  2787.   identifier-2 or literal-2. The value of the quotient is stored in 
  2788.   identifier-3, and the value of the remainder is stored in identifier-4. 
  2789.  
  2790. Format 3 (DIVIDE GIVING with REMAINDER)
  2791.  
  2792. ΓöÇΓöÇDIVIDEΓöÇΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇINTOΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifierΓöÇ2ΓöÇΓö¼
  2793.             ΓööΓöÇΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓööΓöÇΓöÇBYΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööΓöÇliteralΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  2794.  
  2795. ΓöÇΓöÇGIVING identifierΓöÇ3ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2796.                         ΓööΓöÇΓöÇROUNDEDΓöÇΓöÇΓöÿ
  2797.  
  2798. ΓöÇΓöÇREMAINDER identifierΓöÇ4ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2799.  
  2800. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2801.      ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÿ
  2802.         ΓööΓöÇONΓöÇΓöÿ
  2803.  
  2804. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  2805.     ΓööΓöÇNOTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSIZE ERROR imperativeΓöÇstatementΓöÇ2ΓöÇΓöÇΓöÿ
  2806.             ΓööΓöÇONΓöÇΓöÿ
  2807.  
  2808. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2809.    ΓööΓöÇENDΓöÇDIVIDEΓöÇΓöÿ
  2810.  
  2811.  
  2812. ΓòÉΓòÉΓòÉ 1.49. ENTER Statement ΓòÉΓòÉΓòÉ
  2813.  
  2814. Description 
  2815.   The ENTER statement is obsolete and will be deleted from the next revision of 
  2816.   the ANSI Standard. It is syntax-checked during compilation, but has no effect 
  2817.   on the execution of the program. 
  2818.  
  2819.   ENTER allows for the use of more than one source language in the same source 
  2820.   program. The COBOL/370 compiler allows only COBOL in the source program. 
  2821.  
  2822.  
  2823. ΓöÇΓöÇENTER languageΓöÇnameΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ . ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2824.                            ΓööΓöÇΓöÇroutineΓöÇnameΓöÇΓöÇΓöÿ
  2825.  
  2826.  
  2827. ΓòÉΓòÉΓòÉ 1.50. ENTRY Statement ΓòÉΓòÉΓòÉ
  2828.  
  2829. Description 
  2830.   The ENTRY statement establishes an alternate entry point into a COBOL called 
  2831.   subprogram. Execution of the called program begins at the first executable 
  2832.   statement following the ENTRY whose literal corresponds to the CALL statement 
  2833.   literal or identifier. 
  2834.  
  2835.   When a CALL statement naming the alternate entry point is executed in a 
  2836.   calling program, control is transferred to the next executable statement 
  2837.   following the ENTRY statement. 
  2838.  
  2839.  
  2840. ΓöÇΓöÇΓöÇENTRY literalΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  2841.                     Γöé        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  Γöé
  2842.                     Γöé                  Γöé  Γöé
  2843.                     ΓööΓöÇΓöÇUSINGΓöÇΓöÇdata-name-1ΓöÇΓöÇΓöÿ
  2844.  
  2845.  
  2846. ΓòÉΓòÉΓòÉ <hidden> literal ΓòÉΓòÉΓòÉ
  2847.  
  2848. Literal must be nonnumeric and must follow the rules for formation of a 
  2849. program-name. It must not match the program-id or any other ENTRY literal in 
  2850. this program. 
  2851.  
  2852.  
  2853. ΓòÉΓòÉΓòÉ 1.51. EVALUATE Statement ΓòÉΓòÉΓòÉ
  2854.  
  2855. Description 
  2856.   The EVALUATE statement provides a shorthand notation for a series of nested 
  2857.   IF statements. It can evaluate multiple conditions. That is, the IF statement 
  2858.   can be made up of compound conditions. The subsequent action of the object 
  2859.   program depends on the results of these evaluations. 
  2860.  
  2861.  
  2862. ΓöÇΓöÇEVALUATEΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ1ΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  2863.              Γö£ΓöÇΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ Γöé  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  2864.              Γö£ΓöÇΓöÇexpressionΓöÇ1ΓöÇΓöÇΓöñ Γöé                      Γöé Γöé
  2865.              Γö£ΓöÇΓöÇTRUEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ ΓööΓöÇALSOΓöÇΓö¼ΓöÇΓöÇidentifierΓöÇ2ΓöÇΓöÇΓö╝ΓöÇΓöÿ
  2866.              ΓööΓöÇΓöÇFALSEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ        Γö£ΓöÇΓöÇliteralΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2867.                                        Γö£ΓöÇΓöÇexpressionΓöÇ2ΓöÇΓöÇΓöñ
  2868.                                        Γö£ΓöÇΓöÇTRUEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2869.                                        ΓööΓöÇΓöÇFALSEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  2870.  
  2871.    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2872.    Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ                      Γöé
  2873.                                Γöé                      Γöé
  2874. ΓöÇΓöÇWHEN phraseΓöÇ1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇimperativeΓöÇstatementΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇ
  2875.                  Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  2876.                  Γöé            ΓöéΓöé
  2877.                  ΓööALSO phraseΓöÇ2Γö┤Γöÿ
  2878.  
  2879. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  2880.    ΓööΓöÇWHEN OTHER imperativeΓöÇstatementΓöÇ2ΓöÇΓöÿ ΓööΓöÇEND-EVALUATEΓöÇΓöÿ
  2881.  
  2882.  
  2883.      where phraseΓöÇ1 is:
  2884.  
  2885.  ΓöÇΓö¼ΓöÇANYΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  2886.    Γö£ΓöÇconditionΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2887.    Γö£ΓöÇTRUEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2888.    Γö£ΓöÇFALSEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2889.    ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifierΓöÇ3ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  2890.      ΓööNOTΓöÿ Γö£ΓöÇliteralΓöÇ3ΓöÇΓöÇΓöÇΓöÇΓöñ ΓööΓö¼ΓöÇTHROUGHΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifierΓöÇ4ΓöÇΓö¼Γöÿ
  2891.            ΓööΓöÇarithΓöÇexpΓöÇ1ΓöÇΓöÇΓöÿ  ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ Γö£ΓöÇliteralΓöÇ4ΓöÇΓöÇΓöÇΓöÇΓöñ
  2892.                                          ΓööΓöÇarithΓöÇexpΓöÇ2ΓöÇΓöÇΓöÿ
  2893.  
  2894.      where phrase-2 is:
  2895.  
  2896.  ΓöÇΓö¼ΓöÇANYΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  2897.    Γö£ΓöÇconditionΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2898.    Γö£ΓöÇTRUEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2899.    Γö£ΓöÇFALSEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  2900.    ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifierΓöÇ5ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  2901.      ΓööNOTΓöÿ Γö£ΓöÇliteralΓöÇ5ΓöÇΓöÇΓöÇΓöÇΓöñ ΓööΓö¼ΓöÇTHROUGHΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifierΓöÇ6ΓöÇΓö¼Γöÿ
  2902.            ΓööΓöÇarithΓöÇexpΓöÇ3ΓöÇΓöÇΓöÿ  ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ Γö£ΓöÇliteralΓöÇ6ΓöÇΓöÇΓöÇΓöÇΓöñ
  2903.                                          ΓööΓöÇarithΓöÇexpΓöÇ4ΓöÇΓöÇΓöÿ
  2904.  
  2905.  
  2906. ΓòÉΓòÉΓòÉ <hidden> arithmetic-expression ΓòÉΓòÉΓòÉ
  2907.  
  2908. Any selection subject in which expression-1, expression-2, ... is specified as 
  2909. an arithmetic expression, and any selection object without the NOT or THRU 
  2910. phrase in which arithmetic-expression-1 and/or arithmetic-expression-3 is 
  2911. specified, are assigned numeric values according to the rules for evaluating an 
  2912. arithmetic expression. 
  2913.  
  2914. Click here for a description of arithmetic expressions. 
  2915.  
  2916.  
  2917. ΓòÉΓòÉΓòÉ 1.52. EXIT Statement ΓòÉΓòÉΓòÉ
  2918.  
  2919. Description 
  2920.   The EXIT statement provides a common end point for a series of paragraphs. 
  2921.   It assigns a name to a given point in a program, and has no other effect on 
  2922.   the compilation or execution of the program. The EXIT statement must be 
  2923.   preceded by a paragraph-name and must appear in a sentence by itself.  This 
  2924.   sentence does not need to be the only sentence in the paragraph. 
  2925.  
  2926.  
  2927. ΓöÇΓöÇΓöÇparagraphΓöÇname. EXIT. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2928.  
  2929.  
  2930. ΓòÉΓòÉΓòÉ 1.53. EXIT PROGRAM Statement ΓòÉΓòÉΓòÉ
  2931.  
  2932. Description 
  2933.  
  2934.   The EXIT PROGRAM statement specifies the end of a called program and returns 
  2935.   control to the calling program.  Do not use EXIT PROGRAM in a declarative 
  2936.   procedure where you have specified the GLOBAL phrase. 
  2937.  
  2938.   The EXIT PROGRAM statement need not be the last statement in the sequence of 
  2939.   imperative statements, but the statements following the EXIT PROGRAM will not 
  2940.   be performed if a CALL statement is active. 
  2941.  
  2942.  
  2943. ΓöÇΓöÇΓöÇΓöÇEXIT PROGRAM. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2944.  
  2945.  
  2946. ΓòÉΓòÉΓòÉ 1.54. GOBACK STATEMENT ΓòÉΓòÉΓòÉ
  2947.  
  2948. Description 
  2949.   The GOBACK statement specifies the logical end of a called program. It 
  2950.   functions like the EXIT PROGRAM statement when coded as a part of a called 
  2951.   program, and like the STOP RUN statement when coded in a main program. In a 
  2952.   sentence, the GOBACK statement should appear as the only statement or as the 
  2953.   last statement in a series of imperative statements, because any statements 
  2954.   following GOBACK are not executed. 
  2955.  
  2956.  
  2957. ΓöÇΓöÇΓöÇGOBACKΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2958.  
  2959.  
  2960. ΓòÉΓòÉΓòÉ 1.55. GO TO Statement ΓòÉΓòÉΓòÉ
  2961.  
  2962. Description 
  2963.   The GO TO statement transfers control from one part of the Procedure Division 
  2964.   to another. GO TO has four formats: 
  2965.  
  2966.     Format 1 (Unconditional GO TO) 
  2967.  
  2968.     Format 2 (Conditional GO TO) 
  2969.  
  2970.     Format 3 (Altered GO TO) 
  2971.  
  2972.     Format 4 (MORE-LABELS GO TO) 
  2973.  
  2974.  
  2975. ΓòÉΓòÉΓòÉ 1.56. Unconditional GO TO ΓòÉΓòÉΓòÉ
  2976.  
  2977. Description 
  2978.   The unconditional GO TO statement transfers control to the first statement in 
  2979.   the paragraph or section named in procedure-name, unless GO TO has been 
  2980.   modified by an ALTER statement. Although unconditional GO TO need not be the 
  2981.   last statement in a series of imperative statements, statements following the 
  2982.   GO TO are not executed. 
  2983.  
  2984. Unconditional GO TO
  2985.  
  2986. ΓöÇΓöÇGOΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇprocedureΓöÇnameΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  2987.          ΓööΓöÇTOΓöÇΓöÿ
  2988.  
  2989.  
  2990. ΓòÉΓòÉΓòÉ 1.57. Conditional GO TO ΓòÉΓòÉΓòÉ
  2991.  
  2992. Description 
  2993.   The conditional GO TO statement transfers control to one of a series of 
  2994.   procedures, depending on the value of the identifier. 
  2995.  
  2996. Conditional GO TO
  2997.  
  2998.               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  2999.                              Γöé
  3000. ΓöÇΓöÇΓöÇGOΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇprocedureΓöÇnameΓöÇ1Γö┤ΓöÇDEPENDINGΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇidentifierΓöÇ
  3001.         ΓööTOΓöÿ                               ΓööONΓöÿ
  3002.  
  3003.  
  3004. ΓòÉΓòÉΓòÉ <hidden> identifier ΓòÉΓòÉΓòÉ
  3005.  
  3006. Identifier must be a numeric elementary data item which is an integer. 
  3007.  
  3008.  If 1, control is transferred to the first statement in the procedure named by 
  3009.   the first occurrence of procedure-name-1; 
  3010.  If 2, control is transferred to the first statement in the procedure named by 
  3011.   the second occurrence of procedure-name-1, and so forth. 
  3012.  If the value of identifier is anything other than a value within the range of 
  3013.   1 through n, (where n is the number of procedure-names specified in this GO 
  3014.   TO statement), no control transfer occurs. Instead, control passes to the 
  3015.   next statement in the normal sequence of execution. 
  3016.  
  3017.  
  3018. ΓòÉΓòÉΓòÉ 1.58. Altered GO TO ΓòÉΓòÉΓòÉ
  3019.  
  3020. Description 
  3021.   The Altered GO TO statement transfers control to the first statement of the 
  3022.   paragraph named in the ALTER statement. An ALTER statement referring to the 
  3023.   paragraph containing this GO TO statement must have been performed before 
  3024.   this GO TO is performed. 
  3025.  
  3026.   The Altered GO TO statement must be contained in a paragraph that consists 
  3027.   only of the paragraph-name followed by an unconditional or altered GO TO 
  3028.   statement. 
  3029.  
  3030.   If an ALTER statement referring to the paragraph containing this GO TO 
  3031.   statement has not been executed before this GO TO statement is executed, this 
  3032.   GO TO statement acts like a CONTINUE statement. 
  3033.  
  3034. Altered GO TO
  3035.  
  3036. ΓöÇΓöÇGOΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3037.          ΓööΓöÇTOΓöÇΓöÿ
  3038.  
  3039.  
  3040. ΓòÉΓòÉΓòÉ 1.59. MORE-LABELS GO TO ΓòÉΓòÉΓòÉ
  3041.  
  3042. Description 
  3043.   The GO TO MORE-LABELS statement can only be specified in a LABEL declarative. 
  3044.   For more information, see the COBOL/370 Programming Guide. 
  3045.  
  3046. MORE-LABELS GO TO
  3047.  
  3048. ΓöÇΓöÇGOΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇMORE-LABELS.ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3049.          ΓööΓöÇTOΓöÇΓöÿ
  3050.  
  3051.  
  3052. ΓòÉΓòÉΓòÉ 1.60. IF Statement ΓòÉΓòÉΓòÉ
  3053.  
  3054. Description 
  3055.   The IF statement evaluates a condition and provides for alternative actions 
  3056.   in the object program, depending on the evaluation. 
  3057.  
  3058.  
  3059. ΓöÇΓöÇIFΓöÇconditionΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3060.                   ΓööΓöÇTHENΓöÇΓöÇΓöÿ
  3061.  
  3062.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3063.                       Γöé
  3064.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇstatement-1ΓöÇΓö┤ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3065.        ΓööΓöÇΓöÇNEXT SENTENCEΓöÇΓöÇΓöÿ
  3066.  
  3067.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3068.        Γöé       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ       Γöé               ΓööΓöÇEND-IFΓöÇΓöÿ
  3069.        Γöé                   Γöé       Γöé
  3070.        ΓööΓöÇELSEΓöÇΓö¼ΓöÇstatement-2ΓöÇΓö┤ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3071.               ΓööΓöÇNEXT SENTENCEΓöÇΓöÇΓöÿ
  3072.  
  3073.  
  3074. ΓòÉΓòÉΓòÉ 1.61. INITIALIZE Statement ΓòÉΓòÉΓòÉ
  3075.  
  3076. Description 
  3077.   The INITIALIZE statement sets selected categories of data fields to 
  3078.   predetermined values; it is functionally equivalent to one or more MOVE 
  3079.   statements. 
  3080.  
  3081.  
  3082.               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3083.                           Γöé
  3084. ΓöÇINITIALIZEΓöÇΓöÇΓöÇidentifier-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3085.  
  3086. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  3087.   Γöé             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  3088.   Γöé                                                        ΓöéΓöé
  3089.   ΓööΓöÇΓöÇREPLACINGΓöÇΓöÇΓö¼ΓöÇALPHABETICΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓö¼BYΓö¼ΓöÇidentifier-2Γö╝Γöÿ
  3090.                 Γö£ΓöÇALPHANUMERICΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñΓööDATAΓöÿ  ΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÿ
  3091.                 Γö£ΓöÇNUMERICΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3092.                 Γö£ΓöÇALPHANUMERIC-EDITEDΓöñ
  3093.                 Γö£ΓöÇNUMERIC-EDITEDΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3094.                 Γö£ΓöÇDBCSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3095.                 ΓööΓöÇEGCSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3096.  
  3097.  
  3098. ΓòÉΓòÉΓòÉ <hidden> identifier-1 ΓòÉΓòÉΓòÉ
  3099.  
  3100. Identifier-1 is the receiving area. 
  3101.  
  3102. You can specify a subscripted item for identifier-1.  You can initialize a 
  3103. complete table only by specifying identifier-1 as a group that contains the 
  3104. complete table. 
  3105.  
  3106. The description for the data item referenced by identifier-1 or any items 
  3107. subordinate to identifier-1 may not contain the DEPENDING phrase of the OCCURS 
  3108. clause. 
  3109.  
  3110. A floating-point data item or literal may be used anywhere a numeric identifier 
  3111. or literal is specified. 
  3112.  
  3113. The data description entry for identifier-1 must not contain a RENAMES clause. 
  3114. An index data item may not be an operand of INITIALIZE. 
  3115.  
  3116. You can use a DBCS data item or literal anywhere an identifier or literal is 
  3117. specified.  DBCS items refer to double byte character data. 
  3118.  
  3119. You can specify special registers for identifier-1 only if they are valid 
  3120. receiving fields for the implied MOVE statements. 
  3121.  
  3122.  
  3123. ΓòÉΓòÉΓòÉ <hidden> REPLACING phrase ΓòÉΓòÉΓòÉ
  3124.  
  3125. When you use the REPLACING phrase: 
  3126.  
  3127.  Make the category of identifier-2 or literal-1 compatible with the category 
  3128.   indicated in the corresponding REPLACING phrase, according to the rules for 
  3129.   MOVE. A floating-point data item or floating-point literal will be treated as 
  3130.   if it is in the NUMERIC category. 
  3131.  
  3132.  Do not repeat the same category in a REPLACING phrase. 
  3133.  
  3134. When you do not use the REPLACING phrase: 
  3135.  
  3136.  SPACE is the implied sending field for alphabetic, alphanumeric, 
  3137.   alphanumeric-edited, and DBCS items. 
  3138.  
  3139.  ZERO is the implied sending field for numeric and numeric-edited items. 
  3140.  
  3141.  
  3142. ΓòÉΓòÉΓòÉ 1.62. INSPECT Statement ΓòÉΓòÉΓòÉ
  3143.  
  3144. Description 
  3145.   The INSPECT statement specifies that characters or groups of characters in a 
  3146.   data item are to be counted (tallied), replaced, or both.  The INSPECT 
  3147.   statement will: 
  3148.  
  3149.     Count the occurrence of a specific character (alphabetic, numeric, or 
  3150.      special character) in a data item. 
  3151.     Fill all or portions of a data item with specified characters, such as 
  3152.      spaces or zeros. 
  3153.     Convert all occurrences of specific characters in a data item to 
  3154.      user-supplied replacement characters. 
  3155.  
  3156. The INSPECT statement has four formats: 
  3157.  
  3158.  Format 1 (INSPECT/TALLYING) 
  3159.  
  3160.  Format 2 (INSPECT/REPLACING) 
  3161.  
  3162.  Format 3 (INSPECT/TALLYING/REPLACING) 
  3163.  
  3164.  Format 4 (INSPECT/CONVERTING) 
  3165.  
  3166. Note:   If any identifiers or literals in the INSPECT statement are DBCS items, 
  3167. then all of them must be DBCS items, except for the count field (identifier-2), 
  3168. which cannot be a DBCS item. If the identifiers and literals other than 
  3169. identifier-2 are DBCS items, then DBCS characters, not bytes of data, are 
  3170. tallied in identifier-2. 
  3171.  
  3172.  
  3173. ΓòÉΓòÉΓòÉ <hidden> Format 1 (INSPECT/TALLYING) ΓòÉΓòÉΓòÉ
  3174.  
  3175. Format 1 (INSPECT/TALLYING)
  3176.  
  3177. ΓöÇINSPECT identifierΓöÇ1 TALLYING ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3178.  
  3179.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3180.   Γöé                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3181.   Γöé                Γöé            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ            Γöé
  3182.                                         Γöé            Γöé
  3183. ΓöÇidentifierΓöÇ2 FORΓöÇΓö¼ΓöÇCHARACTERSΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇ
  3184.                    Γöé            ΓööΓöÇphraseΓöÇ1ΓöÇΓöÿ            Γöé
  3185.                    Γöé                                    Γöé
  3186.                    Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  3187.                    Γöé          Γöé               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñΓöé
  3188.                    Γöé                                 ΓöéΓöé
  3189.                    Γö£ΓöÇALLΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇidentifierΓöÇ3ΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝Γöÿ
  3190.                    ΓööΓöÇLEADINGΓöÇΓöÿΓööΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÿΓööphraseΓöÇ1Γöÿ
  3191.  
  3192.  
  3193. where phraseΓöÇ1 is:
  3194.  
  3195.    ΓöÇΓö¼ΓöÇBEFOREΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇidentifierΓöÇ4ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  3196.      ΓööΓöÇAFTERΓöÇΓöÇΓöÿ   ΓööΓöÇINITIALΓöÇΓöÿ   ΓööΓöÇliteralΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3197.  
  3198.  
  3199. ΓòÉΓòÉΓòÉ <hidden> Format 2 (INSPECT/REPLACING) ΓòÉΓòÉΓòÉ
  3200.  
  3201. Format 2 (INSPECT/REPLACING)
  3202.  
  3203. ΓöÇINSPECT identifierΓöÇ1 REPLACINGΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3204.  
  3205.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3206.   Γöé                                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ          Γöé
  3207.                                             Γöé          Γöé
  3208. ΓöÇΓö¼ΓöÇCHARACTERS BYΓöÇΓö¼ΓöÇidentifierΓöÇ5ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ
  3209.   Γöé               ΓööΓöÇliteralΓöÇ3ΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööΓöÇphraseΓöÇ1ΓöÇΓöÿ          Γöé
  3210.   Γöé                                                      Γöé
  3211.   Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  3212.   Γöé          Γöé                                 ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñΓöé
  3213.   Γöé                                                   ΓöéΓöé
  3214.   Γö£ΓöÇALLΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇidentifierΓöÇ3ΓöÇΓö¼BYΓö¼ΓöÇidentifierΓöÇ5ΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝Γöÿ
  3215.   Γö£ΓöÇLEADINGΓöÇΓöñΓööΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓööΓöÇliteralΓöÇ3ΓöÇΓöÇΓöÇΓöÇΓöÿΓööphraseΓöÇ1Γöÿ
  3216.   ΓööΓöÇFIRSTΓöÇΓöÇΓöÇΓöÿ
  3217.  
  3218.  
  3219. where phraseΓöÇ1 is:
  3220.  
  3221.    ΓöÇΓö¼ΓöÇBEFOREΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇidentifierΓöÇ4ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3222.      ΓööΓöÇAFTERΓöÇΓöÇΓöÿ   ΓööΓöÇINITIALΓöÇΓöÿ   ΓööΓöÇliteralΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3223.  
  3224.  
  3225. ΓòÉΓòÉΓòÉ <hidden> Format 3 (INSPECT/TALLYING/REPLACING) ΓòÉΓòÉΓòÉ
  3226.  
  3227. Format 3 (INSPECT/TALLYING/REPLACING)
  3228.  
  3229. ΓöÇINSPECT identifierΓöÇ1 TALLYING ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3230.  
  3231.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3232.   Γöé                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3233.   Γöé                Γöé            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ            Γöé
  3234.                                         Γöé            Γöé
  3235. ΓöÇidentifierΓöÇ2 FORΓöÇΓö¼ΓöÇCHARACTERSΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇ
  3236.                    Γöé            ΓööΓöÇphraseΓöÇ1ΓöÇΓöÿ            Γöé
  3237.                    Γöé                                    Γöé
  3238.                    Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  3239.                    Γöé          Γöé               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñΓöé
  3240.                    Γöé                                 ΓöéΓöé
  3241.                    Γö£ΓöÇALLΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇidentifierΓöÇ3ΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝Γöÿ
  3242.                    ΓööΓöÇLEADINGΓöÇΓöÿΓööΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÿΓööphraseΓöÇ1Γöÿ
  3243.  
  3244.  
  3245. ΓöÇΓöÇΓöÇΓöÇΓöÇREPLACINGΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3246.  
  3247.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3248.   Γöé                                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ          Γöé
  3249.                                             Γöé          Γöé
  3250. ΓöÇΓö¼ΓöÇCHARACTERS BYΓöÇΓö¼ΓöÇidentifierΓöÇ5ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ
  3251.   Γöé               ΓööΓöÇliteralΓöÇ3ΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööΓöÇphraseΓöÇ1ΓöÇΓöÿ          Γöé
  3252.   Γöé                                                      Γöé
  3253.   Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  3254.   Γöé          Γöé                                 ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñΓöé
  3255.   Γöé                                                   ΓöéΓöé
  3256.   Γö£ΓöÇALLΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇidentifierΓöÇ3ΓöÇΓö¼BYΓö¼ΓöÇidentifierΓöÇ5ΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝Γöÿ
  3257.   Γö£ΓöÇLEADINGΓöÇΓöñΓööΓöÇliteralΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓööΓöÇliteralΓöÇ3ΓöÇΓöÇΓöÇΓöÇΓöÿΓööphraseΓöÇ1Γöÿ
  3258.   ΓööΓöÇFIRSTΓöÇΓöÇΓöÇΓöÿ
  3259.  
  3260. where phraseΓöÇ1 is:
  3261.  
  3262.    ΓöÇΓö¼ΓöÇBEFOREΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇidentifierΓöÇ4ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  3263.      ΓööΓöÇAFTERΓöÇΓöÇΓöÿ   ΓööΓöÇINITIALΓöÇΓöÿ   ΓööΓöÇliteralΓöÇ2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3264.  
  3265.  
  3266. ΓòÉΓòÉΓòÉ <hidden> Format 4 (INSPECT/CONVERTING) ΓòÉΓòÉΓòÉ
  3267.  
  3268. Format 4 (INSPECT/CONVERTING)
  3269.  
  3270. ΓöÇINSPECT identifierΓöÇ1 CONVERTINGΓöÇΓö¼identifierΓöÇ6ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3271.                                    ΓööΓöÇliteralΓöÇ4ΓöÇΓöÇΓöÇΓöÿ
  3272.  
  3273.                             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3274.                                       Γöé
  3275. ΓöÇΓöÇΓöÇΓöÇTOΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇidentifierΓöÇ7ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3276.            ΓööΓöÇliteralΓöÇ5ΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööΓöÇphraseΓöÇ1ΓöÇΓöÿ
  3277.  
  3278. where phraseΓöÇ1 is:
  3279.  
  3280.   ΓöÇΓö¼ΓöÇBEFOREΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇidentifier-4ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  3281.     ΓööΓöÇAFTERΓöÇΓöÇΓöÿ   ΓööΓöÇINITIALΓöÇΓöÿ   ΓööΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3282.  
  3283.  
  3284. ΓòÉΓòÉΓòÉ <hidden> BEFORE and AFTER Phrases (All Formats) ΓòÉΓòÉΓòÉ
  3285.  
  3286. You cannot specify more than one BEFORE phrase and one AFTER phrase for any one 
  3287. ALL, LEADING, CHARACTERS, FIRST, or CONVERTING phrase. 
  3288.  
  3289. If you specify more than one BEFORE or AFTER phrases, the rules for counting 
  3290. and replacing are modified. 
  3291.  
  3292. When you specify the BEFORE phrase, counting and/or replacing of the inspected 
  3293. item begins at the leftmost character and continues until the first occurrence 
  3294. of the delimiter is reached. If no delimiter is present in the inspected item, 
  3295. counting and/or replacing continues toward the rightmost character. 
  3296.  
  3297. When you specify the AFTER phrase, counting and/or replacing of the inspected 
  3298. item begins with the first character to the immediate right of the delimiter 
  3299. and continues toward the rightmost character in the inspected item.  If no 
  3300. delimiter is present in the inspected item, no counting or replacement takes 
  3301. place. 
  3302.  
  3303.  
  3304. ΓòÉΓòÉΓòÉ <hidden> CONVERTING Phrase (Format 4) ΓòÉΓòÉΓòÉ
  3305.  
  3306. A string of replacement values may be expressed by the CONVERTING phrase. The 
  3307. size of the receiving location (identifier-7 or literal-5) must be the same 
  3308. size as the sending location (identifier-6 or literal-4). When a figurative 
  3309. constant is used as literal-5, the size of the figurative constant is equal to 
  3310. the size of literal-4 or identifier-6. The same character must not appear more 
  3311. than once, either in literal-4 or identifier-6. 
  3312.  
  3313. A Format 4 INSPECT statement is interpreted and executed as if a Format 2 
  3314. INSPECT statement had been written with a series of ALL phrases (one for each 
  3315. character of literal-4), specifying the same identifier-1. The effect is as if 
  3316. each single character of literal-4 were referenced as literal-1, and the 
  3317. corresponding single character of literal-5 referenced as literal-3. 
  3318. Correspondence between the characters of literal-4 and the characters of 
  3319. literal-5 is by ordinal position within the data item. 
  3320.  
  3321. If identifier-4, identifier-6, or identifier-7 occupies the same storage area 
  3322. as identifier-1, the result of the execution of this statement is undefined, 
  3323. even if they are defined by the same data description entry. 
  3324.  
  3325.  
  3326. ΓòÉΓòÉΓòÉ 1.63. MERGE Statement ΓòÉΓòÉΓòÉ
  3327.  
  3328. Description 
  3329.   The MERGE statement combines two or more identically sequenced files (files 
  3330.   that have already been sorted according to an identical set of 
  3331.   ascending/descending keys) on one or more keys and makes records available, 
  3332.   in merged order, to an output file. MERGE may appear anywhere in the 
  3333.   Procedure Division except in a Declarative Section or the Output Procedure 
  3334.   Phrase. 
  3335.  
  3336.  
  3337. ΓöÇMERGE fileΓöÇnameΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3338.  
  3339.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3340.     Γöé                                  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  3341.                                                  Γöé Γöé
  3342. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇASCENDINGΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇdataΓöÇnameΓöÇ1ΓöÇΓö┤ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇ
  3343.     ΓööΓöÇONΓöÇΓöÿ  ΓööΓöÇDESCENDINGΓöÇΓöÿ   ΓööΓöÇKEYΓöÇΓöÿ
  3344.  
  3345.  
  3346. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  3347.    ΓööΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇSEQUENCEΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇalphabetΓöÇnameΓöÇ1ΓöÇΓöÿ
  3348.     ΓööCOLLATINGΓöÿ            ΓööΓöÇISΓöÇΓöÿ
  3349.  
  3350.                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3351.                                Γöé
  3352. ΓöÇUSING fileΓöÇnameΓöÇ2 fileΓöÇnameΓöÇ3ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3353.  
  3354. ΓöÇΓöÇΓö¼ΓöÇOUTPUT PROCEDUREΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇprocΓöÇnameΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  3355.    Γöé        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ ΓööΓöÇISΓöÇΓöÿ
  3356.    Γöé                   Γöé
  3357.    ΓööΓöÇGIVING fileΓöÇnameΓöÇ4ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  3358.  
  3359. 1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3360.    ΓööΓöÇΓö¼ΓöÇTHROUGHΓöÇΓö¼ΓöÇprocΓöÇnameΓöÇ2ΓöÇΓöÇΓöÿ Γöé
  3361.      ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ                Γöé
  3362. 2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3363.  
  3364.  
  3365. ΓòÉΓòÉΓòÉ <hidden> data-name-1 ΓòÉΓòÉΓòÉ
  3366.  
  3367. Data-name-1 specifies a KEY data item on which the merge will be based. Each 
  3368. data-name must identify a data item in a record associated with file-name-1. In 
  3369. MERGE, the data names following the word KEY are listed from left to right in 
  3370. order of decreasing significance without regard to how they are divided into 
  3371. KEY phrases.  The left-most data-name is the major key, the next data-name is 
  3372. the next most significant key, and so forth.  The following rules apply: 
  3373.  
  3374.  A specific key data item must be physically located in the same position and 
  3375.   have the same data format in each input file.  However, it does not need to 
  3376.   have the same data-name. 
  3377.  
  3378.  If file-name-1 contains variable length records, all of the KEY data-items 
  3379.   must be contained within the first n character positions of the record, where 
  3380.   n equals the minimum records size specified for file-name-1. 
  3381.  
  3382.  KEY data items must not contain an OCCURS clause or be subordinate to an item 
  3383.   that contains OCCURS. 
  3384.  
  3385.  KEY data items may be qualified. 
  3386.  
  3387.  KEY data items may not be group items that contain variable occurrence data 
  3388.   items. 
  3389.  
  3390.  KEY data items may be floating-point items. 
  3391.  
  3392.  KEY data items may not be variably-located. 
  3393.  
  3394.  
  3395. ΓòÉΓòÉΓòÉ 1.64. MOVE Statement ΓòÉΓòÉΓòÉ
  3396.  
  3397. Description 
  3398.   The MOVE statement transfers data from one area of storage to one or more 
  3399.   other areas of storage. The MOVE statement has two formats: 
  3400.  
  3401.     Format 1 (MOVE) 
  3402.  
  3403.     Format 2 (MOVE with CORRESPONDING) 
  3404.  
  3405.  
  3406. ΓòÉΓòÉΓòÉ <hidden> Format 1 (MOVE) ΓòÉΓòÉΓòÉ
  3407.  
  3408. Description 
  3409.   The MOVE statement transfers data from one area of storage to one or more 
  3410.   other areas. 
  3411.  
  3412. Format 1 (MOVE)
  3413.  
  3414.                                ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3415.                                            Γöé
  3416. ΓöÇΓöÇΓöÇMOVEΓöÇΓöÇΓö¼ΓöÇidentifier-1ΓöÇΓö¼ΓöÇTO identifier-2ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3417.            ΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3418.  
  3419.  
  3420. ΓòÉΓòÉΓòÉ <hidden> Format 2 (MOVE with CORRESPONDING) ΓòÉΓòÉΓòÉ
  3421.  
  3422. Description 
  3423.   When you specify Format 2, both identifiers must be group items. Do not 
  3424.   specify an index data item in a MOVE statement. 
  3425.  
  3426. Format 2 (MOVE with CORRESPONDING)
  3427.  
  3428. ΓöÇΓöÇMOVEΓöÇΓö¼ΓöÇCORRESPONDINGΓöÇΓö¼ΓöÇidentifier-1 TO identifier-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3429.          ΓööΓöÇCORRΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3430.  
  3431.  
  3432. ΓòÉΓòÉΓòÉ 1.65. MULTIPLY Statement ΓòÉΓòÉΓòÉ
  3433.  
  3434. Description 
  3435.   The MULTIPLY statement multiplies numeric items and sets the values of data 
  3436.   items equal to the results. The MULTIPLY statement has two formats: 
  3437.  
  3438.     Format 1 (MULTIPLY) 
  3439.  
  3440.     Format 2 (MULTIPLY with GIVING) 
  3441.  
  3442.  
  3443. ΓòÉΓòÉΓòÉ <hidden> Format 1 (MULTIPLY) ΓòÉΓòÉΓòÉ
  3444.  
  3445. Description 
  3446.  
  3447.   In Format 1, the value of identifier-1 is multiplied by the value of 
  3448.   identifier-2. For each successive occurrence of identifier-2, the 
  3449.   multiplication takes place in the left-to-right order in which identifier-2 
  3450.   is specified. 
  3451.  
  3452.   You can use floating-point data items and literals anywhere a numeric data 
  3453.   item or literal can be specified.  The composite of operands may be more than 
  3454.   18 digits. 
  3455.  
  3456.     Format 1 (MULTIPLY)
  3457.  
  3458.                                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3459.                                                           Γöé
  3460.     ΓöÇΓöÇMULTIPLYΓöÇΓö¼ΓöÇidentifier-1ΓöÇΓö¼ΓöÇBY identifier-2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ
  3461.                  ΓööΓöÇΓöÇΓöÇliteral-1ΓöÇΓöÇΓöÿ                  ΓööROUNDEDΓöÿ
  3462.  
  3463.  
  3464.     ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  3465.          ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇSIZE ERROR imperative-statement-1ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3466.             ΓööΓöÇONΓöÇΓöÿ
  3467.  
  3468.  
  3469.     ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  3470.          ΓööΓöÇNOTΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇSIZE ERROR imperative-statement-2ΓöÇΓöÇΓöÿ
  3471.                 ΓööΓöÇONΓöÇΓöÿ
  3472.  
  3473.  
  3474.     ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3475.          ΓööΓöÇEND-MULTIPLYΓöÇΓöÇΓöÿ
  3476.  
  3477.  
  3478. ΓòÉΓòÉΓòÉ <hidden> Format 2 (MULTIPLY with GIVING) ΓòÉΓòÉΓòÉ
  3479.  
  3480. Description 
  3481.   In Format 2, the value of identifier-1 or literal-1 is multiplied by the 
  3482.   value of identifier-2 or literal-2. The product is then stored in the data 
  3483.   items referenced by identifier-3. 
  3484.  
  3485. Format 2 (MULTIPLY with GIVING)
  3486.  
  3487. ΓöÇΓöÇMULTIPLYΓöÇΓö¼ΓöÇΓöÇidentifier-1ΓöÇΓö¼ΓöÇBYΓöÇΓö¼ΓöÇidentifier-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3488.              ΓööΓöÇΓöÇΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÿ
  3489.  
  3490.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3491.                                  Γöé
  3492. ΓöÇΓöÇGIVING identifier-3ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3493.                         ΓööΓöÇROUNDEDΓöÇΓöÿ
  3494.  
  3495. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  3496.     ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇSIZE ERROR imperative-statement-1ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3497.        ΓööΓöÇONΓöÇΓöÿ
  3498.  
  3499. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  3500.     ΓööΓöÇNOTΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇSIZE ERROR imperative-statement-2ΓöÇΓöÇΓöÿ
  3501.            ΓööΓöÇONΓöÇΓöÿ
  3502.  
  3503. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3504.      ΓööΓöÇEND-MULTIPLYΓöÇΓöÇΓöÿ
  3505.  
  3506.  
  3507. ΓòÉΓòÉΓòÉ 1.66. OPEN Statement ΓòÉΓòÉΓòÉ
  3508.  
  3509. Description 
  3510.   The OPEN statement initiates the processing of files and checks and/or writes 
  3511.   labels.  The OPEN statement's format varies depending upon whether you are 
  3512.   using QSAM or VSAM files. You can specify both QSAM and VSAM files in a 
  3513.   single OPEN statement. The OPEN statement has two formats: 
  3514.  
  3515.     Format 1 (QSAM Files) 
  3516.  
  3517.     Format 2 (VSAM Files) 
  3518.  
  3519.  
  3520. ΓòÉΓòÉΓòÉ <hidden> Format 1 (QSAM Files) ΓòÉΓòÉΓòÉ
  3521.  
  3522. Description 
  3523.   In Format 1 of the OPEN statement, you must specify at least one of the 
  3524.   phrases: INPUT, OUTPUT, I-O, or EXTEND. The INPUT, OUTPUT, I-O, and EXTEND 
  3525.   phrases may appear in any order. 
  3526.  
  3527. Format 1 (QSAM Files)
  3528.  
  3529.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3530.           Γöé        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  3531.                                                  Γöé   Γöé
  3532. ΓöÇΓöÇΓöÇOPENΓöÇΓö¼ΓöÇINPUTΓöÇΓöÇΓöÇfile-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇ
  3533.           Γöé                     Γö£ΓöÇΓöÇREVERSEDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ   Γöé
  3534.           Γöé                     ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼NO REWINDΓöÇΓöÇΓöÿ   Γöé
  3535.           Γöé                       ΓööWITHΓöÿ               Γöé
  3536.           Γöé        ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  Γöé
  3537.           Γöé                                        Γöé  Γöé
  3538.           Γö£ΓöÇOUTPUTΓöÇΓöÇΓöÇfile-name-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöñ
  3539.           Γöé                      ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼NO REWINDΓöÇΓöÇΓöÿ  Γöé
  3540.           Γöé      ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ     ΓööWITHΓöÿ              Γöé
  3541.           Γöé                 Γöé                         Γöé
  3542.           Γö£ΓöÇI-OΓöÇΓöÇΓöÇfile-name-3Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3543.           Γöé         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ                      Γöé
  3544.           Γöé                    Γöé                      Γöé
  3545.           ΓööΓöÇEXTENDΓöÇΓöÇΓöÇfile-name-4Γö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3546.  
  3547.  
  3548. ΓòÉΓòÉΓòÉ <hidden> Format 2 (VSAM Files) ΓòÉΓòÉΓòÉ
  3549.  
  3550. Description 
  3551.   In Format 2 of the OPEN statement, you must specify at least one of the 
  3552.   phrases INPUT, OUTPUT, I-O or EXTEND with the OPEN key word. The INPUT, 
  3553.   OUTPUT, I-O and EXTEND phrases may appear in any order. 
  3554.  
  3555. Format 2 (VSAM Files)
  3556.  
  3557.          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3558.          Γöé            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  3559.                               Γöé   Γöé
  3560. ΓöÇΓöÇΓöÇOPENΓöÇΓöÇΓö¼ΓöÇΓöÇINPUTΓöÇΓöÇΓöÇfile-name-1ΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇ
  3561.            Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  3562.            Γöé                   Γöé   Γöé
  3563.            Γö£ΓöÇOUTPUTΓöÇΓöÇΓöÇfile-name-2ΓöÇΓöÇΓöÇΓöñ
  3564.            Γöé       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ      Γöé
  3565.            Γöé                Γöé      Γöé
  3566.            Γö£ΓöÇI-OΓöÇΓöÇΓöÇfile-name-3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3567.            Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  3568.            Γöé                   Γöé   Γöé
  3569.            ΓööΓöÇEXTENDΓöÇΓöÇΓöÇfile-name-4ΓöÇΓöÇΓöÇΓöÿ
  3570.  
  3571.  
  3572. ΓòÉΓòÉΓòÉ 1.67. PERFORM Statement ΓòÉΓòÉΓòÉ
  3573.  
  3574. Description 
  3575.   The PERFORM statement explicitly transfers control to one or more procedures 
  3576.   and, after execution of the specified procedure(s), implicitly returns 
  3577.   control to the next executable statement. The PERFORM statement can be: 
  3578.  
  3579.   An out-of-line PERFORM statement.  (Procedure-name-1 is specified.) 
  3580.  
  3581.   An in-line PERFORM statement.  (Procedure-name-1 is omitted.) An in-line 
  3582.   PERFORM must be delimited by the END-PERFORM phrase. 
  3583.  
  3584.   The in-line and out-of-line formats cannot be combined.  For example, if you 
  3585.   specify procedure-name-1, you must not specify imperative-statement and the 
  3586.   END-PERFORM phrase. 
  3587.  
  3588. The PERFORM statement has four formats: 
  3589.  
  3590.  Format 1 (Basic PERFORM) 
  3591.  
  3592.  Format 2 (PERFORM with TIMES) 
  3593.  
  3594.  Format 3 (PERFORM with UNTIL) 
  3595.  
  3596.  Format 4 (PERFORM with VARYING) 
  3597.  
  3598.  
  3599. ΓòÉΓòÉΓòÉ <hidden> Format 1 (Basic PERFORM) ΓòÉΓòÉΓòÉ
  3600.  
  3601. Description 
  3602.   The procedure(s) referenced in the basic PERFORM statement are executed once, 
  3603.   and control then passes to the next executable statement. 
  3604.  
  3605. Format 1 (Basic PERFORM)
  3606.  
  3607.  ΓöÇΓöÇPERFORMΓöÇΓö¼ΓöÇprocedure-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  3608.              Γöé
  3609.              Γöé
  3610.              Γöé
  3611.              ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  3612.  
  3613.  1ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3614.        Γö£ΓöÇTHROUGHΓöÇΓö¼ΓöÇprocedure-name-2ΓöÇΓöÿ     Γöé
  3615.        ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ                        Γöé
  3616.                                           Γöé
  3617.  2ΓöÇΓöÇΓöÇimperative-statement  END-PERFORMΓöÇΓöÇΓöÇΓöÿ
  3618.  
  3619.  
  3620. ΓòÉΓòÉΓòÉ <hidden> Format 2 (PERFORM with TIMES) ΓòÉΓòÉΓòÉ
  3621.  
  3622. Description 
  3623.   In Format 2 (PERFORM with TIMES), the procedure(s) referenced are executed 
  3624.   the number of times specified by the value in identifier-1 or integer-1. 
  3625.   Control then passes to the next executable statement. 
  3626.  
  3627. Format 2 (PERFORM with TIMES)
  3628.  
  3629. ΓöÇΓöÇΓöÇPERFORMΓöÇΓö¼ΓöÇprocedure-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  3630.              Γöé
  3631.              Γöé
  3632.              Γöé
  3633.              ΓööΓöÇphrase-1 imperative-statementΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  3634.  
  3635.  
  3636. 1ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇphrase-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3637.       Γö£ΓöÇTHROUGHΓöÇΓö¼ΓöÇprocedure-name-2ΓöÇΓöÿ           Γöé
  3638.       ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ                              Γöé
  3639.                                                Γöé
  3640. 2ΓöÇΓöÇΓöÇΓöÇEND-PERFORMΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3641.  
  3642.  
  3643.  where phrase-1 is:
  3644.  
  3645. ΓöÇΓöÇΓöÇΓöÇΓö¼identifier-1ΓöÇΓö¼ΓöÇΓöÇTIMESΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3646.      ΓööΓöÇinteger-1ΓöÇΓöÇΓöÇΓöÿ
  3647.  
  3648.  
  3649. ΓòÉΓòÉΓòÉ <hidden> Format 3 (PERFORM with UNTIL) ΓòÉΓòÉΓòÉ
  3650.  
  3651. Description 
  3652.   In Format 3 (PERFORM with UNTIL), the procedure(s) referenced are performed 
  3653.   until the condition specified by the UNTIL phrase is true. Control then 
  3654.   passes to next executable statement following the PERFORM statement. 
  3655.  
  3656. Format 3 (PERFORM with UNTIL)
  3657.  
  3658. ΓöÇΓöÇΓöÇPERFORMΓöÇΓö¼ΓöÇprocedure-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  3659.              Γöé
  3660.              Γöé
  3661.              Γöé
  3662.              ΓööΓöÇphrase-1 imperative-statementΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  3663.  
  3664.  
  3665. 1ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇphrase-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3666.       Γö£ΓöÇTHROUGHΓöÇΓö¼ΓöÇprocedure-name-2ΓöÇΓöÿ           Γöé
  3667.       ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ                              Γöé
  3668.                                                Γöé
  3669. 2ΓöÇΓöÇΓöÇΓöÇEND-PERFORMΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3670.  
  3671.  
  3672.  where phrase-1 is:
  3673.  
  3674. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇUNTIL condition-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3675.      ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇTESTΓöÇΓö¼ΓöÇBEFOREΓöÇΓöñ
  3676.        ΓööΓöÇWITHΓöÇΓöÿ      ΓööΓöÇAFTERΓöÇΓöÇΓöÿ
  3677.  
  3678.  
  3679. ΓòÉΓòÉΓòÉ <hidden> Format 4 (PERFORM with VARYING) ΓòÉΓòÉΓòÉ
  3680.  
  3681. Description 
  3682.   Format 4 (PERFORM with VARYING) increases or decreases the value of one or 
  3683.   more identifiers or index-names according to the rules for the VARYING 
  3684.   phrase. 
  3685.  
  3686.   The Format 4 PERFORM statement can serially search an entire 7-dimensional 
  3687.   table. 
  3688.  
  3689. Format 4 (PERFORM with VARYING)
  3690.  
  3691. ΓöÇΓöÇΓöÇPERFORMΓöÇΓö¼ΓöÇprocedure-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  3692.              Γöé
  3693.              Γöé
  3694.              Γöé
  3695.              ΓööΓöÇphrase-1 imperative-statementΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 2
  3696.  
  3697.  
  3698. 1 ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇphrase-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3699.        Γö£ΓöÇTHROUGHΓöÇΓö¼ΓöÇprocedure-name-2ΓöÇΓöÿ           Γöé
  3700.        ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ                              Γöé
  3701.                                                 Γöé
  3702. 2 ΓöÇΓöÇΓöÇΓöÇEND-PERFORMΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3703.  
  3704.  
  3705.  where phrase-1 is:
  3706.  
  3707. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇVARYINGΓöÇΓö¼ΓöÇidentifier-2ΓöÇΓö¼ΓöÇΓöÇ
  3708.     ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇTESTΓöÇΓö¼ΓöÇBEFOREΓöÇΓöñ         ΓööΓöÇindex-name-1ΓöÇΓöÿ
  3709.       ΓööΓöÇWITHΓöÇΓöÿ      ΓööΓöÇAFTERΓöÇΓöÇΓöÿ
  3710.  
  3711.  
  3712. ΓöÇΓöÇΓöÇFROMΓö¼identifier-3Γö¼BYΓö¼identifier-4Γö¼UNTIL condition-1ΓöÇΓöÇ
  3713.         Γö£index-name-2Γöñ  Γööliteral-2ΓöÇΓöÇΓöÇΓöÿ
  3714.         Γööliteral-1ΓöÇΓöÇΓöÇΓöÿ
  3715.  
  3716. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 3
  3717.     Γöé ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 4
  3718.     Γöé 
  3719.     ΓööΓöÇAFTERΓöÇΓö¼ΓöÇidentifier-5ΓöÇΓö¼ΓöÇFROMΓöÇΓö¼ΓöÇidentifier-6ΓöÇΓö¼ΓöÇBYΓöÇΓöÇΓöÇ 5
  3720.             ΓööΓöÇindex-name-3ΓöÇΓöÿ      Γö£ΓöÇindex-name-4ΓöÇΓöñ
  3721.                                   ΓööΓöÇliteral-3ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3722.  
  3723. 3 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3724. 4 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ Γöé
  3725.                                          Γöé Γöé
  3726. 5 ΓöÇΓöÇΓöÇΓö¼ΓöÇidentifier-7ΓöÇΓö¼ΓöÇUNTIL condition-2ΓöÇΓö┤ΓöÇΓöÿ
  3727.       ΓööΓöÇliteral-4ΓöÇΓöÇΓöÇΓöÇΓöÿ
  3728.  
  3729.  
  3730. ΓòÉΓòÉΓòÉ 1.68. VARYING Phrase ΓòÉΓòÉΓòÉ
  3731.  
  3732. The following rules apply to the VARYING phrase, regardless of how many 
  3733. variables are specified: 
  3734.  
  3735.  1. In the VARYING/AFTER phrases, when an index-name is specified: 
  3736.  
  3737.     a) The index-name is initialized and incremented or decremented according 
  3738.        to the rules for the INDEXED BY phrase of the OCCURS clause. 
  3739.  
  3740.     b) In the associated FROM phrase, an identifier must be described as an 
  3741.        integer and have a positive value; a literal must be a positive integer. 
  3742.  
  3743.     c) In the associated BY phrase, an identifier must be described as an 
  3744.        integer;  a literal must be a nonzero integer. 
  3745.  
  3746.  2. In the FROM phrase, when an index-name is specified: 
  3747.  
  3748.     a) In the associated VARYING/AFTER phrase, an identifier must be described 
  3749.        as an integer. It is initialized, as described in the SET statement. 
  3750.  
  3751.     b) In the associated BY phrase, an identifier must be described as an 
  3752.        integer and have a nonzero value; a literal must be a nonzero integer. 
  3753.  
  3754.  3. In the BY phrase, identifiers and literals must have nonzero values. 
  3755.  
  3756.  4. Changing the values of identifiers and/or index-names in the VARYING, FROM, 
  3757.     and BY phrases during execution changes the number of times the procedures 
  3758.     are executed. 
  3759.  
  3760.  
  3761. ΓòÉΓòÉΓòÉ 1.69. READ Statement ΓòÉΓòÉΓòÉ
  3762.  
  3763. Description 
  3764.   For sequential access, the READ statement makes the next logical record from 
  3765.   a file available to the object program.  For random access, the READ 
  3766.   statement makes a specified record from a direct-access file available to the 
  3767.   object program.  When the READ statement is executed, the associated file 
  3768.   must be open in INPUT or I-O mode.  The READ statement has two formats: 
  3769.  
  3770.     Format 1 (Sequential Access Mode) 
  3771.  
  3772.     Format 2 (Random Access Mode) 
  3773.  
  3774.  
  3775. ΓòÉΓòÉΓòÉ <hidden> Format 1 (Sequential Access Mode) ΓòÉΓòÉΓòÉ
  3776.  
  3777. Description 
  3778.   Use Format 1 for all files in sequential access mode.  Format 1 (Sequential 
  3779.   Access Mode) retrieves the next logical record from the file.  The file 
  3780.   organization determines the next record accessed. 
  3781.  
  3782. Format 1 (Sequential Access Mode)
  3783.  
  3784. ΓöÇΓöÇΓöÇREAD file-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  3785.                       ΓööNEXTΓöÿ ΓööRECORDΓöÿ ΓööINTO identifier-1Γöÿ
  3786.  
  3787. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3788.      ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇEND imperative-statement-1ΓöÇΓöÿ
  3789.        ΓööΓöÇATΓöÇΓöÿ
  3790.  
  3791. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3792.      ΓööΓöÇNOTΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇEND imperative-statement-2ΓöÇΓöÿ
  3793.            ΓööΓöÇATΓöÇΓöÿ
  3794.  
  3795. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3796.      ΓööΓöÇEND-READΓöÇΓöÿ
  3797.  
  3798.  
  3799. ΓòÉΓòÉΓòÉ <hidden> Format 2 (Random Access Mode) ΓòÉΓòÉΓòÉ
  3800.  
  3801. Description 
  3802.   You must specify Format 2 (Random Access Mode) for VSAM indexed and VSAM 
  3803.   relative files in random access mode, and for files in the dynamic access 
  3804.   mode when record retrieval is random. 
  3805.  
  3806. Format 2 (Random Access Mode)
  3807.  
  3808. ΓöÇΓöÇΓöÇREAD file-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  3809.                       ΓööΓöÇRECORDΓöÇΓöÿ ΓööΓöÇINTO identifier-1ΓöÇΓöÿ
  3810.  
  3811.  
  3812. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3813.     ΓööΓöÇKEYΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇdata-name-1ΓöÇΓöÿ
  3814.           ΓööΓöÇISΓöÇΓöÿ
  3815.  
  3816. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3817.     ΓööΓöÇINVALIDΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇimperative-statement-3ΓöÇΓöÿ
  3818.                 ΓööΓöÇKEYΓöÇΓöÿ
  3819.  
  3820. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3821.     ΓööΓöÇNOT INVALIDΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇimperative-statement-4ΓöÇΓöÿ
  3822.                     ΓööΓöÇKEYΓöÇΓöÿ
  3823.  
  3824. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3825.     ΓööΓöÇEND-READΓöÇΓöÿ
  3826.  
  3827.  
  3828. ΓòÉΓòÉΓòÉ 1.70. INVALID KEY/NOT INVALID KEY ΓòÉΓòÉΓòÉ
  3829.  
  3830. VSAM Indexed Files 
  3831.  
  3832. Execution of a Format 2 READ statement causes the key of reference to be 
  3833. compared with the corresponding key data item in the file records, until the 
  3834. first record having an equal value is found. The file position indicator is 
  3835. positioned to this record, which is then made available.  If no record can be 
  3836. so identified, an INVALID KEY condition exists, and READ statement execution is 
  3837. unsuccessful. 
  3838.  
  3839. VSAM Relative Files 
  3840.  
  3841. Execution of a Format 2 READ statement sets the file position indicator pointer 
  3842. to the record whose relative record number is contained in the RELATIVE KEY 
  3843. data item, and makes that record available.  If the file does not contain such 
  3844. a record, an INVALID KEY condition exists, and READ statement execution is 
  3845. unsuccessful. 
  3846.  
  3847. Click here for further information about the invalid key condition. 
  3848.  
  3849.  
  3850. ΓòÉΓòÉΓòÉ 1.71. AT END Phrase ΓòÉΓòÉΓòÉ
  3851.  
  3852. If the file position indicator indicates that no next logical record exists, or 
  3853. that an optional input file is not present, the following actions occur in the 
  3854. order specified: 
  3855.  
  3856.  1. A value derived from setting the file position indicator is placed into the 
  3857.     I-O status associated with file-name-1 to indicate the at end condition. 
  3858.  
  3859.  2. If the AT END phrase is specified in the statement causing the condition, 
  3860.     control is transferred to imperative-statement-1 in the AT END phrase. Any 
  3861.     USE AFTER STANDARD EXCEPTION procedure associated with file-name-1 is not 
  3862.     executed. 
  3863.  
  3864.  3. If the AT END phrase is not specified and a USE AFTER STANDARD EXCEPTION 
  3865.     procedure is associated with the file, that procedure is executed, and 
  3866.     control then returns to the next executable statement following the end of 
  3867.     the READ statement. 
  3868.  
  3869.     If the AT END phrase is not specified, a USE AFTER STANDARD EXCEPTION 
  3870.     procedure does not have to be associated with file-name-1. 
  3871.  
  3872.     When the at end condition occurs, execution of the READ statement is 
  3873.     unsuccessful. The contents of the associated record area are undefined and 
  3874.     the file position indicator is set to indicate that no valid next record 
  3875.     has been established. 
  3876.  
  3877.  
  3878. ΓòÉΓòÉΓòÉ 1.72. NOT AT END Phrase ΓòÉΓòÉΓòÉ
  3879.  
  3880. If an at end condition does not occur during the execution of a READ statement, 
  3881. the AT END phrase, if specified, is ignored, and the following actions occur: 
  3882.  
  3883.  1. The file position indicator is set and the I-O status associated with 
  3884.     file-name-1 is updated. 
  3885.  
  3886.  2. If an exception condition other than an at end condition exists, control is 
  3887.     transferred to the end of the READ statement following the execution of any 
  3888.     USE AFTER STANDARD EXCEPTION procedure applicable to file-name-1. If no USE 
  3889.     AFTER STANDARD EXCEPTION procedure is specified, control is transferred to 
  3890.     the end of the READ statement or to imperative-statement-2, if specified. 
  3891.  
  3892.  3. If no exception condition exists, the record is made available in the 
  3893.     record area and any implicit move resulting from the presence of an INTO 
  3894.     phrase is executed. Control is transferred to the end of the READ statement 
  3895.     or to imperative-statement-2, if specified. 
  3896.  
  3897.     In the latter case, execution continues according to the rules for each 
  3898.     statement specified in imperative-statement-2. If a procedure branching or 
  3899.     conditional statement which causes explicit transfer of control is 
  3900.     executed, control is transferred in accordance with the rules for that 
  3901.     statement; otherwise, upon completion of the execution of 
  3902.     imperative-statement-2, control is transferred to the end of the READ 
  3903.     statement. 
  3904.  
  3905.  
  3906. ΓòÉΓòÉΓòÉ 1.73. RELEASE Statement ΓòÉΓòÉΓòÉ
  3907.  
  3908. Description 
  3909.   The RELEASE statement transfers records from an input/output area to the 
  3910.   initial phase of a sorting operation. You can only use the RELEASE statement 
  3911.   within the range of an input procedure associated with a SORT statement. 
  3912.  
  3913.   Within an INPUT PROCEDURE, you must specify at least one RELEASE statement. 
  3914.  
  3915.   When the RELEASE statement is executed, the current contents of record-name-1 
  3916.   are placed in the sort file; that is, made available for the beginning of the 
  3917.   sorting operation. 
  3918.  
  3919.  
  3920. ΓöÇΓöÇΓöÇRELEASE record-name-1ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3921.                              ΓööΓöÇFROM identifier-1ΓöÇΓöÿ
  3922.  
  3923.  
  3924. ΓòÉΓòÉΓòÉ 1.74. RETURN Statement ΓòÉΓòÉΓòÉ
  3925.  
  3926. Description 
  3927.   The RETURN statement transfers records from the end of a sorting or merging 
  3928.   operation to an OUTPUT PROCEDURE. 
  3929.  
  3930.   Use the RETURN statement only within the range of an OUTPUT PROCEDURE 
  3931.   associated with a SORT or MERGE statement. Within the OUTPUT PROCEDURE, you 
  3932.   must specify at least one RETURN statement. 
  3933.  
  3934.   Execution of the RETURN statement makes the next record from file-name-1 
  3935.   available for processing by the OUTPUT PROCEDURE. 
  3936.  
  3937.  
  3938. ΓöÇΓöÇΓöÇRETURN file-name-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  3939.                          ΓööΓöÇRECORDΓöÇΓöÿ  ΓööΓöÇINTO identifier-1ΓöÇΓöÿ
  3940.  
  3941. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇEND imperative-statement-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3942.      ΓööΓöÇATΓöÇΓöÿ
  3943.  
  3944. ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  3945.      ΓööΓöÇNOTΓö¼ΓöÇΓöÇΓö¼ΓöÇEND imperative-statement-2ΓöÇΓöÿ ΓööΓöÇEND-RETURNΓöÇΓöÿ
  3946.           ΓööATΓöÿ
  3947.  
  3948.  
  3949. ΓòÉΓòÉΓòÉ <hidden> INTO identifier-1 ΓòÉΓòÉΓòÉ
  3950.  
  3951. The result of the execution of a RETURN statement with the INTO phrase is 
  3952. equivalent to the application of the following two rules in the order 
  3953. specified: 
  3954.  
  3955.  1. The execution of the same RETURN statement without the INTO phrase. 
  3956.  
  3957.  2. The moving of the current record from the record area to the area specified 
  3958.     by identifier-1 according to the rules for the MOVE statement without the 
  3959.     CORRESPONDING phrase.  The size of the current record is determined by 
  3960.     rules specified for the RECORD clause.  If the file description entry 
  3961.     contains a RECORD IS VARYING clause, the implied move is a group move. The 
  3962.     implied MOVE statement does not occur if the execution of the RETURN 
  3963.     statement was unsuccessful. Any subscripting or reference modification 
  3964.     associated with identifier-1 is evaluated after the record has been read 
  3965.     and immediately before it is moved to the data item. The record is 
  3966.     available both in the record area and in identifier-1. 
  3967.  
  3968. Identifier-1 (the record-area) may be a floating-point or DBCS data item. 
  3969.  
  3970. The record areas associated with file-name-1 and identifier-1 must not be the 
  3971. same storage area. 
  3972.  
  3973. You can specify the INTO phrase in a RETURN statement if one or both of the 
  3974. following are true: 
  3975.  
  3976.  1. Only one record description is subordinate to the sort-merge file 
  3977.     description entry. 
  3978.  2. All record-names associated with file-name-1 and identifier-1 describe a 
  3979.     group item or an elementary alphanumeric item. 
  3980.  
  3981.  
  3982. ΓòÉΓòÉΓòÉ 1.75. REWRITE Statement ΓòÉΓòÉΓòÉ
  3983.  
  3984. Description 
  3985.   The REWRITE statement logically replaces an existing record in a 
  3986.   direct-access file.  When the REWRITE statement is executed, the associated 
  3987.   direct-access file must be open in I-O mode. 
  3988.  
  3989.  
  3990. ΓöÇΓöÇREWRITE record-name-1ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3991.                             ΓööΓöÇFROM identifier-1ΓöÇΓöÿ
  3992.  
  3993. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  3994.     ΓööΓöÇINVALIDΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇimperative-statement-1ΓöÇΓöÿ
  3995.               ΓööΓöÇKEYΓöÇΓöÿ
  3996.  
  3997. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  3998.     ΓööΓöÇNOT INVALIDΓö¼ΓöÇΓöÇΓöÇΓö¼imperative-statement-2ΓöÿΓööEND-REWRITEΓöÿ
  3999.                  ΓööKEYΓöÿ
  4000.  
  4001.  
  4002. ΓòÉΓòÉΓòÉ 1.76. INVALID KEY/NOT INVALID KEY ΓòÉΓòÉΓòÉ
  4003.  
  4004. An INVALID KEY condition exists when any one of the following conditions is 
  4005. true: 
  4006.  
  4007.  The access mode is sequential, and the prime RECORD KEY of the record to be 
  4008.   replaced does not equal the prime RECORD KEY of the last-retrieved record 
  4009.   from the file. 
  4010.  
  4011.  The access mode is dynamic or random, and the prime RECORD KEY of the record 
  4012.   to be replaced does not equal the prime RECORD KEY of any record in the file. 
  4013.  
  4014.  The alternate RECORD KEY of the record to be replaced, for which DUPLICATES 
  4015.   are not allowed, equals the corresponding data item of a record already in 
  4016.   the file. 
  4017.  
  4018. Click here for further information about the INVALID KEY condition. 
  4019.  
  4020.  
  4021. ΓòÉΓòÉΓòÉ 1.77. SEARCH Statement ΓòÉΓòÉΓòÉ
  4022.  
  4023. Description 
  4024.   The SEARCH statement searches a table of an element that satisfies the 
  4025.   specified condition, and adjusts the associated index to indicate that 
  4026.   element. The SEARCH statement has two formats: 
  4027.  
  4028.     Format 1 (Serial Search) 
  4029.  
  4030.     Format 2 (Binary Search) 
  4031.  
  4032.  
  4033. ΓòÉΓòÉΓòÉ <hidden> Format 1 (Serial Search) ΓòÉΓòÉΓòÉ
  4034.  
  4035. Description 
  4036.   Format 1 (Serial Search) statement executes a serial search beginning at the 
  4037.   current index setting. 
  4038.  
  4039. Format 1 (Serial Search)
  4040.  
  4041. ΓöÇΓöÇSEARCH identifier-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4042.                         ΓööΓöÇVARYINGΓöÇΓö¼ΓöÇidentifier-2ΓöÇΓö¼ΓöÇΓöÿ
  4043.                                   ΓööΓöÇindex-name-1ΓöÇΓöÿ
  4044.  
  4045. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4046.     ΓööΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇEND imperative-statement-1ΓöÇΓöÿ
  4047.         ΓööΓöÇATΓöÇΓöÿ
  4048.  
  4049.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4050.                                              Γöé
  4051. ΓöÇΓöÇΓöÇWHEN condition-1ΓöÇΓö¼ΓöÇimperative-statement-2ΓöÇΓö╝ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  4052.                      ΓööΓöÇNEXT SENTENCEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ ΓööΓöÇEND-SEARCHΓöÇΓöÿ
  4053.  
  4054.  
  4055. ΓòÉΓòÉΓòÉ <hidden> Format 2 (Binary Search) ΓòÉΓòÉΓòÉ
  4056.  
  4057. Description 
  4058.   The Format 2 Binary Search statement executes a binary search.  The search 
  4059.   index does not need to be initialized by SET statements, because its setting 
  4060.   is varied during the search operation so that its value is at no time less 
  4061.   than the occurrence value of the first table element, nor ever greater than 
  4062.   the occurrence value of the last table element. The index used is always that 
  4063.   associated with the first index-name specified in the OCCURS clause. 
  4064.  
  4065. Format 2 (Binary Search)
  4066.  
  4067.  ΓöÇΓöÇΓöÇSEARCH ALL identifier-1ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  4068.                                 ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  4069.                                   ΓööΓöÇATΓöÇΓöÿ
  4070.  
  4071. 1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4072. 2ΓöÇΓöÇΓöÇEND imperative-statement-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4073.  
  4074.  ΓöÇΓöÇΓöÇWHENΓöÇΓö¼ΓöÇdata-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇEQUALΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ3
  4075.           Γöé             ΓööΓöÇISΓöÇΓöÿ Γöé       ΓööΓöÇTOΓöÇΓöÿ Γöé
  4076.           Γöé                    ΓööΓöÇ = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4077.           ΓööΓöÇcondition-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ4
  4078.  
  4079. 3ΓöÇΓöÇΓöÇΓö¼ΓöÇidentifier-3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4080.      Γö£ΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4081.      ΓööΓöÇarithmetic-expression-1ΓöÇΓöñ
  4082. 4ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4083.  
  4084.     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ5
  4085.     
  4086.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ6
  4087.     ΓööΓöÇANDΓöÇΓöÇΓö¼ΓöÇdata-name-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇEQUALΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ7
  4088.            Γöé             ΓööΓöÇISΓöÇΓöÿ Γöé       ΓööΓöÇTOΓöÇΓöÿ Γöé
  4089.            Γöé                    ΓööΓöÇ = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4090.            ΓööΓöÇcondition-name-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ8
  4091.  
  4092. 5ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4093.                                 Γöé
  4094. 6ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4095. 7ΓöÇΓöÇΓöÇΓö¼ΓöÇidentifier-4ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöñ
  4096.      Γö£ΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñΓöé
  4097.      ΓööΓöÇarithmetic-expression-2ΓöÇΓöÿΓöé
  4098. 8ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4099.  
  4100.  ΓöÇΓöÇΓöÇΓö¼ΓöÇimperative-statement-2ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  4101.      Γöé                          ΓööΓöÇEND-SEARCHΓöÇΓöÿ  Γöé
  4102.      ΓööΓöÇNEXT SENTENCEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4103.  
  4104.  
  4105. ΓòÉΓòÉΓòÉ <hidden> arithmetic-expression-1, arithmetic-expression-2 ΓòÉΓòÉΓòÉ
  4106.  
  4107. In Format 2 of the SEARCH statement, arithmetic-expression-1 or 
  4108. arithmetic-expression-2 may be any arithmetic expression, with the following 
  4109. restriction: no identifier in the arithmetic expression may be an 
  4110. ASCENDING/DESCENDING KEY data item for identifier-1 or an item that is 
  4111. subscripted by the first index-name for identifier-1. 
  4112.  
  4113. Click here for a description of arithmetic expressions. 
  4114.  
  4115.  
  4116. ΓòÉΓòÉΓòÉ <hidden> index-name-1 ΓòÉΓòÉΓòÉ
  4117.  
  4118. If index-name-1 is an index for identifier-1, this index is used for the 
  4119. search.  Otherwise, the first (or only) index name is used. If index-name-1 is 
  4120. an index for another table element, then the first (or only) index-name for 
  4121. identifier-1 is used for the search.  The occurrence number represented by 
  4122. index-name-1 is increased by the same amount as the search index-name and at 
  4123. the same time. 
  4124.  
  4125. When you omit this index-name-1, the first (or only) index-name for 
  4126. identifier-1 is used for the search. 
  4127.  
  4128. If indexing is used to search a table without an INDEXED BY clause, correct 
  4129. results are ensured only if both the table defined with the index and the table 
  4130. defined without the index have table elements of the same length and with the 
  4131. same number of occurrences. 
  4132.  
  4133.  
  4134. ΓòÉΓòÉΓòÉ <hidden> identifier-1 ΓòÉΓòÉΓòÉ
  4135.  
  4136. Identifier-1 can be a data item subordinate to a data item that contains an 
  4137. OCCURS clause; that is, it can be a part of a two to seven dimensional table. 
  4138. In this case, the data description entry must specify an INDEXED BY phrase for 
  4139. each dimension of the table. 
  4140.  
  4141. Identifier-1 must refer to all occurrences within the table element; that is, 
  4142. it must not be subscripted or reference-modified. 
  4143.  
  4144. Identifier-1 cannot be an INDEX data item.  It can be a DBCS item if you have 
  4145. defined the ASCENDING/DESCENDING KEY as a DBCS item, but it cannot be a 
  4146. floating-point data item or a POINTER data item. 
  4147.  
  4148. The Data Division description of identifier-1 must contain an OCCURS clause 
  4149. with the INDEXED BY option and the KEY IS phrase. 
  4150.  
  4151. In the WHEN phrase, if you explicitly or implicitly specify an 
  4152. ASCENDING/DESCENDING KEY data item, you must also specify all preceding 
  4153. ASCENDING/DESCENDING KEY data-names for identifier-1. 
  4154.  
  4155.  
  4156. ΓòÉΓòÉΓòÉ 1.78. SET Statement ΓòÉΓòÉΓòÉ
  4157.  
  4158. Description 
  4159.   The SET statement is used to perform one of the following operations: 
  4160.  
  4161.     1. Placing values associated with table elements into indexes associated 
  4162.        with index-names 
  4163.     2. Incrementing or decrementing an occurrence number 
  4164.     3. Setting the status of an external switch to ON or OFF 
  4165.     4. Moving data to condition names to make conditions true 
  4166.     5. Setting USAGE IS POINTER data items to a data address 
  4167.     6. Setting USAGE IS PROCEDURE-POINTER data items to an entry address. 
  4168.  
  4169. Index-names are related to a given table through the INDEXED BY phrase of the 
  4170. OCCURS clause; they are not further defined in the program. 
  4171.  
  4172. When the sending and receiving fields in a SET statement share part of their 
  4173. storage (that is, the operands overlap), the result of the execution of such 
  4174. SET statement is undefined. 
  4175.  
  4176. The SET statement has six Formats: 
  4177.  
  4178.  Format 1 (SET for basic table handling) 
  4179.  
  4180.  Format 2 (SET for adjusting indexes) 
  4181.  
  4182.  Format 3 (SET for external switches) 
  4183.  
  4184.  Format 4 (SET for condition names) 
  4185.  
  4186.  Format 5 (SET for USAGE IS POINTER data items) 
  4187.  
  4188.  Format 6 (SET for USAGE IS PROCEDURE-POINTER data items) 
  4189.  
  4190.  
  4191. ΓòÉΓòÉΓòÉ <hidden> Format 1 (SET for basic table handling) ΓòÉΓòÉΓòÉ
  4192.  
  4193. Description 
  4194.   When this form of the SET statement is executed, the current value of the 
  4195.   receiving field is replaced by the value of the sending field (with 
  4196.   conversion). 
  4197.  
  4198. Format 1 (SET for basic table handling)
  4199.  
  4200.          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4201.                        Γöé
  4202. ΓöÇΓöÇΓöÇSETΓöÇΓö¼ΓöÇindex-name-1ΓöÇΓö╝ΓöÇTO ΓöÇΓöÇΓöÇΓö¼ΓöÇindex-name-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4203.          ΓööΓöÇidentifier-1ΓöÇΓöÿ       Γö£ΓöÇidentifier-2ΓöÇΓöñ
  4204.                                 ΓööΓöÇinteger-1ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4205.  
  4206.  
  4207. ΓòÉΓòÉΓòÉ <hidden> Format 2 (SET for adjusting indexes) ΓòÉΓòÉΓòÉ
  4208.  
  4209. Description 
  4210.   When this form of the SET statement is executed, the value of the receiving 
  4211.   field is increased (UP BY) or decreased (DOWN BY) by a value corresponding to 
  4212.   the value in the sending field. 
  4213.  
  4214. Format 2 (SET for adjusting indexes)
  4215.  
  4216.          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4217.                      Γöé
  4218. ΓöÇΓöÇΓöÇSET index-name-3ΓöÇΓö┤Γö¼ΓöÇUP BYΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇidentifier-3ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  4219.                        ΓööΓöÇDOWN BYΓöÇΓöÿ  ΓööΓöÇinteger-2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4220.  
  4221.  
  4222. ΓòÉΓòÉΓòÉ <hidden> Format 3 (SET for external switches) ΓòÉΓòÉΓòÉ
  4223.  
  4224. Description 
  4225.   When this form of the SET statement is executed, the status of each external 
  4226.   switch associated with the specified mnemonic-name is switched ON or OFF. 
  4227.  
  4228. Format 3 (SET for external switches)
  4229.  
  4230.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4231.           Γöé  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ              Γöé
  4232.                            Γöé              Γöé
  4233. ΓöÇΓöÇΓöÇSETΓöÇΓöÇΓöÇΓöÇΓöÇmnemonic-name-1ΓöÇΓö┤ΓöÇTOΓöÇΓöÇΓöÇΓö¼ΓöÇONΓöÇΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4234.                                     ΓööΓöÇOFFΓöÇΓöÿ
  4235.  
  4236.  
  4237. ΓòÉΓòÉΓòÉ <hidden> Format 4 (SET for condition names) ΓòÉΓòÉΓòÉ
  4238.  
  4239. Description 
  4240.   When this form of the SET statement is executed, the value associated with a 
  4241.   condition name is placed in its conditional variable according to the rules 
  4242.   of the VALUE phrase. 
  4243.  
  4244. Format 4 (SET for condition names)
  4245.  
  4246.          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4247.                          Γöé
  4248. ΓöÇΓöÇΓöÇSET condition-name-1ΓöÇΓö┤ΓöÇTO TRUEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4249.  
  4250.  
  4251. ΓòÉΓòÉΓòÉ <hidden> Format 5 (SET for USAGE IS POINTER data items) ΓòÉΓòÉΓòÉ
  4252.  
  4253. Description 
  4254.   When this form of the SET statement is executed, the current value of the 
  4255.   receiving field is replaced by the address value contained in the sending 
  4256.   field. 
  4257.  
  4258. Format 5 (SET for USAGE IS POINTER data items)
  4259.  
  4260.           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4261.           Γöé                           Γöé
  4262.                                      Γöé
  4263. ΓöÇΓöÇΓöÇSETΓöÇΓöÇΓö¼ΓöÇΓöÇidentifier-4ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4264.           ΓööΓöÇΓöÇADDRESS OF identifier-5ΓöÇΓöÇΓöÿ
  4265.  
  4266.  
  4267. ΓöÇΓöÇΓöÇTOΓöÇΓöÇΓö¼ΓöÇΓöÇidentifier-6ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4268.         Γö£ΓöÇΓöÇADDRESS OF identifier-7ΓöÇΓöÇΓöñ
  4269.         Γö£ΓöÇΓöÇNULLΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4270.         ΓööΓöÇΓöÇNULLSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4271.  
  4272.  
  4273. ΓòÉΓòÉΓòÉ <hidden> Format 6 (SET for USAGE IS PROCEDURE-POINTER data items) ΓòÉΓòÉΓòÉ
  4274.  
  4275. Description 
  4276.   When this form of the SET statement is executed, the current value of the 
  4277.   receiving field is replaced by the address value contained in the sending 
  4278.   field. 
  4279.  
  4280.     Format 6 (SET for USAGE IS PROCEDURE-POINTER data items)
  4281.  
  4282.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4283.                                             Γöé
  4284.     ΓöÇΓöÇSETΓöÇΓöÇΓöÇΓöÇprocedure-pointer-data-item-1ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4285.  
  4286.      ΓöÇΓöÇΓöÇTOΓöÇΓöÇΓö¼ΓöÇprocedure-pointer-data-item-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  4287.              Γö£ΓöÇENTRYΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇidentifier-8ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4288.              Γöé         ΓööΓöÇΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4289.              Γö£ΓöÇNULLΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4290.              ΓööΓöÇNULLSΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4291.  
  4292.  
  4293. ΓòÉΓòÉΓòÉ 1.79. SORT Statement ΓòÉΓòÉΓòÉ
  4294.  
  4295. Description 
  4296.   The SORT statement accepts records from one or more files, sorts them 
  4297.   according to the specified keys, and makes the sorted records available 
  4298.   either through an OUTPUT PROCEDURE or in an output file. The SORT statement 
  4299.   may appear anywhere in the Procedure Division except in the declarative 
  4300.   portion. 
  4301.  
  4302.  
  4303.                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  4304.                          Γöé
  4305.                          
  4306.   ΓöÇΓöÇΓöÇSORT file-name-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇASCENDINGΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  4307.                          ΓööΓöÇONΓöÇΓöÿ  ΓööΓöÇDESCENDINGΓöÇΓöÿ ΓööΓöÇKEYΓöÇΓöÿ
  4308.  
  4309.  1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4310.         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ      Γöé
  4311.                     Γöé      Γöé
  4312.  2ΓöÇΓöÇΓöÇΓöÇdata-name-1ΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4313.  
  4314.  
  4315.   ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4316.        ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇDUPLICATESΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  4317.          ΓööΓöÇWITHΓöÇΓöÿ                ΓööΓöÇIN ORDERΓöÇΓöÿ
  4318.  
  4319.   ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4320.        ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSEQUENCEΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇalphabet-name-1ΓöÇΓöÿ
  4321.          ΓööΓöÇCOLLATINGΓöÇΓöÿ          ΓööISΓöÿ
  4322.  
  4323.                  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4324.                            Γöé
  4325.   ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇUSING file-name-2ΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 3
  4326.        ΓööΓöÇINPUT PROCEDUREΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇprocedure-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 4
  4327.                           ΓööΓöÇISΓöÇΓöÿ
  4328.  
  4329. 3 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4330. 4 ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  4331.        ΓööΓöÇΓö¼ΓöÇTHROUGHΓöÇΓö¼ΓöÇprocedure-name-2ΓöÇΓöÿ
  4332.          ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ
  4333.  
  4334.                 ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4335.                            Γöé
  4336.   ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇGIVING file-name-3ΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 5
  4337.        ΓööΓöÇOUTPUT PROCEDUREΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇprocedure-name-3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 6
  4338.                           ΓööΓöÇISΓöÇΓöÿ
  4339. 5 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4340. 6 ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γöÿ
  4341.        ΓööΓöÇΓö¼ΓöÇTHROUGHΓöÇΓö¼ΓöÇprocedure-name-4ΓöÇΓöÿ
  4342.          ΓööΓöÇTHRUΓöÇΓöÇΓöÇΓöÇΓöÿ
  4343.  
  4344.  
  4345. ΓòÉΓòÉΓòÉ <hidden> data-name-1 ΓòÉΓòÉΓòÉ
  4346.  
  4347. Data-name-1 specifies a KEY data item on which the SORT statement will be 
  4348. based. Each such data-name must identify a data item in a record associated 
  4349. with file-name-1. The data-names following the word KEY are listed from left to 
  4350. right in the SORT statement in order of decreasing significance without regard 
  4351. to how they are divided into KEY phrases.  The leftmost data-name is the major 
  4352. key, the next data-name is the next most significant key, and so forth.  The 
  4353. following rules apply: 
  4354.  
  4355.  1. A specific KEY data item must be physically located in the same position 
  4356.     and have the same data format in each input file.  However, it does not 
  4357.     need to have the same data-name. 
  4358.  
  4359.  2. If file-name-1 has more than one record description, then the KEY 
  4360.     data-items need to be described in only one of the record descriptions. 
  4361.  
  4362.  3. If file-name-1 contains variable length records, all of the KEY data-items 
  4363.     must be contained in only one of the record descriptions. 
  4364.  
  4365.  4. KEY data-items must not contain an OCCURS clause or be subordinate to an 
  4366.     item that contains an OCCURS clause. 
  4367.  
  4368.  5. KEY data-items may be qualified. 
  4369.  
  4370.  6. KEY data-items may not be group items that contain variable occurrence data 
  4371.     items. 
  4372.  
  4373.  7. KEY data-items may be floating-point items. 
  4374.  
  4375.  8. KEY data-items may not be variably located. 
  4376.  
  4377.  
  4378. ΓòÉΓòÉΓòÉ 1.80. START Statement ΓòÉΓòÉΓòÉ
  4379.  
  4380. Description 
  4381.   The START statement positions an indexed or relative file for subsequent 
  4382.   sequential record retrieval. When the START statement is executed, the 
  4383.   associated indexed or relative file must be open in either INPUT or I-O mode. 
  4384.  
  4385.  
  4386.   ΓöÇΓöÇΓöÇSTART file-nameΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 1
  4387.                        ΓööΓöÇKEYΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ 2
  4388.                              ΓööΓöÇISΓöÇΓöÿ
  4389. 1 ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  4390. 2 ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇEQUALΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇdata-nameΓöÿ
  4391.        Γöé       ΓööΓöÇTOΓöÇΓöÿ                     Γöé
  4392.        Γö£ΓöÇ = ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4393.        Γö£ΓöÇGREATERΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4394.        Γöé         ΓööΓöÇTHANΓöÇΓöÿ                 Γöé
  4395.        Γö£ΓöÇ > ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4396.        Γö£ΓöÇNOT LESSΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4397.        Γöé          ΓööΓöÇTHANΓöÇΓöÿ                Γöé
  4398.        Γö£ΓöÇNOT < ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4399.        Γö£ΓöÇGREATERΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOR EQUALΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöñ
  4400.        Γöé         ΓööΓöÇTHANΓöÇΓöÿ          ΓööΓöÇTOΓöÇΓöÿ Γöé
  4401.        ΓööΓöÇ >= ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4402.  
  4403.   ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4404.     ΓööΓöÇINVALIDΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇimperative-statement-1ΓöÇΓöÇΓöÿ
  4405.               ΓööΓöÇKEYΓöÇΓöÿ
  4406.  
  4407.   ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  4408.     ΓööNOT INVALIDΓö¼ΓöÇΓöÇΓöÇΓö¼imperative-statement-2Γöÿ ΓööEND-STARTΓöÿ
  4409.                 ΓööKEYΓöÿ
  4410.  
  4411.  
  4412. ΓòÉΓòÉΓòÉ 1.81. INVALID KEY/NOT INVALID KEY ΓòÉΓòÉΓòÉ
  4413.  
  4414. If the comparison is not satisfied by any record in the file, an invalid key 
  4415. condition exists; the position of the file position indicator is undefined, and 
  4416. (if specified) the INVALID KEY imperative-statement is executed. 
  4417.  
  4418. You can omit both the INVALID KEY phrase and the EXCEPTION/ERROR procedure. 
  4419.  
  4420. Click here for further information about the INVALID KEY condition. 
  4421.  
  4422.  
  4423. ΓòÉΓòÉΓòÉ 1.82. STOP Statement ΓòÉΓòÉΓòÉ
  4424.  
  4425. Description 
  4426.   The STOP statement halts execution of the object program either permanently 
  4427.   or temporarily. 
  4428.  
  4429.  
  4430. ΓöÇΓöÇΓöÇSTOPΓöÇΓö¼ΓöÇΓöÇRUNΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4431.           ΓööΓöÇΓöÇliteralΓöÇΓöÇΓöÿ
  4432.  
  4433.  
  4434. ΓòÉΓòÉΓòÉ 1.83. STRING Statement ΓòÉΓòÉΓòÉ
  4435.  
  4436. Description 
  4437.  
  4438.   The STRING statement strings together the partial or complete contents of two 
  4439.   or more data items or literals into one single data item. One STRING 
  4440.   statement can replace a series of MOVE statements. When the STRING statement 
  4441.   is executed, data is transferred from the sending field to the receiving 
  4442.   field. 
  4443.  
  4444.   After the STRING statement is executed, only that part of the receiving field 
  4445.   where the system transfers data will change.  The rest of the receiving field 
  4446.   contains the data that was present before executing the STRING statement. 
  4447.  
  4448.  
  4449.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  4450.              Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4451.                            Γöé
  4452.  ΓöÇΓöÇSTRINGΓöÇΓöÇΓö¼ΓöÇidentifier-1ΓöÇΓö╝ΓöÇDELIMITEDΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  4453.              ΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÿ            ΓööΓöÇBYΓöÇΓöÿ
  4454.  
  4455. 1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4456.                      Γöé
  4457.                      Γöé
  4458. 2ΓöÇΓöÇΓö¼ΓöÇidentifier-2ΓöÇΓö¼ΓöÇΓö┤ΓöÇΓöÇINTO identifier-3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4459.     Γö£ΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÇΓöñ
  4460.     ΓööΓöÇSIZEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4461.  
  4462.  
  4463.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4464.     ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇPOINTER identifier-4ΓöÇΓöÿ
  4465.       ΓööΓöÇWITHΓöÇΓöÿ
  4466.  
  4467.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4468.     ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOVERFLOW imperative-statement-1ΓöÇΓöÿ
  4469.        ΓööΓöÇONΓöÇΓöÿ
  4470.  
  4471.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4472.     ΓööΓöÇNOTΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOVERFLOW imperative-statement-2ΓöÇΓöÿ
  4473.            ΓööΓöÇONΓöÇΓöÿ
  4474.  
  4475.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4476.     ΓööΓöÇEND-STRINGΓöÇΓöÿ
  4477.  
  4478.  
  4479. ΓòÉΓòÉΓòÉ 1.84. SUBTRACT Statement ΓòÉΓòÉΓòÉ
  4480.  
  4481. Description 
  4482.   The SUBTRACT statement subtracts one numeric item, or the sum of two or more 
  4483.   numeric items from one or more numeric items, and stores the result. The 
  4484.   SUBTRACT statement has three formats: 
  4485.  
  4486.     Format 1 (SUBTRACT) 
  4487.  
  4488.     Format 2 (SUBTRACT with GIVING) 
  4489.  
  4490.     Format 3 (SUBTRACT with CORRESPONDING) 
  4491.  
  4492.  
  4493. ΓòÉΓòÉΓòÉ <hidden> Format 1 (SUBTRACT) ΓòÉΓòÉΓòÉ
  4494.  
  4495. Description 
  4496.   In Format 1 (SUBTRACT), all identifiers or literals preceding the key word 
  4497.   FROM are added together. This sum is then subtracted from and stored 
  4498.   immediately in identifier-2.  This process is repeated for each successive 
  4499.   occurrence of identifier-2, in the left-to-right order in which identifier-2 
  4500.   is specified. 
  4501.  
  4502. Format 1 (SUBTRACT)
  4503.  
  4504.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4505.                            Γöé                        Γöé
  4506. ΓöÇΓöÇSUBTRACTΓöÇΓö¼ΓöÇidentifier-1ΓöÇΓö╝FROMΓöÇidentifier-2Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ
  4507.              ΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÿ                 ΓööROUNDEDΓöÿ
  4508.  
  4509. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4510.    ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSIZE ERROR imperative-statement-1ΓöÇΓöÿ
  4511.      ΓööΓöÇONΓöÇΓöÿ
  4512.  
  4513. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  4514.    ΓööΓöÇNOTΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSIZE ERROR imperative-statement-2ΓöÇΓöÿ
  4515.           ΓööΓöÇONΓöÇΓöÿ
  4516.  
  4517. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4518.    ΓööΓöÇEND-SUBTRACTΓöÇΓöÿ
  4519.  
  4520.  
  4521. ΓòÉΓòÉΓòÉ <hidden> Format 2 (SUBTRACT with GIVING) ΓòÉΓòÉΓòÉ
  4522.  
  4523. Description 
  4524.   In Format 2 (SUBTRACT with GIVING), all identifiers or literals preceding the 
  4525.   key word FROM are added together and this sum is subtracted from identifier-2 
  4526.   or literal-2.  The result of the subtraction is stored as the new value of 
  4527.   each data item referenced by identifier-3. 
  4528.  
  4529. Format 2 (SUBTRACT with GIVING)
  4530.  
  4531.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4532.                            Γöé
  4533. ΓöÇΓöÇSUBTRACTΓöÇΓö¼ΓöÇidentifier-1ΓöÇΓö╝FROMΓöÇΓö¼ΓöÇidentifier-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4534.              ΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÿ     ΓööΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4535.  
  4536.             ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4537.                                   Γöé
  4538. ΓöÇΓöÇGIVINGΓöÇΓöÇΓöÇidentifier-3ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4539.                          ΓööΓöÇROUNDEDΓöÇΓöÿ
  4540.  
  4541. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4542.    ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSIZE ERROR imperative-statement-1ΓöÇΓöÿ
  4543.      ΓööΓöÇONΓöÇΓöÿ
  4544.  
  4545. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  4546.    ΓööΓöÇNOTΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSIZE ERROR imperative-statement-2ΓöÇΓöÿ
  4547.           ΓööΓöÇONΓöÇΓöÿ
  4548.  
  4549. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4550.    ΓööΓöÇEND-SUBTRACTΓöÇΓöÿ
  4551.  
  4552.  
  4553. ΓòÉΓòÉΓòÉ <hidden> Format 3 (SUBTRACT with CORRESPONDING) ΓòÉΓòÉΓòÉ
  4554.  
  4555. Description 
  4556.   In Format 3 (SUBTRACT with CORRESPONDING), elementary data items within 
  4557.   identifier-1 are subtracted from the corresponding elementary data items 
  4558.   within identifier-2, where the results are stored. 
  4559.  
  4560.     Format 3 (SUBTRACT with CORRESPONDING)
  4561.  
  4562.       ΓöÇΓöÇSUBTRACTΓöÇΓö¼ΓöÇCORRESPONDINGΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4563.                    ΓööΓöÇCORRΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4564.  
  4565.       ΓöÇΓöÇidentifier-1 FROM identifier-2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4566.                                          ΓööΓöÇROUNDEDΓöÇΓöÿ
  4567.  
  4568.       ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4569.          ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSIZE ERROR imperative-statement-1ΓöÇΓöÿ
  4570.            ΓööΓöÇONΓöÇΓöÿ
  4571.  
  4572.       ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  4573.          ΓööΓöÇNOTΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSIZE ERROR imperative-statement-2ΓöÇΓöÿ
  4574.                 ΓööΓöÇONΓöÇΓöÿ
  4575.  
  4576.       ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4577.          ΓööΓöÇEND-SUBTRACTΓöÇΓöÿ
  4578.  
  4579.  
  4580. ΓòÉΓòÉΓòÉ 1.85. UNSTRING Statement ΓòÉΓòÉΓòÉ
  4581.  
  4582. Description 
  4583.   The UNSTRING statement causes contiguous data in a sending field to be 
  4584.   separated and placed into multiple receiving fields.  You can use one 
  4585.   UNSTRING statement instead of multiple MOVE statements. 
  4586.  
  4587.   Note:   This element may exhibit different behavior when the CMPR2 compiler 
  4588.           option is in effect. 
  4589.  
  4590.  
  4591.  ΓöÇΓöÇUNSTRING identifier-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4592.  
  4593.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ1
  4594.     ΓööΓöÇDELIMITEDΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifier-2ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ2
  4595.                  ΓööΓöÇBYΓöÇΓöÿ  ΓööΓöÇALLΓöÇΓöÿ ΓööΓöÇliteral-1ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4596.  
  4597. 1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4598. 2ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÿ
  4599.     Γöé                            Γöé
  4600.     Γöé  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöé
  4601.     Γöé                          ΓöéΓöé
  4602.     ΓööΓöÇORΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifier-3ΓöÇΓöÇΓö╝Γöÿ
  4603.         ΓööΓöÇALLΓöÇΓöÿ ΓööΓöÇliteral-2ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4604.  
  4605.            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ3
  4606.            
  4607.  ΓöÇΓöÇINTOΓöÇΓöÇΓöÇidentifier-4ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼4
  4608.                         ΓööΓöÇDELIMITERΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇidentifier-5ΓöÇΓöÿ
  4609.                                      ΓööINΓöÿ
  4610.  
  4611. 3ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  4612.                                 Γöé
  4613. 4ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4614.     ΓööΓöÇCOUNTΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇidentifier-6ΓöÇΓöÿ
  4615.             ΓööΓöÇINΓöÇΓöÿ
  4616.  
  4617.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4618.     ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇPOINTER identifier-7ΓöÇΓöÿ
  4619.       ΓööΓöÇWITHΓöÇΓöÿ
  4620.  
  4621.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4622.     ΓööΓöÇTALLYINGΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇidentifier-8ΓöÇΓöÿ
  4623.                ΓööΓöÇINΓöÇΓöÿ
  4624.  
  4625.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4626.     ΓööΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOVERFLOW imperative-statement-1ΓöÇΓöÿ
  4627.        ΓööΓöÇONΓöÇΓöÿ
  4628.  
  4629.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4630.     ΓööΓöÇNOTΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOVERFLOW imperative-statement-2ΓöÇΓöÿ
  4631.           ΓööΓöÇONΓöÇΓöÿ
  4632.  
  4633.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4634.     ΓööΓöÇEND-UNSTRINGΓöÇΓöÿ
  4635.  
  4636.  
  4637. ΓòÉΓòÉΓòÉ 1.86. WRITE Statement ΓòÉΓòÉΓòÉ
  4638.  
  4639. Description 
  4640.   The WRITE statement releases a logical record for an output or input/output 
  4641.   file. When the WRITE statement is executed, the associated QSAM file must be 
  4642.   open in OUTPUT or EXTEND mode, the associated VSAM file must go in OUTPUT 
  4643.   mode, and the associated VSAM file must be open in OUTPUT, I-O, or EXTEND 
  4644.   mode. The WRITE statement has four formats: 
  4645.  
  4646.     Format 1 (QSAM Sequential Files) 
  4647.  
  4648.     Format 2 (VSAM Sequential Files) 
  4649.  
  4650.     Format 3 (VSAM Indexed Files) 
  4651.  
  4652.     Format 4 (VSAM Relative Files) 
  4653.  
  4654.  
  4655. ΓòÉΓòÉΓòÉ <hidden> Format 1 (QSAM Sequential Files) ΓòÉΓòÉΓòÉ
  4656.  
  4657. Description 
  4658.  
  4659.   QSAM files are sequentially organized.  ADVANCING and END-OF-PAGE control the 
  4660.   vertical positioning of each line on a printed page.  However, do not specify 
  4661.   both ADVANCING and END-OF-PAGE in a single WRITE statement. 
  4662.  
  4663.   If the printed page is held on an intermediate device (e.g., a disk), the 
  4664.   format, when edited or browsed, may appear different than the expected 
  4665.   output. 
  4666.  
  4667. Format 1 (QSAM Sequential Files)
  4668.  
  4669. ΓöÇΓöÇΓöÇWRITE record-name-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4670.                           ΓööΓöÇFROM identifier-1ΓöÇΓöÿ
  4671.  
  4672. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ1
  4673.   Γö£Γö¼ΓöÇBEFOREΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓö¼ΓöÇidentifier-2ΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼Γöÿ
  4674.   ΓöéΓööΓöÇAFTERΓöÇΓöÇΓöÿ ΓööΓöÇADVANCINGΓöÇΓöÿ Γöé ΓööΓöÇinteger-1ΓöÇΓöÇΓöÇΓöÇΓöÿ Γö£ΓöÇLINEΓöÇΓöÇΓöñ Γöé
  4675.   Γöé                         Γöé                  ΓööΓöÇLINESΓöÇΓöÿ Γöé
  4676.   Γöé                         Γö£ΓöÇmnemonic-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  4677.   Γöé                         ΓööΓöÇPAGEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4678.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ2
  4679.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇINVALIDΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇimperative-statement-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4680.                    ΓööΓöÇKEYΓöÇΓöÇΓöÿ
  4681.  
  4682.  
  4683. 1ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ3
  4684.      ΓööΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇEND-OF-PAGEΓöÇΓö¼ΓöÇimperative-statement-2ΓöÇΓöÇΓöÇΓöÇΓöÿ
  4685.        ΓööΓöÇATΓöÇΓöÇΓöÿ ΓööΓöÇΓöÇΓöÇΓöÇΓöÇEOPΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4686. 2ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ4
  4687.      ΓööΓöÇΓöÇNOT INVALIDΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇimperative-statement-3ΓöÇΓöÇΓöÿ
  4688.                      ΓööΓöÇKEYΓöÇΓöÇΓöÿ
  4689.  
  4690.  
  4691. 3ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇ
  4692.      ΓööΓöÇΓöÇNOTΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇEND-OF-PAGEΓöÇΓö¼ΓöÇimperative-statement-4ΓöÇΓöÇΓöÿΓöé
  4693.             ΓööΓöÇATΓöÇΓöÿΓööΓöÇΓöÇΓöÇΓöÇEOPΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ                          Γöé
  4694. 4ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  4695.  
  4696.  
  4697.  ΓöÇΓöÇΓöÇEND-WRITEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4698.  
  4699.  
  4700. ΓòÉΓòÉΓòÉ 1.87. Format 2 (VSAM Sequential Files) ΓòÉΓòÉΓòÉ
  4701.  
  4702. Description 
  4703.   The WRITE statement releases a logical record for an output or input/output 
  4704.   file. When the WRITE statement is executed, the associated QSAM file must be 
  4705.   open in OUTPUT or EXTEND mode, and the associated VSAM file must be open in 
  4706.   OUTPUT, I-O, or EXTEND mode. 
  4707.  
  4708. Format 2 (VSAM Sequential Files)
  4709.  
  4710. ΓöÇΓöÇΓöÇWRITE record-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  4711.                          ΓööΓöÇFROM identifier-1ΓöÇΓöÿ ΓööΓöÇEND-WRITEΓöÇΓöÿ
  4712.  
  4713.  
  4714. ΓòÉΓòÉΓòÉ 1.88. Format 3 (VSAM Indexed Files) ΓòÉΓòÉΓòÉ
  4715.  
  4716. Description 
  4717.   The WRITE statement releases a logical record for an output or input/output 
  4718.   file. When the WRITE statement is executed, the associated QSAM file must be 
  4719.   open in OUTPUT or EXTEND mode, and the associated VSAM file must be open in 
  4720.   OUTPUT, I-O, or EXTEND mode. 
  4721.  
  4722. Format 3 (VSAM Indexed Files)
  4723.  
  4724. ΓöÇΓöÇΓöÇWRITE record-name-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4725.                           ΓööFROM identifier-1Γöÿ
  4726.  
  4727.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4728.      ΓööΓöÇINVALIDΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇimperative-statement-1ΓöÇΓöÿ
  4729.                 ΓööΓöÇKEYΓöÇΓöÿ
  4730.  
  4731.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  4732.      ΓööNOT INVALIDΓö¼ΓöÇΓöÇΓöÇΓö¼imperative-statement-2Γöÿ ΓööEND-WRITEΓöÿ
  4733.                  ΓööKEYΓöÿ
  4734.  
  4735.  
  4736. ΓòÉΓòÉΓòÉ 1.89. Format 4 (VSAM Relative Files) ΓòÉΓòÉΓòÉ
  4737.  
  4738. Description 
  4739.   The WRITE statement releases a logical record for an output or input/output 
  4740.   file. When the WRITE statement is executed, the associated QSAM file must be 
  4741.   open in OUTPUT or EXTEND mode, and the associated VSAM file must be open in 
  4742.   OUTPUT, I-O, or EXTEND mode. 
  4743.  
  4744. Format 4 (VSAM Relative Files)
  4745.  
  4746. ΓöÇΓöÇΓöÇWRITE record-name-1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4747.                           ΓööFROM identifier-1Γöÿ
  4748.  
  4749.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4750.      ΓööΓöÇINVALIDΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇimperative-statement-1ΓöÇΓöÿ
  4751.                 ΓööΓöÇKEYΓöÇΓöÿ
  4752.  
  4753.  ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  4754.      ΓööNOT INVALIDΓö¼ΓöÇΓöÇΓöÇΓö¼imperative-statement-2Γöÿ ΓööEND-WRITEΓöÿ
  4755.                  ΓööKEYΓöÿ
  4756.  
  4757.  
  4758. ΓòÉΓòÉΓòÉ 1.90. INVALID KEY (QSAM Sequential Files) ΓòÉΓòÉΓòÉ
  4759.  
  4760. When you specify the INVALID KEY phrase and attempt to write beyond the 
  4761. externally defined boundaries of the file, the INVALID KEY imperative statement 
  4762. is executed. 
  4763.  
  4764. You can omit both the INVALID KEY phrase and the EXCEPTION/ERROR procedure. 
  4765.  
  4766. Click here for further information about the invalid key condition. 
  4767.  
  4768.  
  4769. ΓòÉΓòÉΓòÉ 1.91. INVALID KEY (VSAM Indexed Files) ΓòÉΓòÉΓòÉ
  4770.  
  4771. You can omit both the INVALID KEY phrase and the EXCEPTION/ERROR procedure. 
  4772.  
  4773. When an attempt is made to write beyond the externally defined boundaries of 
  4774. the file, WRITE statement execution is unsuccessful and an EXCEPTION/ERROR 
  4775. condition exists. The status key, if specified, is updated, and if an explicit 
  4776. or implicit EXCEPTION/ERROR procedure is specified for the file, the procedure 
  4777. is executed. 
  4778.  
  4779. An invalid key condition is caused by any of the following: 
  4780.  
  4781.  The access mode is sequential and the file is opened OUTPUT, and the value of 
  4782.   the prime record key is not greater than that of the previous record. 
  4783.  
  4784.  The file is opened OUTPUT or I-O and the value of the prime record key equals 
  4785.   that of an already existing record. 
  4786.  
  4787.  An attempt is made to write beyond the externally defined boundaries of the 
  4788.   file. 
  4789.  
  4790. When the invalid key condition is recognized, WRITE statement execution is 
  4791. unsuccessful, and the contents of the record are unaffected.  Program execution 
  4792. proceeds according to the rules described under invalid key condition. 
  4793.  
  4794.  
  4795. ΓòÉΓòÉΓòÉ 1.92. INVALID KEY (VSAM Relative Files) ΓòÉΓòÉΓòÉ
  4796.  
  4797. You can omit both the INVALID KEY phrase and the EXCEPTION/ERROR procedure. 
  4798.  
  4799. INVALID KEY conditions that apply to a relative file in OPEN OUTPUT mode also 
  4800. apply to one in OPEN EXTEND mode. 
  4801.  
  4802. An invalid key condition is caused by any of the following: 
  4803.  
  4804.  An attempt is made to write beyond the externally defined boundaries of the 
  4805.   file. 
  4806.  
  4807.  The access mode is random or dynamic and the RELATIVE KEY data item specifies 
  4808.   a record that already exists in the file. 
  4809.  
  4810.  The number of significant digits in the relative record number is larger than 
  4811.   the size of the relative key data item for the file. 
  4812.  
  4813. When the invalid key condition is recognized, WRITE statement execution is 
  4814. unsuccessful, and the contents of the record are unaffected.  Program execution 
  4815. proceeds according to the rules described under invalid key condition. 
  4816.  
  4817.  
  4818. ΓòÉΓòÉΓòÉ 1.93. Intrinsic Functions ΓòÉΓòÉΓòÉ
  4819.  
  4820. An intrinsic function is a function that performs a mathematical, character, or 
  4821. logical operation, and thereby allows you to make reference to a data item 
  4822. whose value is derived automatically during the execution of the object 
  4823. program. 
  4824.  
  4825. There are three types of functions: 
  4826.  
  4827.  Alphanumeric 
  4828.  Integer 
  4829.  Numeric 
  4830.  
  4831. Functions are elementary data items and return alphanumeric, numeric, or 
  4832. integer values.  Functions may not serve as receiving operands. 
  4833.  
  4834. The values returned by some functions are determined by the arguments specified 
  4835. in the function-identifier when the functions are evaluated.  Some functions 
  4836. require no arguments; others require a fixed number of arguments, and still 
  4837. others allow a variable number of arguments. 
  4838.  
  4839. An argument must be one of the following: 
  4840.  
  4841.  an identifier 
  4842.  an arithmetic expression 
  4843.  a literal other than a figurative constant 
  4844.  a special-register 
  4845.  a function-identifier. 
  4846.  
  4847. When a function allows an argument to be repeated a variable number of times, 
  4848. you may refer to a table by specifying the data-name and any qualifiers that 
  4849. identify the table.  This must be followed immediately by subscripting where 
  4850. one or more of the subscripts is the word ALL. 
  4851.  
  4852. Note:   The evaluation of an ALL subscript must result in at least one 
  4853. argument, or the value returned by the function will be undefined. This 
  4854. situation can be diagnosed at run-time by specifying the SSRANGE compiler 
  4855. option and the CHECK run-time option. 
  4856.  
  4857. An argument may not be a DBCS literal or data item. 
  4858.  
  4859. For help with individual intrinsic functions, select from the following list: 
  4860.  
  4861. ACOS Function                      MIDRANGE Function 
  4862. ANNUITY Function                   MIN Function 
  4863. ASIN Function                      MOD Function 
  4864. ATAN Function                      NUMVAL Function 
  4865. CHAR Function                      NUMVAL-C Function 
  4866. COS Function                       ORD Function 
  4867. CURRENT-DATE Function              ORD-MAX Function 
  4868. DATE-OF-INTEGER Function           ORD-MIN Function 
  4869. DAY-OF-INTEGER Function            PRESENT-VALUE Function 
  4870. FACTORIAL Function                 RANDOM Function 
  4871. INTEGER Function                   RANGE Function 
  4872. INTEGER-OF-DATE Function           REM Function 
  4873. INTEGER-OF-DAY Function            REVERSE Function 
  4874. INTEGER-PART Function              SIN Function 
  4875. LENGTH Function                    SQRT Function 
  4876. LOG Function                       STANDARD-DEVIATION Function 
  4877. LOG10 Function                     SUM Function 
  4878. LOWER-CASE Function                TAN Function 
  4879. MAX Function                       UPPER-CASE Function 
  4880. MEAN Function                      VARIANCE Function 
  4881. MEDIAN Function                    WHEN-COMPILED Function 
  4882.  
  4883.  
  4884. ΓòÉΓòÉΓòÉ 1.94. ACOS Function ΓòÉΓòÉΓòÉ
  4885.  
  4886. Description 
  4887.   The ACOS function returns a numeric value in radians that approximates the 
  4888.   arccosine of the argument specified. 
  4889.  
  4890.   The function type is numeric. 
  4891.  
  4892.   The returned value is greater than or equal to zero and less than or equal to 
  4893.   pi. 
  4894.  
  4895.  
  4896. ΓöÇΓöÇΓöÇFUNCTION ACOS (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4897.  
  4898.  
  4899. ΓòÉΓòÉΓòÉ 1.95. ANNUITY Function ΓòÉΓòÉΓòÉ
  4900.  
  4901. Description 
  4902.   The ANNUITY function returns a numeric value that approximates the ratio of 
  4903.   an annuity paid at the end of each period, for a given number of periods, at 
  4904.   a given interest rate, to an initial value of one. The number of periods is 
  4905.   specified by argument-2, and the rate of interest is specified by argument-1. 
  4906.  
  4907.   The function type is numeric. 
  4908.  
  4909.  
  4910. ΓöÇΓöÇΓöÇFUNCTION ANNUITY (┬áargument-1 argument-2)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4911.  
  4912.  
  4913. ΓòÉΓòÉΓòÉ 1.96. ASIN Function ΓòÉΓòÉΓòÉ
  4914.  
  4915. Description 
  4916.   ASIN returns a numeric value in radians that approximates the arcsine of the 
  4917.   argument. The returned value is greater than or equal to -pi/2 and less than 
  4918.   or equal to +pi/2. 
  4919.  
  4920.   The function type is numeric. 
  4921.  
  4922. Format
  4923.  
  4924. ΓöÇΓöÇΓöÇFUNCTION ASIN (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4925.  
  4926.  
  4927. ΓòÉΓòÉΓòÉ 1.97. ATAN Function ΓòÉΓòÉΓòÉ
  4928.  
  4929. Description 
  4930.   ATAN returns a numeric value in radians that approximates the arctangent of 
  4931.   the argument. The returned value is greater than -pi/2 and less than +pi/2. 
  4932.  
  4933.   The function type is numeric. 
  4934.  
  4935. Format
  4936.  
  4937. ΓöÇΓöÇΓöÇFUNCTION ATAN (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4938.  
  4939.  
  4940. ΓòÉΓòÉΓòÉ 1.98. CHAR Function ΓòÉΓòÉΓòÉ
  4941.  
  4942. Description 
  4943.   CHAR returns a one-character alphanumeric value that is a character in the 
  4944.   program collating sequence having the ordinal position equal to the value of 
  4945.   the argument specified. 
  4946.  
  4947.   The function type is alphanumeric. 
  4948.  
  4949.  
  4950. ΓöÇΓöÇΓöÇFUNCTION CHAR (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4951.  
  4952.  
  4953. ΓòÉΓòÉΓòÉ 1.99. COS Function ΓòÉΓòÉΓòÉ
  4954.  
  4955. Description 
  4956.   The COS function returns a numeric value that approximates the cosine of an 
  4957.   angle or arc, expressed in radians, that is specified by the argument. The 
  4958.   returned value is greater than or equal to -1 and less than or equal to +1. 
  4959.  
  4960.   The function type is numeric. 
  4961.  
  4962.  
  4963. ΓöÇΓöÇΓöÇFUNCTION COS (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4964.  
  4965.  
  4966. ΓòÉΓòÉΓòÉ 1.100. CURRENT-DATE Function ΓòÉΓòÉΓòÉ
  4967.  
  4968. Description 
  4969.   The CURRENT-DATE function returns a 21-character alphanumeric value that 
  4970.   represents the calendar date, time of day, and local time differential from 
  4971.   Greenwich Mean Time provided by the system on which the function is 
  4972.   evaluated. 
  4973.  
  4974.   The function type is alphanumeric. 
  4975.  
  4976.  
  4977. ΓöÇΓöÇΓöÇFUNCTION CURRENT-DATEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  4978.  
  4979.  
  4980. ΓòÉΓòÉΓòÉ <hidden> CURRENT-DATE ΓòÉΓòÉΓòÉ
  4981.  
  4982.  Characters 1-8 represent standard date format (YYYYMMDD, where Y=year, 
  4983.   M=month, D=day). 
  4984.  
  4985.  Characters 9-14 represent standard time format (HHMMSS, where H=hour, 
  4986.   M=minute, S=second). 
  4987.  
  4988.  Characters 15-16 represent the hundredths of a second. 
  4989.  
  4990.  Character 17, a '+' or '-', indicates if the time indicated is behind or 
  4991.   ahead of Greenwich Mean Time. 
  4992.  
  4993.  Characters 18-19 (00-12) indicate the number of hours that the reported time 
  4994.   is behind Greenwich Mean time. (00-13) indicate the number of hours that the 
  4995.   reported time is ahead of Greenwich Mean time. 
  4996.  
  4997.  Characters 20-21 (00-59) indicate the additional number of minutes that the 
  4998.   reported time is ahead of or behind Greenwich Mean Time. 
  4999.  
  5000.  
  5001. ΓòÉΓòÉΓòÉ 1.101. DATE-OF-INTEGER Function ΓòÉΓòÉΓòÉ
  5002.  
  5003. Description 
  5004.   The DATE-OF-INTEGER function converts a date in the Gregorian calendar from 
  5005.   integer date form to standard date form (YYYYMMDD). 
  5006.  
  5007.   The function type is integer. 
  5008.  
  5009.   The function result is an eight-digit integer. 
  5010.  
  5011.  
  5012. ΓöÇΓöÇΓöÇFUNCTION DATE-OF-INTEGER (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5013.  
  5014.  
  5015. ΓòÉΓòÉΓòÉ 1.102. DAY-OF-INTEGER Function ΓòÉΓòÉΓòÉ
  5016.  
  5017. Description 
  5018.   The DAY-OF-INTEGER function converts a date in the Gregorian calendar from 
  5019.   integer date form to Julian date form (YYYYDDD). 
  5020.  
  5021.   The function type is integer. 
  5022.  
  5023.   The function result is a seven-digit integer. 
  5024.  
  5025.  
  5026. ΓöÇΓöÇΓöÇFUNCTION DAY-OF-INTEGER (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5027.  
  5028.  
  5029. ΓòÉΓòÉΓòÉ 1.103. FACTORIAL Function ΓòÉΓòÉΓòÉ
  5030.  
  5031. Description 
  5032.   The FACTORIAL function returns an integer that is the factorial of argument 
  5033.   specified. 
  5034.  
  5035.   The function type is integer. 
  5036.  
  5037.  
  5038. ΓöÇΓöÇΓöÇFUNCTION FACTORIAL (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5039.  
  5040.  
  5041. ΓòÉΓòÉΓòÉ 1.104. INTEGER Function ΓòÉΓòÉΓòÉ
  5042.  
  5043. Description 
  5044.   The INTEGER function returns the greatest integer value that is less than or 
  5045.   equal to argument-1. 
  5046.  
  5047.   The function type is integer. 
  5048.  
  5049.  
  5050. ΓöÇΓöÇΓöÇFUNCTION INTEGER (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5051.  
  5052.  
  5053. ΓòÉΓòÉΓòÉ 1.105. INTEGER-OF-DATE Function ΓòÉΓòÉΓòÉ
  5054.  
  5055. Description 
  5056.   The INTEGER-OF-DATE function converts a date in the Gregorian calendar from 
  5057.   standard date form (YYYYMMDD) to integer date form. 
  5058.  
  5059.   The function type is integer. 
  5060.  
  5061.   The function result is a seven-digit integer with a range from 1 to 
  5062.   3,067,671. 
  5063.  
  5064. Format
  5065.  
  5066. ΓöÇΓöÇΓöÇFUNCTION INTEGER-OF-DATE (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5067.  
  5068.  
  5069. ΓòÉΓòÉΓòÉ 1.106. INTEGER-OF-DAY Function ΓòÉΓòÉΓòÉ
  5070.  
  5071. Description 
  5072.   The INTEGER-OF-DAY function converts a date in the Gregorian calendar from 
  5073.   Julian date form (YYYYDDD) to integer date form. 
  5074.  
  5075.   The function type is integer. 
  5076.  
  5077.   The function result is a seven-digit integer. 
  5078.  
  5079.  
  5080. ΓöÇΓöÇΓöÇFUNCTION INTEGER-OF-DAY (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5081.  
  5082.  
  5083. ΓòÉΓòÉΓòÉ 1.107. INTEGER-PART Function ΓòÉΓòÉΓòÉ
  5084.  
  5085. Description 
  5086.   The INTEGER-PART function returns an integer that is the integer portion of 
  5087.   argument specified. 
  5088.  
  5089.   The function type is integer. 
  5090.  
  5091.   The function result is an integer intermediate value. 
  5092.  
  5093.  
  5094. ΓöÇΓöÇΓöÇFUNCTION INTEGER-PART (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5095.  
  5096.  
  5097. ΓòÉΓòÉΓòÉ 1.108. LENGTH Function ΓòÉΓòÉΓòÉ
  5098.  
  5099. Description 
  5100.   LENGTH returns an integer equal to the length of the argument in bytes. 
  5101.  
  5102.   The function type is integer. 
  5103.  
  5104.   The function result is a nine-digit integer. 
  5105.  
  5106.  
  5107. ΓöÇΓöÇΓöÇFUNCTION LENGTH (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5108.  
  5109.  
  5110. ΓòÉΓòÉΓòÉ 1.109. LOG Function ΓòÉΓòÉΓòÉ
  5111.  
  5112. Description 
  5113.   LOG returns a numeric value that approximates the logarithm to the base e 
  5114.   (natural log) of argument-1. 
  5115.  
  5116.   The function type is numeric. 
  5117.  
  5118. Format
  5119.  
  5120. ΓöÇΓöÇΓöÇFUNCTION LOG (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5121.  
  5122.  
  5123. ΓòÉΓòÉΓòÉ 1.110. LOG10 Function ΓòÉΓòÉΓòÉ
  5124.  
  5125. Description 
  5126.   The LOG10 function returns a numeric value that approximates the logarithm to 
  5127.   the base 10 of argument-1. 
  5128.  
  5129.   The function type is numeric. 
  5130.  
  5131.  
  5132. ΓöÇΓöÇΓöÇFUNCTION LOG10 (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5133.  
  5134.  
  5135. ΓòÉΓòÉΓòÉ 1.111. LOWER-CASE Function ΓòÉΓòÉΓòÉ
  5136.  
  5137. Description 
  5138.   The LOWER-CASE function returns a character string that is the same length as 
  5139.   the argument specified with each uppercase letter replaced by the 
  5140.   corresponding lowercase letter. 
  5141.  
  5142.   The function type is alphanumeric. 
  5143.  
  5144. Format
  5145.  
  5146. ΓöÇΓöÇΓöÇFUNCTION LOWER-CASE (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5147.  
  5148.  
  5149. ΓòÉΓòÉΓòÉ 1.112. MAX Function ΓòÉΓòÉΓòÉ
  5150.  
  5151. Description 
  5152.   The MAX function returns the content of the argument that contains the 
  5153.   maximum value. 
  5154.  
  5155.   The function type depends on the argument types.  When the argument type is 
  5156.   alphabetic or alphanumeric, the function type is alphanumeric; when the 
  5157.   argument type is all integer, the function type is integer; and when the 
  5158.   argument type is numeric (not all integer), the function type is numeric. 
  5159.  
  5160.                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5161.                                    Γöé
  5162. ΓöÇΓöÇΓöÇFUNCTION MAX (ΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5163.  
  5164.  
  5165. ΓòÉΓòÉΓòÉ 1.113. MEAN Function ΓòÉΓòÉΓòÉ
  5166.  
  5167. Description 
  5168.   The MEAN function returns a numeric value that approximates the arithmetic 
  5169.   average of its arguments. 
  5170.  
  5171.   The function type is numeric. 
  5172.  
  5173.                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5174.                                      Γöé
  5175. ΓöÇΓöÇΓöÇFUNCTION MEAN (ΓöÇΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5176.  
  5177.  
  5178. ΓòÉΓòÉΓòÉ 1.114. MEDIAN Function ΓòÉΓòÉΓòÉ
  5179.  
  5180. Description 
  5181.   The MEDIAN function returns the content of the argument whose value is the 
  5182.   middle value in of the list formed by arranging the arguments in sorted 
  5183.   order. 
  5184.  
  5185.   The function type is numeric. 
  5186.  
  5187.   If the number of occurrences referenced by the argument is odd, the returned 
  5188.   value is such that at least half of the occurrences referenced by the 
  5189.   argument are greater than or equal to the value and at least half are less 
  5190.   than or equal.  If the number of occurrences referenced by the argument is 
  5191.   even, the returned value is the arithmetic mean of the values referenced by 
  5192.   the two middle occurrences. 
  5193.  
  5194.                         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5195.                                        Γöé
  5196. ΓöÇΓöÇΓöÇFUNCTION MEDIAN (ΓöÇΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5197.  
  5198.  
  5199. ΓòÉΓòÉΓòÉ 1.115. MIDRANGE Function ΓòÉΓòÉΓòÉ
  5200.  
  5201. Description 
  5202.   The MIDRANGE function returns a numeric value that approximates the 
  5203.   arithmetic average of the minimum argument and maximum argument. 
  5204.  
  5205.   The function type is numeric. 
  5206.  
  5207.                           ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5208.                                          Γöé
  5209. ΓöÇΓöÇΓöÇFUNCTION MIDRANGE (ΓöÇΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5210.  
  5211.  
  5212. ΓòÉΓòÉΓòÉ 1.116. MIN Function ΓòÉΓòÉΓòÉ
  5213.  
  5214. Description 
  5215.   The MIN function returns the content of the argument that contains the 
  5216.   minimum value. 
  5217.  
  5218.   The function type depends on the argument types.  When the argument type is 
  5219.   alphabetic or alphanumeric, the function type is alphanumeric; when the 
  5220.   argument type is all integer, the function type is integer; and when the 
  5221.   argument type is numeric (not all integer), the function type is numeric. 
  5222.  
  5223.                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5224.                                    Γöé
  5225. ΓöÇΓöÇΓöÇFUNCTION MIN (ΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5226.  
  5227.  
  5228. ΓòÉΓòÉΓòÉ 1.117. MOD Function ΓòÉΓòÉΓòÉ
  5229.  
  5230. Description 
  5231.   The MOD function returns an integer value that is argument-1 modulo 
  5232.   argument-2. 
  5233.  
  5234.   The function type is integer. 
  5235.  
  5236.   The function result is an integer with as many digits as the shorter of 
  5237.   argument-1 and argument-2. 
  5238.  
  5239.  
  5240. ΓöÇΓöÇΓöÇFUNCTION MOD (argument-1 argument-2)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5241.  
  5242.  
  5243. ΓòÉΓòÉΓòÉ 1.118. NUMVAL Function ΓòÉΓòÉΓòÉ
  5244.  
  5245. Description 
  5246.   The NUMVAL function returns a numeric value represented by the alphanumeric 
  5247.   character string specified in an argument.  The function strips away any 
  5248.   leading or trailing blanks in the string, producing a numeric value that can 
  5249.   be used in an arithmetic context. The returned value is an approximation of 
  5250.   the numeric value represented by argument-1. 
  5251.  
  5252.   The function type is numeric. 
  5253.  
  5254.  
  5255. ΓöÇΓöÇΓöÇFUNCTION NUMVAL (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5256.  
  5257. Argument-1 must be a non-numeric literal or an alphanumeric data item whose 
  5258. content has one of the following formats: 
  5259.  
  5260.  
  5261.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇdigitΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  5262.     ΓööspaceΓöÿΓö£ΓöÇ + ΓöÇΓöñΓööspaceΓöÿΓöé       ΓööΓöÇ. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÿΓöéΓööspaceΓöÿ
  5263.            ΓööΓöÇ - ΓöÇΓöÿ       Γöé            ΓöödigitΓöÿ Γöé
  5264.                          ΓööΓöÇ. digitΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5265.  
  5266. or
  5267.  
  5268.  ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇdigitΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  5269.     ΓööspaceΓöÿΓöé       ΓööΓöÇ. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÿΓöéΓööspaceΓöÿΓö£ΓöÇ + ΓöÇΓöñΓööspaceΓöÿ
  5270.            Γöé            ΓöödigitΓöÿ Γöé       Γö£ΓöÇ - ΓöÇΓöñ
  5271.            ΓööΓöÇ. digitΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ       Γö£ΓöÇCRΓöÇΓöÇΓöñ
  5272.                                         ΓööΓöÇDBΓöÇΓöÇΓöÿ
  5273.  
  5274.  
  5275. ΓòÉΓòÉΓòÉ 1.119. NUMVAL-C Function ΓòÉΓòÉΓòÉ
  5276.  
  5277. Description 
  5278.   The NUMVAL-C function returns a numeric value represented by the alphanumeric 
  5279.   character string specified as argument-1.  Any optional currency sign 
  5280.   specified by argument-2 and any optional commas preceding the decimal point 
  5281.   are stripped away, producing a numeric value that can be used in arithmetic 
  5282.   expressions. The returned value is an approximation of the numeric value 
  5283.   represented by argument-1. 
  5284.  
  5285.   The function type is numeric. 
  5286.  
  5287.  
  5288. ΓöÇΓöÇFUNCTION NUMVAL-C (argument-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5289.                                   Γöé            Γöé
  5290.                                   ΓööΓöÇargument-2ΓöÇΓöÿ
  5291.  
  5292. Argument-1 must be a non-numeric literal or an alphanumeric data item whose 
  5293. content has one of the following formats: 
  5294.  
  5295.  ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼digitΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  5296.    ΓööspaceΓöÿΓö£ + ΓöñΓööspaceΓöÿΓööcsΓöÿΓööspaceΓöÿΓöé     ΓöéΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöéΓöö. Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÿΓöéΓööspaceΓöÿ
  5297.           Γöö - Γöÿ                  Γöé     Γöé       ΓöéΓöé   ΓöödigitΓöÿ Γöé
  5298.                                  Γöé     ΓööΓöÇ, digitΓö┤Γöÿ           Γöé
  5299.                                  Γöö. digitΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5300.  
  5301. or
  5302.  
  5303.  ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼digitΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼
  5304.    ΓööspaceΓöÿΓööcsΓöÿΓööspaceΓöÿΓöé     ΓöéΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉΓöéΓöö. Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÿΓöéΓööspaceΓöÿΓö£ + ΓöñΓööspaceΓöÿ
  5305.                      Γöé     Γöé       ΓöéΓöé   ΓöödigitΓöÿ Γöé       Γö£ - Γöñ
  5306.                      Γöé     ΓööΓöÇ, digitΓö┤Γöÿ           Γöé       Γö£CRΓöÇΓöñ
  5307.                      ΓööΓöÇ. digitΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ       ΓööDBΓöÇΓöÿ
  5308.  
  5309.  
  5310. ΓòÉΓòÉΓòÉ 1.120. ORD Function ΓòÉΓòÉΓòÉ
  5311.  
  5312. Description 
  5313.   The ORD function returns an integer value that is the ordinal position of its 
  5314.   argument in the collating sequence for the program.  The lowest ordinal 
  5315.   position is 1. 
  5316.  
  5317.   The function type is integer. 
  5318.  
  5319.   The function result is a three-digit integer. 
  5320.  
  5321.  
  5322. ΓöÇΓöÇΓöÇFUNCTION ORD (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5323.  
  5324.  
  5325. ΓòÉΓòÉΓòÉ 1.121. ORD-MAX Function ΓòÉΓòÉΓòÉ
  5326.  
  5327. Description 
  5328.   The ORD-MAX function returns a value that is the ordinal number of the 
  5329.   position, in the argument list, of the argument that contains the maximum 
  5330.   value. 
  5331.  
  5332.   The function type is integer. 
  5333.  
  5334.                         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5335.                                         Γöé
  5336. ΓöÇΓöÇΓöÇFUNCTION ORD-MAX (ΓöÇΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5337.  
  5338.  
  5339. ΓòÉΓòÉΓòÉ 1.122. ORD-MIN Function ΓòÉΓòÉΓòÉ
  5340.  
  5341. Description 
  5342.   The ORD-MIN function returns a value that is the ordinal number of the 
  5343.   argument that contains the minimum value. 
  5344.  
  5345.   The function type is integer. 
  5346.  
  5347.                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5348.                                         Γöé
  5349. ΓöÇΓöÇΓöÇFUNCTION ORD-MIN (ΓöÇΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5350.  
  5351.  
  5352. ΓòÉΓòÉΓòÉ 1.123. PRESENT-VALUE Function ΓòÉΓòÉΓòÉ
  5353.  
  5354. Description 
  5355.   The PRESENT-VALUE function returns a value that approximates the present 
  5356.   value of a series of future period-end amounts specified by argument-2 at a 
  5357.   discount rate specified by argument-1. 
  5358.  
  5359.   The function type is numeric. 
  5360.  
  5361.                                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5362.                                                         Γöé
  5363. ΓöÇΓöÇΓöÇFUNCTION PRESENT-VALUE ( argument-1ΓöÇΓöÇΓöÇargument-2ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5364.  
  5365.  
  5366. ΓòÉΓòÉΓòÉ 1.124. RANDOM Function ΓòÉΓòÉΓòÉ
  5367.  
  5368. Description 
  5369.   The RANDOM function returns a numeric value that is a pseudo-random number 
  5370.   from a rectangular distribution. 
  5371.  
  5372.   The function type is numeric. 
  5373.  
  5374.  
  5375. ΓöÇΓöÇΓöÇFUNCTION RANDOM ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5376.                        Γöé                Γöé
  5377.                        Γöö(ΓöÇΓöÇargument-1ΓöÇΓöÇ)Γöÿ
  5378.  
  5379.  
  5380. ΓòÉΓòÉΓòÉ <hidden> argument-1 ΓòÉΓòÉΓòÉ
  5381.  
  5382.  If you specify argument-1, it must be zero or a positive integer, up to and 
  5383.   including (10**18) - 1.  However, only those values from zero up to and 
  5384.   including 2,147,483,645 will yield a distinct sequence of pseudo-random 
  5385.   numbers. 
  5386.  
  5387.  Argument-1 is the seed value used to generate a sequence of pseudo-random 
  5388.   numbers.  If a subsequent reference within a run unit specifies argument-1, a 
  5389.   new sequence of random numbers will start. 
  5390.  
  5391.  If the first reference to this function in the run unit does not specify 
  5392.   argument-1, the seed value used will be zero. 
  5393.  
  5394.  In each case, subsequent references (within a run unit) without specifying 
  5395.   argument-1 return the next number in the current sequence. 
  5396.  
  5397.  
  5398. ΓòÉΓòÉΓòÉ 1.125. RANGE Function ΓòÉΓòÉΓòÉ
  5399.  
  5400. Description 
  5401.   The RANGE function returns a value that is equal to the value of the maximum 
  5402.   argument minus the value of the minimum argument. 
  5403.  
  5404.   The function type depends on the argument type.  For example, if the argument 
  5405.   types are integer, the function type is integer; if at least one argument 
  5406.   type is numeric, the function type is numeric. 
  5407.  
  5408.                       ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5409.                                      Γöé
  5410. ΓöÇΓöÇΓöÇFUNCTION RANGE (ΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5411.  
  5412.  
  5413. ΓòÉΓòÉΓòÉ 1.126. REM Function ΓòÉΓòÉΓòÉ
  5414.  
  5415. Description 
  5416.   The REM function returns a numeric value whose value is the remainder of 
  5417.   argument-1 divided by argument-2. 
  5418.  
  5419.   The function type is numeric. 
  5420.  
  5421.  
  5422. ΓöÇΓöÇΓöÇFUNCTION REM (argument-1 argument-2)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5423.  
  5424.  
  5425. ΓòÉΓòÉΓòÉ 1.127. REVERSE Function ΓòÉΓòÉΓòÉ
  5426.  
  5427. Description 
  5428.   The REVERSE function returns a character string of exactly the same length of 
  5429.   the argument, whose characters are exactly the same as those specified in the 
  5430.   argument, except that they are in the reverse order. 
  5431.  
  5432.   The function type is alphanumeric. 
  5433.  
  5434. ΓöÇΓöÇΓöÇFUNCTION REVERSE (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5435.  
  5436.  
  5437. ΓòÉΓòÉΓòÉ 1.128. SIN Function ΓòÉΓòÉΓòÉ
  5438.  
  5439. Description 
  5440.   The SIN function returns a numeric value that approximates the sin of an 
  5441.   angle or arc, expressed in radians, that is specified by the argument. The 
  5442.   returned value is greater than or equal to -1 and less than or equal to +1. 
  5443.  
  5444.   The function type is numeric. 
  5445.  
  5446.  
  5447. ΓöÇΓöÇΓöÇFUNCTION SIN (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5448.  
  5449.  
  5450. ΓòÉΓòÉΓòÉ 1.129. SQRT Function ΓòÉΓòÉΓòÉ
  5451.  
  5452. Description 
  5453.   The SQRT function returns a numeric value that approximates the square root 
  5454.   of the argument specified. The returned value is the absolute value of the 
  5455.   approximation of the square root of the argument specified. 
  5456.  
  5457.   The function type is numeric. 
  5458.  
  5459.  
  5460. ΓöÇΓöÇΓöÇFUNCTION SQRT (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5461.  
  5462.  
  5463. ΓòÉΓòÉΓòÉ 1.130. STANDARD-DEVIATION Function ΓòÉΓòÉΓòÉ
  5464.  
  5465. Description 
  5466.   The STANDARD-DEVIATION function returns a numeric value that approximates the 
  5467.   standard deviation of its arguments. 
  5468.  
  5469.   The function type is numeric. 
  5470.  
  5471.                                    ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5472.                                                   Γöé
  5473. ΓöÇΓöÇΓöÇFUNCTION STANDARD-DEVIATION (ΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5474.  
  5475.  
  5476. ΓòÉΓòÉΓòÉ 1.131. SUM Function ΓòÉΓòÉΓòÉ
  5477.  
  5478. Description 
  5479.   The SUM function returns a value that is the sum of the arguments. 
  5480.  
  5481.   The function type depends on the argument type.  For example, if the argument 
  5482.   types are integer, the function type is integer; if the argument types are 
  5483.   numeric, the function type is numeric. 
  5484.  
  5485.                     ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5486.                                    Γöé
  5487. ΓöÇΓöÇΓöÇFUNCTION SUM (ΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5488.  
  5489.  
  5490. ΓòÉΓòÉΓòÉ 1.132. TAN Function ΓòÉΓòÉΓòÉ
  5491.  
  5492. Description 
  5493.   The TAN function returns a numeric value that approximates the tangent of an 
  5494.   angle or arc, expressed in radians, that is specified by the argument. 
  5495.  
  5496.   The function type is numeric. 
  5497.  
  5498.  
  5499. ΓöÇΓöÇΓöÇFUNCTION TAN (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5500.  
  5501.  
  5502. ΓòÉΓòÉΓòÉ 1.133. UPPER-CASE Function ΓòÉΓòÉΓòÉ
  5503.  
  5504. Description 
  5505.   The UPPER-CASE function returns a character string that is the same length as 
  5506.   the argument specified, with the lowercase letters replaced by corresponding 
  5507.   uppercase letters. 
  5508.  
  5509.   The function type is alphanumeric. 
  5510.  
  5511. ΓöÇΓöÇΓöÇFUNCTION UPPER-CASE (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5512.  
  5513.  
  5514. ΓòÉΓòÉΓòÉ 1.134. WHEN-COMPILED Function ΓòÉΓòÉΓòÉ
  5515.  
  5516. Description 
  5517.   The WHEN-COMPILED function returns the date and time the program was compiled 
  5518.   as provided by the system on which the program was compiled. 
  5519.  
  5520.   The function type is alphanumeric. 
  5521.  
  5522.  
  5523. ΓöÇΓöÇΓöÇFUNCTION WHEN-COMPILEDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5524.  
  5525. Reading from left to right, the 21 character positions in the value returned 
  5526. can be interpreted as follows: 
  5527.  
  5528.  Characters 1-8 represent standard date format (YYYYMMDD, where Y=year, 
  5529.   M=month, D=day). 
  5530.  
  5531.  Characters 9-14 represent standard time format (HHMMSS, where H=hour, 
  5532.   M=minute, S=second). 
  5533.  
  5534.  Characters 15-16 represent the hundredths of a second. 
  5535.  
  5536.  Character 17, a '+' or '-', indicates if the time indicated is behind or 
  5537.   ahead of Greenwich Mean Time. 
  5538.  
  5539.  Characters 18-19 (00-12) indicate the number of hours that the reported time 
  5540.   is behind Greenwich Mean time. (00-13) indicate the number of hours that the 
  5541.   reported time is ahead of Greenwich Mean time. 
  5542.  
  5543.  Characters 20-21 (00-59) indicate the additional number of minutes that the 
  5544.   reported time is ahead of or behind Greenwich Mean Time. 
  5545.  
  5546.  
  5547. ΓòÉΓòÉΓòÉ 1.135. VARIANCE Function ΓòÉΓòÉΓòÉ
  5548.  
  5549. Description 
  5550.   The VARIANCE function returns a numeric value that approximates the variance 
  5551.   of its arguments. 
  5552.  
  5553.   The function type is numeric. 
  5554.  
  5555.                          ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5556.                                         Γöé
  5557. ΓöÇΓöÇΓöÇFUNCTION VARIANCE (ΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5558.  
  5559.  
  5560. ΓòÉΓòÉΓòÉ 1.136. Compiler-Directing Statements ΓòÉΓòÉΓòÉ
  5561.  
  5562. Description 
  5563.   The compiler's main job is to translate your COBOL program into language that 
  5564.   the computer can process (object code). The compiler also lists errors in 
  5565.   your source statements and provides supplementary information to aid you in 
  5566.   debugging and tuning your program. 
  5567.  
  5568.   You can direct and control compilation with the following: 
  5569.  
  5570.     Compiler-directing statements 
  5571.  
  5572.     Compiler options. 
  5573.  
  5574.   A compiler-directing statement begins with a compiler-directing verb that 
  5575.   causes the compiler to perform a specific operation during compilation. 
  5576.  
  5577.  For help with individual compiler-directing statements, select from the 
  5578.   following list: 
  5579.  
  5580. BASIS                    READY or RESET TRACE 
  5581. CBL(PROCESS)             REPLACE 
  5582. CONTROL(CBL)             SERVICE LABEL 
  5583. COPY                     SERVICE RELOAD 
  5584. DELETE                   SKIP1/2/3 
  5585. EJECT                    TITLE 
  5586. INSERT                   USE 
  5587.  
  5588.  
  5589. ΓòÉΓòÉΓòÉ 1.137. BASIS Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5590.  
  5591. Description 
  5592.   The BASIS Statement is an extended source program library statement. It 
  5593.   provides a complete COBOL program as the source for a compilation. 
  5594.  
  5595.   A complete program may be included as an entry in a user's library and may be 
  5596.   used as the source for a compilation. Compiler input is a BASIS statement, 
  5597.   optionally followed by any number of INSERT and/or DELETE statements. 
  5598.  
  5599.   After the execution of a BASIS statement, the source file remains unchanged. 
  5600.  
  5601.   Note:   If INSERT or DELETE statements are used to modify the COBOL source 
  5602.           program provided by a BASIS statement, the sequence field of the 
  5603.           COBOL source program must contain numeric sequence numbers in 
  5604.           ascending order. 
  5605.  
  5606.  
  5607. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇBASISΓöÇΓö¼basis-nameΓö¼ΓöÇ
  5608.      ΓööΓöÇΓöÇsequence-numberΓöÇΓöÇΓöÿ        Γööliteral-1ΓöÇΓöÿ
  5609.  
  5610.  
  5611. ΓòÉΓòÉΓòÉ 1.138. CBL (PROCESS) Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5612.  
  5613. Description 
  5614.   CBL(PROCESS) allows you to specify compiler options to be used in the 
  5615.   compilation of the program. 
  5616.  
  5617.  
  5618. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇCBLΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5619.      ΓööΓöÇΓöÇΓöÇPROCESSΓöÇΓöÇΓöÇΓöÿ    ΓööΓöÇoptionsΓöÇlistΓöÇΓöÿ
  5620.  
  5621. Compiler Options-list: 
  5622.   For help with individual compiler options, select from the following list: 
  5623.  
  5624. ADV                                MAP 
  5625. APOST                              NAME 
  5626. AWO                                NUMBER 
  5627. BUFSIZE                            NUMPROC 
  5628. CMPR2                              OBJECT 
  5629. COMPILE                            OFFSET 
  5630. CURRENCY                           OPTIMIZE 
  5631. DATA                               OUTDD 
  5632. DBCS                               QUOTE 
  5633. DECK                               RENT 
  5634. DISK                               SEQUENCE 
  5635. DUMP                               SIZE 
  5636. DYNAM                              SOURCE 
  5637. FASTSRT                            SPACE 
  5638. FLAG                               SSRANGE 
  5639. FLAGMIG                            TERMINAL 
  5640. FLAGSAA                            TEST 
  5641. FLAGSTD                            TRUNC 
  5642. LANGUAGE                           VBREF 
  5643. LIB                                WORD 
  5644. LINECOUNT                          XREF 
  5645. LIST                               ZWB 
  5646.  
  5647.  
  5648. ΓòÉΓòÉΓòÉ 1.139. CONTROL(*CBL) Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5649.  
  5650. Description 
  5651.   CONTROL(*CBL) allows you to selectively display or suppress the listing of 
  5652.   source code, object code, and storage maps throughout the source program. 
  5653.  
  5654.   The *CONTROL and *CBL statements are synonymous. Whenever you use *CONTROL, 
  5655.   *CBL is accepted as well. 
  5656.  
  5657.  
  5658. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ*CONTROLΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇSOURCEΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  5659.      ΓööΓöÇΓöÇΓöÇΓöÇ*CBLΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ    Γö£ΓöÇΓöÇΓöÇNOSOURCEΓöÇΓöÇΓöñ    ΓööΓöÇ.ΓöÇΓöÿ
  5660.                         Γö£ΓöÇΓöÇΓöÇLISTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5661.                         Γö£ΓöÇΓöÇΓöÇNOLISTΓöÇΓöÇΓöÇΓöÇΓöñ
  5662.                         Γö£ΓöÇΓöÇΓöÇMAPΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5663.                         ΓööΓöÇΓöÇΓöÇNOMAPΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5664.  
  5665.  
  5666. ΓòÉΓòÉΓòÉ 1.140. COPY Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5667.  
  5668. Description 
  5669.   The COPY statement is a library statement that places prewritten text in a 
  5670.   COBOL program. 
  5671.  
  5672.   Prewritten source program entries can be included in a source program at 
  5673.   compile time. Thus, an installation can use standard file descriptions, 
  5674.   record descriptions, or procedures without recoding them.  These entries and 
  5675.   procedures can then be saved in user-created libraries; they can then be 
  5676.   included in the source program by means of the COPY statement. 
  5677.  
  5678.   The effect of processing a COPY statement is that the library text associated 
  5679.   with text-name is copied into the source program, logically replacing the 
  5680.   entire COPY statement, beginning with the word COPY and ending with the 
  5681.   period, inclusive. When the REPLACING phrase is not specified, the library 
  5682.   text is copied unchanged. 
  5683.  
  5684.  
  5685. ΓöÇΓöÇΓöÇCOPYΓöÇΓö¼text-nameΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇ
  5686.           Γööliteral-1Γöÿ Γö£ΓöÇΓöÇOFΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼library-nameΓö¼Γöÿ  ΓööΓöÇΓöÇSUPPRESSΓöÇΓöÇΓöÿ
  5687.                       ΓööΓöÇΓöÇINΓöÇΓöÇΓöÿ  ΓööΓöÇliteral-2ΓöÇΓöÇΓöÿ
  5688.  
  5689. ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5690.    Γöé            ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ  Γöé
  5691.    Γöé                                Γöé  Γöé
  5692.    ΓööΓöÇΓöÇREPLACING operand-1 BY operand-2ΓöÇΓöÇΓöÿ
  5693.  
  5694.  
  5695. ΓòÉΓòÉΓòÉ <hidden> REPLACING ΓòÉΓòÉΓòÉ
  5696.  
  5697. When you specify REPLACING, the library text is copied, and each properly 
  5698. matched occurrence of operand-1 within the library text is replaced by the 
  5699. associated operand-2. 
  5700.  
  5701. Either operand, or both, may be a DBCS data-name or DBCS literal.  DBCS 
  5702. data-names may be from 1 to 14 DBCS characters in length; DBCS literals may be 
  5703. a maximum of 28 DBCS characters long.  DBCS data-names and literals may not be 
  5704. continued across lines. 
  5705.  
  5706. Each operand may consist of one of the following: 
  5707.  
  5708.  Pseudo-text 
  5709.  
  5710.     1. A sequence of character-strings and/or separators bounded by, but not 
  5711.        including, pseudo-text-1 delimiters (= =). Both characters of each 
  5712.        pseudo-text-1 delimiter must appear on one line; however, 
  5713.        character-strings within pseudo-text-1 can be continued. 
  5714.  
  5715.     2. Any individual character-string within pseudo-text-1 may be up to 323 
  5716.        characters long. 
  5717.  
  5718.     3. Pseudo-text-1 refers to pseudo-text when used for operand-1, and 
  5719.        pseudo-text-2 refers to pseudo-text when used for operand-2. 
  5720.  
  5721.     4. Pseudo-text-1 must not be null, nor may it consist solely of space 
  5722.        characters and/or comment lines. 
  5723.  
  5724.     5. Embedded blanks are used in the text comparison process to indicate 
  5725.        multiple text words. 
  5726.  
  5727.     6. Pseudo-text must not contain the word COPY. 
  5728.  
  5729.     7. Pseudo-text-1 may consist solely of the separator comma or separator 
  5730.        semicolon. 
  5731.  
  5732.     8. Pseudo-text-2 may be null; it may consist solely of space characters 
  5733.        and/or comment lines. 
  5734.  
  5735.     9. Pseudo-text may contain DBCS character-strings.  Pseudo-text containing 
  5736.        DBCS characters may not be continued across lines. 
  5737.  
  5738.  Identifier 
  5739.  
  5740.    - May be defined in any Data Division section 
  5741.  
  5742.  Literal 
  5743.  
  5744.    - May be numeric or non-numeric 
  5745.    - May be a DBCS literal 
  5746.  
  5747.  Word 
  5748.  
  5749.    - May be any single COBOL word (except COPY) 
  5750.  
  5751.  
  5752. ΓòÉΓòÉΓòÉ 1.141. DELETE Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5753.  
  5754. Description 
  5755.   The DELETE statement is an extended source library statement. It removes 
  5756.   COBOL statements from the source program included by a BASIS statement. 
  5757.  
  5758.  
  5759. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇDELETE sequenceΓöÇnumberΓöÇfieldΓöÇΓöÇΓöÇ
  5760.      ΓööΓöÇΓöÇsequenceΓöÇnumberΓöÇΓöÇΓöÿ
  5761.  
  5762.  
  5763. ΓòÉΓòÉΓòÉ 1.142. EJECT Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5764.  
  5765. Description 
  5766.  
  5767.     The EJECT statement specifies that the next source statement is to be 
  5768.      printed at the top of the next page. 
  5769.  
  5770.     The EJECT statement must be the only statement on the line.  You may write 
  5771.      it in either Area A or Area B, and you may terminate it with a separator 
  5772.      period. 
  5773.  
  5774.     The EJECT statement has no effect on the compilation of the source program 
  5775.      itself. 
  5776.  
  5777. ΓöÇΓöÇEJECTΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  5778.            ΓööΓöÇ . ΓöÇΓöÿ
  5779.  
  5780.  
  5781. ΓòÉΓòÉΓòÉ 1.143. INSERT Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5782.  
  5783. Description 
  5784.   The INSERT statement is a library statement that adds COBOL statements to the 
  5785.   source program included by a BASIS statement. 
  5786.  
  5787.   New source program statements following the INSERT statement may include 
  5788.   USAGE DISPLAY-1 (DBCS) items. 
  5789.  
  5790.   Note:   If you use INSERT or DELETE statements to modify the COBOL source 
  5791.           program provided by a BASIS statement, the sequence field of the 
  5792.           COBOL source program must contain numeric sequence-numbers in 
  5793.           ascending order.  Any INSERT or DELETE statements referring to these 
  5794.           sequence-numbers must occur in ascending order. 
  5795.  
  5796.  
  5797. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇINSERT sequenceΓöÇnumberΓöÇfieldΓöÇΓöÇΓöÇ
  5798.      ΓööΓöÇΓöÇsequenceΓöÇnumberΓöÇΓöÇΓöÿ
  5799.  
  5800.  
  5801. ΓòÉΓòÉΓòÉ 1.144. READY or RESET TRACE Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5802.  
  5803. Description 
  5804.   The READY or RESET TRACE statement is accepted by COBOL/370 for source level 
  5805.   compatibility with OS/VS COBOL.  It can only appear in the Procedure 
  5806.   Division, and has no effect for COBOL/370. 
  5807.  
  5808.  
  5809. ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇREADYΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇTRACEΓöÇΓöÇΓöÇΓöÇΓöÇ. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5810.      ΓööΓöÇΓöÇΓöÇΓöÇRESETΓöÇΓöÇΓöÇΓöÇΓöÿ
  5811.  
  5812.  
  5813. ΓòÉΓòÉΓòÉ 1.145. REPLACE Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5814.  
  5815. Description 
  5816.   The REPLACE statement replaces source program text.  It provides a means of 
  5817.   applying a change to an entire COBOL source program, or part of a source 
  5818.   program, without manually having to find and modify all places that need to 
  5819.   be changed. 
  5820.  
  5821.   The REPLACE statement may occur anywhere in the source program where a 
  5822.   character-string may occur. It must be preceded by a separator period, except 
  5823.   when it is the first statement in a separately compiled program. It must be 
  5824.   ended by a separator period. 
  5825.  
  5826.     REPLACE Statement (Format 1) 
  5827.  
  5828.     REPLACE Statement (Format 2) 
  5829.  
  5830.  
  5831. ΓòÉΓòÉΓòÉ <hidden> REPLACE Compiler-Directing Statement (Format 1) ΓòÉΓòÉΓòÉ
  5832.  
  5833. Description 
  5834.  
  5835.     The REPLACE statement replaces source program text.  It provides a means 
  5836.      of applying a change to an entire COBOL source program, or part of a 
  5837.      source program, without manually having to find and modify all places that 
  5838.      need to be changed. 
  5839.  
  5840.     In Format 1 of the REPLACE statement, each matched occurrence of 
  5841.      pseudo-text-1 in the source program is replaced by the corresponding 
  5842.      pseudo-text-2. 
  5843.  
  5844.     If you do not specify Format 2 of the REPLACE statement, a given 
  5845.      occurrence of the REPLACE statement is in effect from the point at which 
  5846.      it is specified until the next occurrence of the statement or until the 
  5847.      end of the separately compiled program, respectively. 
  5848.  
  5849.              ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5850.                                                  Γöé
  5851. ΓöÇΓöÇΓöÇREPLACE ==pseudoΓöÇtextΓöÇ1== BY ==pseudoΓöÇtextΓöÇ2==. ΓöÇΓöÇΓöÇ
  5852.  
  5853.  
  5854. ΓòÉΓòÉΓòÉ <hidden> REPLACE Compiler-Directing Statement (Format 2) ΓòÉΓòÉΓòÉ
  5855.  
  5856. Description 
  5857.   Any text replacement currently in effect is discontinued with the REPLACE OFF 
  5858.   form of REPLACE.  If you do not specify this format (Format 2), a given 
  5859.   occurrence of the REPLACE statement is in effect from the point at which it 
  5860.   is specified until the next occurrence of the statement or until the end of 
  5861.   the separately compiled program, respectively. 
  5862.  
  5863. ΓöÇΓöÇΓöÇREPLACE OFF. ΓöÇΓöÇΓöÇ
  5864.  
  5865.  
  5866. ΓòÉΓòÉΓòÉ 1.146. SERVICE LABEL Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5867.  
  5868. Description 
  5869.   The SERVICE LABEL statement is generated by the CICS preprocessor to indicate 
  5870.   control flow.  It is not intended for general use. 
  5871.  
  5872.  
  5873. ΓöÇΓöÇΓöÇSERVICE LABELΓöÇΓöÇΓöÇ
  5874.  
  5875.  
  5876. ΓòÉΓòÉΓòÉ 1.147. SERVICE RELOAD Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5877.  
  5878. Description 
  5879.   The SERVICE RELOAD statement is accepted by COBOL/370 for source level 
  5880.   compatibility with OS/VS COBOL and DOS/VS COBOL.  It is for use under CICS 
  5881.   only, and can appear only in the Procedure Division.  It has no effect for 
  5882.   COBOL/370. 
  5883.  
  5884. ΓöÇΓöÇSERVICE RELOAD identifierΓöÇ1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5885.  
  5886.  
  5887. ΓòÉΓòÉΓòÉ 1.148. SKIP1/2/3 Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5888.  
  5889. Description 
  5890.   The SKIP 1/2/3 statements specify blank lines that the compiler should add 
  5891.   when printing the source listing.  SKIP statements have no effect on the 
  5892.   compilation of the source program itself. 
  5893.  
  5894.  
  5895. ΓöÇΓöÇΓö¼ΓöÇΓöÇSKIP1ΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  5896.     Γö£ΓöÇΓöÇSKIP2ΓöÇΓöÇΓöñ  ΓööΓöÇ . ΓöÇΓöÿ
  5897.     ΓööΓöÇΓöÇSKIP3ΓöÇΓöÇΓöÿ
  5898.  
  5899.  
  5900. ΓòÉΓòÉΓòÉ 1.149. TITLE Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5901.  
  5902. Description 
  5903.   The TITLE statement specifies a title to be printed at the top of each page 
  5904.   of the source listing produced during compilation.  If no TITLE statement is 
  5905.   found, a title containing the identification of the compiler and the current 
  5906.   release level is generated.  The title is left-justified on the title-line. 
  5907.  
  5908.   The TITLE statement: 
  5909.  
  5910.     Forces a new page immediately, if the SOURCE compiler option is in effect 
  5911.  
  5912.     Is not printed on the source listing 
  5913.  
  5914.     Has no other effect on compilation 
  5915.  
  5916.     Has no effect on program execution 
  5917.  
  5918.  
  5919. ΓöÇΓöÇTITLE literalΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5920.                    ΓööΓöÇ . ΓöÇΓöÿ
  5921.  
  5922.  
  5923. ΓòÉΓòÉΓòÉ 1.150. USE Compiler-Directing Statement ΓòÉΓòÉΓòÉ
  5924.  
  5925. Description 
  5926.   USE is a compiler-directing statement that has three declaratives: 
  5927.  
  5928.     EXCEPTION/ERROR Declarative 
  5929.  
  5930.     LABEL Declarative 
  5931.  
  5932.     DEBUGGING Declarative. 
  5933.  
  5934.  
  5935. ΓòÉΓòÉΓòÉ <hidden> EXCEPTION/ERROR Declarative ΓòÉΓòÉΓòÉ
  5936.  
  5937. Description 
  5938.  
  5939.     The EXCEPTION/ERROR declarative specifies procedures for input/output 
  5940.      exception or error handling that are to be executed in addition to the 
  5941.      standard system procedures. 
  5942.  
  5943.     The EXCEPTION/ERROR procedures are activated when an input/output error 
  5944.      occurs during execution of a READ, WRITE, REWRITE, START, OPEN, CLOSE, or 
  5945.      DELETE statement. 
  5946.  
  5947.     The words EXCEPTION and ERROR are synonymous and may be used 
  5948.      interchangeably. 
  5949.  
  5950.   ΓöÇΓöÇUSEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇAFTERΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇEXCEPTIONΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇ
  5951.           ΓööΓöÇGLOBALΓöÇΓöÿ       ΓööΓöÇSTANDARDΓöÇΓöÿ ΓööΓöÇERRORΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5952.                         ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5953.                                  Γöé
  5954.   ΓöÇΓöÇPROCEDUREΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇfile-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5955.                ΓööΓöÇONΓöÇΓöÿ Γö£ΓöÇINPUTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5956.                       Γö£ΓöÇOUTPUTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5957.                       Γö£ΓöÇI-OΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5958.                       ΓööΓöÇEXTENDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5959.  
  5960.  
  5961. ΓòÉΓòÉΓòÉ <hidden> LABEL Declarative ΓòÉΓòÉΓòÉ
  5962.  
  5963. Description 
  5964.   The LABEL declarative provides you with label-handling procedures. 
  5965.  
  5966. ΓöÇΓöÇΓöÇUSEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇAFTERΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇ
  5967.          ΓööΓöÇGLOBALΓöÇΓöÿ       ΓööSTANDARDΓöÿ Γö£ΓöÇΓöÇBEGINNINGΓöÇΓöÇΓöñ  Γö£ΓöÇΓöÇFILEΓöÇΓöÇΓöñ
  5968.                                      ΓööΓöÇΓöÇENDINGΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ  Γö£ΓöÇΓöÇREELΓöÇΓöÇΓöñ
  5969.                                                       ΓööΓöÇΓöÇUNITΓöÇΓöÇΓöÿ
  5970.  
  5971.                               ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  5972.                                        Γöé
  5973.   ΓöÇΓöÇLABEL PROCEDUREΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇfile-name-1ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  5974.                      ΓööΓöÇONΓöÇΓöÿ Γö£ΓöÇINPUTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5975.                             Γö£ΓöÇOUTPUTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5976.                             Γö£ΓöÇI-OΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  5977.                             ΓööΓöÇEXTENDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  5978.  
  5979.  
  5980. ΓòÉΓòÉΓòÉ <hidden> GLOBAL ΓòÉΓòÉΓòÉ
  5981.  
  5982. The GLOBAL keyword is used when establishing declarative precedence for nested 
  5983. programs.  Special precedence rules are followed when programs are contained 
  5984. within other programs.  In applying these rules, only the first qualifying 
  5985. declarative will be selected for execution.  The declarative that is selected 
  5986. for execution must satisfy the rules for execution of that declarative.  The 
  5987. order of precedence for selecting a declarative is: 
  5988.  
  5989.  1. A file-specific declarative (that is, a declarative of the form USE AFTER 
  5990.     ERROR ON file-name-1) within the program that contains the statement that 
  5991.     caused the qualifying condition. 
  5992.  
  5993.  2. A file-specific declarative with the GLOBAL attribute within a program 
  5994.     directly or indirectly containing the program that contains the statement 
  5995.     that caused the qualifying condition. 
  5996.  
  5997.  3. A mode-specific declarative (that is, a declarative of the form USE AFTER 
  5998.     ERROR ON INPUT) within the program that contains the statement that caused 
  5999.     the qualifying condition. 
  6000.  
  6001.  4. A mode-specific declarative with the GLOBAL attribute within a program 
  6002.     directly or indirectly containing the program that contains the statement 
  6003.     that caused the qualifying condition. 
  6004.  
  6005.  
  6006. ΓòÉΓòÉΓòÉ <hidden> DEBUGGING Declarative ΓòÉΓòÉΓòÉ
  6007.  
  6008. Description 
  6009.  
  6010.   Note:   Debugging sections are obsolete language elements and are to be 
  6011.   deleted from the next revision of the ANSI Standard.  Debugging sections are 
  6012.   permitted only in the outermost program; they are not valid in nested 
  6013.   programs. 
  6014.  
  6015.   All debugging statements must be written together in a section immediately 
  6016.   after the DECLARATIVES header. Except for the USE FOR DEBUGGING sentence 
  6017.   itself, within the debugging procedure there must be no reference to any 
  6018.   non-declarative procedures. 
  6019.  
  6020.                                 ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  6021.                                                Γöé
  6022. ΓöÇΓöÇΓöÇUSEΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇDEBUGGINGΓöÇΓö¼ΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇprocedure-name-1Γö┤Γö¼ΓöÇΓöÇΓöÇΓöÇ
  6023.          ΓööFORΓöÿ           ΓööONΓöÿ ΓööΓöÇALL PROCEDURESΓöÇΓöÇΓöÇΓöÿ
  6024.  
  6025.  
  6026. ΓòÉΓòÉΓòÉ 1.151. ADV Option ΓòÉΓòÉΓòÉ
  6027.  
  6028. Description 
  6029.  
  6030.   With ADV in effect, the compiler adds 1 byte to the record length for the 
  6031.   printer control character. 
  6032.  
  6033.  
  6034. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇADVΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6035.        ΓööΓöÇNOADVΓöÇΓöÿ
  6036.  
  6037.  
  6038. ΓòÉΓòÉΓòÉ 1.152. APOST Option ΓòÉΓòÉΓòÉ
  6039.  
  6040. Description 
  6041.   APOST specifies an apostrophe (') as the delimiter for literals. 
  6042.  
  6043.   QUOTE specifies a quotation mark (") as the delimiter character for literals. 
  6044.  
  6045.  
  6046. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇQUOTEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6047.        ΓööΓöÇAPOSTΓöÇΓöÿ
  6048.  
  6049.  
  6050. ΓòÉΓòÉΓòÉ 1.153. AWO Option ΓòÉΓòÉΓòÉ
  6051.  
  6052. Description 
  6053.   With AWO specified, the APPLY WRITE-ONLY clause will be in effect if any file 
  6054.   in the program is physical sequential with blocked V-mode records.  The 
  6055.   clause will be in effect even if it was not specified within the program. 
  6056.  
  6057.  
  6058. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇAWOΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6059.        ΓööΓöÇNOAWOΓöÇΓöÿ
  6060.  
  6061.  
  6062. ΓòÉΓòÉΓòÉ 1.154. BUFSIZE Option ΓòÉΓòÉΓòÉ
  6063.  
  6064. Description 
  6065.   BUFSIZE allocates an amount of main storage to the buffer for each compiler 
  6066.   work data set (where 1K=1024 bytes decimal). 
  6067.  
  6068.  
  6069. ΓöÇΓöÇΓöÇΓöÇΓöÇBUFSIZE(Γö¼ΓöÇnnnnnΓöÇΓö¼)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6070.                ΓööΓöÇnnnKΓöÇΓöÇΓöÿ
  6071.  
  6072.  
  6073. ΓòÉΓòÉΓòÉ 1.155. CMPR2 Option ΓòÉΓòÉΓòÉ
  6074.  
  6075. Description 
  6076.   CMPR2 aids in the migration of programs written for VS COBOL II Release 2 to 
  6077.   the COBOL/370 level.  It causes the compiler to generate code that is 
  6078.   compatible with code generated by VS COBOL II Release 2. 
  6079.  
  6080.  
  6081. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇCMPR2ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6082.        ΓööΓöÇNOCMPR2ΓöÇΓöÿ
  6083.  
  6084.  
  6085. ΓòÉΓòÉΓòÉ 1.156. COMPILE Option ΓòÉΓòÉΓòÉ
  6086.  
  6087. Description 
  6088.   COMPILE forces full compilation even with serious errors; all diagnostics and 
  6089.   object code are generated. 
  6090.  
  6091.   Note:   You should not attempt to execute the object code generated if the 
  6092.           compilation resulted in serious errors; the results could be 
  6093.           unpredictable or an abnormal termination could occur. 
  6094.  
  6095.  
  6096. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇCOMPILEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6097.        Γö£ΓöÇNOCOMPILEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  6098.        ΓööΓöÇNOCOMPILE(Γö¼ΓöÇWΓöÇΓö¼)ΓöÇΓöÿ
  6099.                    Γö£ΓöÇEΓöÇΓöñ
  6100.                    ΓööΓöÇSΓöÇΓöÿ
  6101.  
  6102.  
  6103. ΓòÉΓòÉΓòÉ 1.157. CURRENCY Option ΓòÉΓòÉΓòÉ
  6104.  
  6105. Description 
  6106.   The CURRENCY option is an alternative method to select a symbol other than 
  6107.   the dollar sign ($) to be the currency symbol you use in the PICTURE clause 
  6108.   where one may be specified when you do not want to code the CURRENCY SIGN 
  6109.   clause in your source program. 
  6110.  
  6111. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇCURRENCY(literal)ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇ
  6112.        ΓööΓöÇNOCURRENCYΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6113.  
  6114.  
  6115. ΓòÉΓòÉΓòÉ 1.158. DATA Option ΓòÉΓòÉΓòÉ
  6116.  
  6117. Description 
  6118.   DATA controls whether dynamic storage for data areas is acquired from below 
  6119.   the 16-megabyte line or from unrestricted storage when a program is compiled 
  6120.   with the RENT option and is run under XA. 
  6121.  
  6122.  
  6123. ΓöÇΓöÇΓöÇΓöÇΓöÇDATA(Γö¼ΓöÇ24ΓöÇΓö¼)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6124.             ΓööΓöÇ31ΓöÇΓöÿ
  6125.  
  6126.  
  6127. ΓòÉΓòÉΓòÉ 1.159. DBCS Option ΓòÉΓòÉΓòÉ
  6128.  
  6129. Description 
  6130.   DBCS causes the compiler to recognize X'0E' and X'0F' as shift codes for the 
  6131.   double byte portion of a nonnumeric literal. 
  6132.  
  6133.   DBCS is ignored if either CMPR2 or FLAGSTD is in effect. 
  6134.  
  6135.  
  6136. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇDBCSΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6137.        ΓööΓöÇNODBCSΓöÇΓöÿ
  6138.  
  6139.  
  6140. ΓòÉΓòÉΓòÉ 1.160. DECK Option ΓòÉΓòÉΓòÉ
  6141.  
  6142. Description 
  6143.   DECK produces object code in the form of 80-column card images. 
  6144.  
  6145.  
  6146. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇDECKΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6147.        ΓööΓöÇNODECKΓöÇΓöÿ
  6148.  
  6149.  
  6150. ΓòÉΓòÉΓòÉ 1.161. DISK Option ΓòÉΓòÉΓòÉ
  6151.  
  6152. Description 
  6153.   Use DISK to specify that a program listing is to be produced containing page 
  6154.   headings, message identification numbers, message texts, severity levels, and 
  6155.   line numbers of the statements in error, as well as any other output 
  6156.   requested by OFFSET, MAP, LIST, XREF, SOURCE, or VBREF. This listing will be 
  6157.   written to the appropriate read/write disk with a filetype of LISTING. 
  6158.  
  6159.   Note:   If you have issued a FILEDEF for SYSPRINT to redirect the listing 
  6160.   file produced by the compiler, the DISK, PRINT, and NOPRINT options are 
  6161.   ignored. 
  6162.  
  6163. ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇDISKΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6164.          Γö£ΓöÇΓöÇPRINTΓöÇΓöÇΓöÇΓöñ
  6165.          ΓööΓöÇΓöÇNOPRINTΓöÇΓöÿ
  6166.  
  6167.  
  6168. ΓòÉΓòÉΓòÉ 1.162. DUMP Option ΓòÉΓòÉΓòÉ
  6169.  
  6170. Description 
  6171.   DUMP produces a system dump at compile time.  This option is not intended for 
  6172.   general use; it should only be used at the request of an IBM representative. 
  6173.  
  6174.   The dump consists of a listing of the compiler's registers and a storage 
  6175.   dump, and is intended primarily for diagnostic personnel when a bug is 
  6176.   discovered in the compiler itself. 
  6177.  
  6178. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇDUMPΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6179.        ΓööΓöÇNODUMPΓöÇΓöÿ
  6180.  
  6181.  
  6182. ΓòÉΓòÉΓòÉ 1.163. DYNAM Option ΓòÉΓòÉΓòÉ
  6183.  
  6184. Description 
  6185.   Use DYNAM to cause separately compiled programs invoked through the CALL 
  6186.   literal statement to be loaded dynamically at run time. 
  6187.  
  6188.   Default is NODYNAM. 
  6189.  
  6190. Note:   Do not use DYNAM with CICS. 
  6191.  
  6192.  
  6193.                 ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇDYNAMΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6194.                        ΓööΓöÇNODYNAMΓöÇΓöÿ
  6195.  
  6196.  
  6197. ΓòÉΓòÉΓòÉ 1.164. FASTSRT Option ΓòÉΓòÉΓòÉ
  6198.  
  6199. Description 
  6200.   Use the FASTSRT Option to improve the performance of most SORT operations. 
  6201.   With FASTSRT the IBM DFSORT performs the I/O on input and/or output files 
  6202.   named in either or both of the following statements: 
  6203.  
  6204.     SORT...USING 
  6205.     SORT...GIVING 
  6206.  
  6207.   If you specify FASTSRT, you may not use the DFSORT options of SORTIN and 
  6208.   SORTOUT. 
  6209.  
  6210.  
  6211. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇFASTSRTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6212.        ΓööΓöÇNOFASTSRTΓöÇΓöÿ
  6213.  
  6214.  
  6215. ΓòÉΓòÉΓòÉ 1.165. FLAG Option ΓòÉΓòÉΓòÉ
  6216.  
  6217. Description 
  6218.   FLAG produces diagnostic messages for errors of the specified severity level 
  6219.   or above at the end of the source listing. 
  6220.  
  6221.  
  6222. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇFLAG(xΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼)Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6223.        Γöé       ΓööΓöÇ,yΓöÇΓöÿ Γöé
  6224.        ΓööΓöÇNOFLAGΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6225.  
  6226.  
  6227. ΓòÉΓòÉΓòÉ 1.166. FLAGMIG Option ΓòÉΓòÉΓòÉ
  6228.  
  6229. Description 
  6230.   FLAGMIG aids in the migration of VS COBOL II programs to COBOL/370. 
  6231.  
  6232.   Use FLAGMIG to identify language elements that may be implemented differently 
  6233.   in VS COBOL II Version 1 Release 2 than they are in COBOL/370. To use 
  6234.   FLAGMIG, you must also specify the CMPR2 compiler option. 
  6235.  
  6236.  
  6237. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇFLAGMIGΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6238.        ΓööΓöÇNOFLAGMIGΓöÇΓöÿ
  6239.  
  6240.  
  6241. ΓòÉΓòÉΓòÉ 1.167. FLAGSAA Option ΓòÉΓòÉΓòÉ
  6242.  
  6243. Description 
  6244.   FLAGSAA identifies elements that may restrict program portability across IBM 
  6245.   systems; elements are flagged with warning (W) level messages at compile 
  6246.   time. 
  6247.  
  6248.  
  6249. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇFLAGSAAΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6250.        ΓööΓöÇNOFLAGSAAΓöÇΓöÿ
  6251.  
  6252.  
  6253. ΓòÉΓòÉΓòÉ 1.168. FLAGSTD Option ΓòÉΓòÉΓòÉ
  6254.  
  6255. Description 
  6256.   FLAGSTD enables you to get informational messages about the Standard COBOL 
  6257.   elements included in your program. 
  6258.  
  6259.  
  6260. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇFLAGSTD(xΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼)ΓöÇ
  6261.        Γöé          ΓööΓöÇyyΓöÇΓöÿΓööΓöÇ,OΓöÇΓöÿΓöé
  6262.        ΓööΓöÇNOFLAGSTDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6263.  
  6264.  
  6265. ΓòÉΓòÉΓòÉ 1.169. LANGUAGE Option ΓòÉΓòÉΓòÉ
  6266.  
  6267. Description 
  6268.   LANGUAGE enables you to select the language in which compiler output will be 
  6269.   printed. 
  6270.  
  6271.   The information that will be printed in the selected language includes: 
  6272.  
  6273.     Diagnostic messages 
  6274.  
  6275.     Source listing page and scale headers 
  6276.  
  6277.     FIPS message headers 
  6278.  
  6279.     Message summary headers 
  6280.  
  6281.     Compilation summary 
  6282.  
  6283.     Headers and notations that result from the selection of certain compiler 
  6284.      options (MAP, XREF, VBREF,and FLAGSTD). 
  6285.  
  6286. ΓöÇΓöÇΓöÇΓöÇΓöÇLANGUAGE(XXxxxxxx)ΓöÇΓöÇΓöÇΓöÇ
  6287.  
  6288.  
  6289. ΓòÉΓòÉΓòÉ 1.170. LIB Option ΓòÉΓòÉΓòÉ
  6290.  
  6291. Description 
  6292.   Use LIB if your program has COPY, BASIS, or REPLACE statements. 
  6293.  
  6294.  
  6295. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇLIBΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6296.        ΓööΓöÇNOLIBΓöÇΓöÿ
  6297.  
  6298.  
  6299. ΓòÉΓòÉΓòÉ 1.171. LINECOUNT Option ΓòÉΓòÉΓòÉ
  6300.  
  6301. Description 
  6302.  
  6303.     LINECOUNT (nnn) specifies the number of lines to be printed on each page 
  6304.      of the compilation listing. 
  6305.  
  6306.     LINECOUNT (0) suppresses pagination. 
  6307.  
  6308.  
  6309. ΓöÇΓöÇΓöÇΓöÇΓöÇLINECOUNT(nnn)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6310.  
  6311.  
  6312. ΓòÉΓòÉΓòÉ 1.172. LIST Option ΓòÉΓòÉΓòÉ
  6313.  
  6314. Description 
  6315.   LIST produces a listing of the assembler-language expansion of your source 
  6316.   code. 
  6317.  
  6318.  
  6319. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇLISTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6320.        ΓööΓöÇNOLISTΓöÇΓöÿ
  6321.  
  6322.  
  6323. ΓòÉΓòÉΓòÉ 1.173. MAP Option ΓòÉΓòÉΓòÉ
  6324.  
  6325. Description 
  6326.   MAP produces a listing of the items defined in the Data Division. 
  6327.  
  6328.  
  6329. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇMAPΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6330.        ΓööΓöÇNOMAPΓöÇΓöÿ
  6331.  
  6332. MAP output includes: 
  6333.  
  6334.  Data Division map 
  6335.  
  6336.  Global tables 
  6337.  
  6338.  Literal pools 
  6339.  
  6340.  Nested program structure map, and program attributes 
  6341.  
  6342.  Size of the program's Working-Storage, and location in the object code if 
  6343.   compiled with the NORENT option. 
  6344.  
  6345.  
  6346. ΓòÉΓòÉΓòÉ 1.174. NAME Option ΓòÉΓòÉΓòÉ
  6347.  
  6348. Description 
  6349.   NAME appends a link-edit NAME card to each object module that you create. 
  6350.  
  6351.  
  6352. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇNAMEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇ
  6353.        Γöé      Γöö(Γö¼ΓöÇALIASΓöÇΓöÇΓöÇΓö¼)Γöÿ Γöé
  6354.        Γöé        ΓööΓöÇNOALIASΓöÇΓöÿ   Γöé
  6355.        ΓööΓöÇNONAMEΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6356.  
  6357.  
  6358. ΓòÉΓòÉΓòÉ 1.175. NUMBER Option ΓòÉΓòÉΓòÉ
  6359.  
  6360. Description 
  6361.   NUMBER allows you to use the line numbers in your source code in error 
  6362.   messages, MAP, LIST, and XREF listings. 
  6363.  
  6364.  
  6365. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇNUMBERΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6366.        ΓööΓöÇNONUMBERΓöÇΓöÿ
  6367.  
  6368.  
  6369. ΓòÉΓòÉΓòÉ 1.176. NUMPROC Option ΓòÉΓòÉΓòÉ
  6370.  
  6371. Description 
  6372.  
  6373.     NUMPROC(PFD) is a performance option you may use to bypass invalid sign 
  6374.      processing. 
  6375.  
  6376.     NUMPROC(NOPFD) is an option you may use if you want the compiler to 
  6377.      perform invalid sign processing. 
  6378.  
  6379.     NUMPROC(MIG) is an option you may use to aid in migrating OS/VS COBOL 
  6380.      programs to COBOL/370. 
  6381.  
  6382.  
  6383. ΓöÇΓöÇΓöÇΓöÇΓöÇNUMPROC(Γö¼ΓöÇPFDΓöÇΓöÇΓöÇΓö¼)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6384.                Γö£ΓöÇNOPFDΓöÇΓöñ
  6385.                ΓööΓöÇMIGΓöÇΓöÇΓöÇΓöÿ
  6386.  
  6387.  
  6388. ΓòÉΓòÉΓòÉ 1.177. OBJECT Option ΓòÉΓòÉΓòÉ
  6389.  
  6390. Description 
  6391.   OBJECT places the generated object code on disk or tape to be used later as 
  6392.   input for the linkage editor. OBJECT output goes to the data set associated 
  6393.   with SYSLIN ddname. 
  6394.  
  6395.  
  6396. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOBJECTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6397.        ΓööΓöÇNOOBJECTΓöÇΓöÿ
  6398.  
  6399.  
  6400. ΓòÉΓòÉΓòÉ 1.178. OFFSET Option ΓòÉΓòÉΓòÉ
  6401.  
  6402. Description 
  6403.   OFFSET produces a condensed Procedure Division listing. 
  6404.  
  6405.  
  6406. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOFFSETΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6407.        ΓööΓöÇNOOFFSETΓöÇΓöÿ
  6408.  
  6409.  
  6410. ΓòÉΓòÉΓòÉ 1.179. OPTIMIZE Option ΓòÉΓòÉΓòÉ
  6411.  
  6412. Description 
  6413.   OPTIMIZE reduces the run time of your object program. 
  6414.  
  6415.  
  6416. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇOPTIMIZEΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6417.        ΓööΓöÇNOOPTIMIZEΓöÇΓöÿ
  6418.  
  6419.  
  6420. ΓòÉΓòÉΓòÉ 1.180. OUTDD Option ΓòÉΓòÉΓòÉ
  6421.  
  6422. Description 
  6423.   OUTDD provides run-time DISPLAY output on a data-set other than SYSOUT. 
  6424.  
  6425.  
  6426. ΓöÇΓöÇΓöÇΓöÇΓöÇOUTDD(ddname)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6427.  
  6428.  
  6429. ΓòÉΓòÉΓòÉ 1.181. QUOTE Option ΓòÉΓòÉΓòÉ
  6430.  
  6431. Description 
  6432.   QUOTE specifies a quotation mark (") as the delimiter character for literals. 
  6433.  
  6434.   APOST specifies an apostrophe (') as the delimiter for literals. 
  6435.  
  6436.  
  6437. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇQUOTEΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6438.        ΓööΓöÇAPOSTΓöÇΓöÿ
  6439.  
  6440.  
  6441. ΓòÉΓòÉΓòÉ 1.182. RENT Option ΓòÉΓòÉΓòÉ
  6442.  
  6443. Description 
  6444.  
  6445.     RENT generates a compiled program as a reentrant object module that can be 
  6446.      invoked as a main program or subprogram. 
  6447.  
  6448.     NORENT generates a compiled program as a nonreentrant object module that 
  6449.      can be invoked as a main program or subprogram. 
  6450.  
  6451.   Note:   Do not use NORENT with CICS. 
  6452.  
  6453.  
  6454. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇRENTΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6455.        ΓööΓöÇNORENTΓöÇΓöÿ
  6456.  
  6457.  
  6458. ΓòÉΓòÉΓòÉ 1.183. SEQUENCE Option ΓòÉΓòÉΓòÉ
  6459.  
  6460. Description 
  6461.   SEQUENCE directs the compiler to examine columns 1 through 6 of your source 
  6462.   statements to check that the statements are arranged in ascending order 
  6463.   according to their EBCDIC collating sequence. 
  6464.  
  6465.  
  6466. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSEQUENCEΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6467.        ΓööΓöÇNOSEQUENCEΓöÇΓöÿ
  6468.  
  6469.  
  6470. ΓòÉΓòÉΓòÉ 1.184. SIZE Option ΓòÉΓòÉΓòÉ
  6471.  
  6472. Description 
  6473.   SIZE enables you to specify the amount of main storage available for 
  6474.   compilation (where 1K=1024 bytes decimal). 
  6475.  
  6476.   The minimum compiler storage value for the SIZE option is 778,240 bytes, or 
  6477.   760K bytes. 
  6478.  
  6479.  
  6480. ΓöÇΓöÇΓöÇΓöÇΓöÇSIZE(Γö¼ΓöÇnnnnnΓöÇΓö¼)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6481.             Γö£ΓöÇnnnKΓöÇΓöÇΓöñ
  6482.             ΓööΓöÇMAXΓöÇΓöÇΓöÇΓöÿ
  6483.  
  6484.  
  6485. ΓòÉΓòÉΓòÉ 1.185. SOURCE Option ΓòÉΓòÉΓòÉ
  6486.  
  6487. Description 
  6488.   SOURCE supplies a listing of your source program, including statements 
  6489.   embedded by PROCESS or COPY statements. 
  6490.  
  6491.  
  6492. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSOURCEΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6493.        ΓööΓöÇNOSOURCEΓöÇΓöÿ
  6494.  
  6495.  
  6496. ΓòÉΓòÉΓòÉ 1.186. SPACE Option ΓòÉΓòÉΓòÉ
  6497.  
  6498. Description 
  6499.   SPACE selects single, double, or triple spacing in your source code listing. 
  6500.  
  6501.  
  6502. ΓöÇΓöÇΓöÇΓöÇΓöÇSPACE(Γö¼ΓöÇ1ΓöÇΓö¼)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6503.              Γö£ΓöÇ2ΓöÇΓöñ
  6504.              ΓööΓöÇ3ΓöÇΓöÿ
  6505.  
  6506.  
  6507. ΓòÉΓòÉΓòÉ 1.187. SSRANGE Option ΓòÉΓòÉΓòÉ
  6508.  
  6509. Description 
  6510.  
  6511.     SSRANGE generates code that checks if subscripts or indexes attempt to 
  6512.      reference an area outside the region of the table. It does not 
  6513.      individually check each subscript or index; rather, it checks the 
  6514.      effective address to ensure that this address does not cause a reference 
  6515.      outside the table's region. 
  6516.  
  6517.     SSRANGE checks variable-length items to ensure that their current length 
  6518.      is within their maximum defined length. 
  6519.  
  6520.     SSRANGE checks the validity of reference modification expressions. 
  6521.  
  6522.  
  6523. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇSSRANGEΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6524.        ΓööΓöÇNOSSRANGEΓöÇΓöÿ
  6525.  
  6526.  
  6527. ΓòÉΓòÉΓòÉ 1.188. TERMINAL Option ΓòÉΓòÉΓòÉ
  6528.  
  6529. Description 
  6530.   TERMINAL sends progress and diagnostic messages to the SYSTERM data set. 
  6531.  
  6532.  
  6533. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇTERMINALΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6534.        ΓööΓöÇNOTERMINALΓöÇΓöÿ
  6535.  
  6536.  
  6537. ΓòÉΓòÉΓòÉ 1.189. TEST Option ΓòÉΓòÉΓòÉ
  6538.  
  6539. Description 
  6540.   TEST produces object code that can be executed with Debug Tool, the debugging 
  6541.   component of AD/Cycle CODE/370. For further information, please see the 
  6542.   COBOL/370 Programming Guide. 
  6543.  
  6544.   TEST has two suboptions; you can specify both, just one of the suboptions, or 
  6545.   neither of the suboptions. When you specify both of the suboptions, they may 
  6546.   appear in any order. The default values when TEST is specified without one or 
  6547.   both suboptions are ALL and SYM. Thus, TEST without any suboptions is 
  6548.   equivalent to TEST(ALL, SYM). 
  6549.  
  6550. ΓöÇΓö¼ΓöÇTESTΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇ
  6551.    Γöé      Γöö(ΓöÇhook-,-symbolΓöÇ)ΓöÇΓöÿ Γöé
  6552.    Γöé                           Γöé
  6553.    ΓööΓöÇNOTESTΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6554.  
  6555.  
  6556. ΓòÉΓòÉΓòÉ 1.190. TRUNC Option ΓòÉΓòÉΓòÉ
  6557.  
  6558. Description 
  6559.   The TRUNC option controls the way BINARY arithmetic fields are truncated 
  6560.   during MOVE and arithmetic operations.  Binary fields are defined via the 
  6561.   USAGE clause by specifying BINARY, COMP, or COMP-4. 
  6562.  
  6563.  
  6564. ΓöÇΓöÇΓöÇΓöÇΓöÇTRUNC(Γö¼ΓöÇSTDΓöÇΓö¼)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6565.              Γö£ΓöÇOPTΓöÇΓöñ
  6566.              ΓööΓöÇBINΓöÇΓöÿ
  6567.  
  6568.  
  6569. ΓòÉΓòÉΓòÉ 1.191. VBREF Option ΓòÉΓòÉΓòÉ
  6570.  
  6571. Description 
  6572.   Use VBREF to get a cross-referenced list of all verbs used in the source 
  6573.   program, the line numbers of the lines in which they were used, and a count 
  6574.   of the number of times each verb was used. 
  6575.  
  6576.   Use NOVBREF for more efficient compilation. 
  6577.  
  6578.  
  6579. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇVBREFΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6580.        ΓööΓöÇNOVBREFΓöÇΓöÿ
  6581.  
  6582.  
  6583. ΓòÉΓòÉΓòÉ 1.192. WORD Option ΓòÉΓòÉΓòÉ
  6584.  
  6585. Description 
  6586.   WORD(xxxx) specifies that an alternate reserved word table is to be used 
  6587.   during compilation. 
  6588.  
  6589.  
  6590. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇWORD(xxxx)ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6591.        ΓööΓöÇNOWORDΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6592.  
  6593.  
  6594. ΓòÉΓòÉΓòÉ 1.193. XREF Option ΓòÉΓòÉΓòÉ
  6595.  
  6596. Description 
  6597.   XREF provides a sorted cross-reference listing of data-names and 
  6598.   procedure-names including a section listing all the program names that are 
  6599.   referenced within your program, and the line number where they are defined. 
  6600.  
  6601.   EBCDIC data-names and procedure-names will be listed in alphanumeric order. 
  6602.  
  6603.  
  6604. ΓöÇΓö¼ΓöÇXREFΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇ
  6605.    Γöé      ΓööΓöÇ(ΓöÇΓö¼ΓöÇSHORTΓöÇΓö¼ΓöÇ)ΓöÇΓöÿ Γöé
  6606.    Γöé          ΓööΓöÇFULLΓöÇΓöÇΓöÿ     Γöé
  6607.    Γöé                        Γöé
  6608.    ΓööΓöÇNOXREFΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  6609.  
  6610.  
  6611. ΓòÉΓòÉΓòÉ 1.194. ZWB Option ΓòÉΓòÉΓòÉ
  6612.  
  6613. Description 
  6614.   ZWB directs the compiler to remove the sign from a signed external decimal 
  6615.   (DISPLAY) field when comparing this field to an alphanumeric elementary field 
  6616.   during run time. 
  6617.  
  6618.   ZWB affects program execution logic; that is, the same COBOL source program 
  6619.   can give different results, depending on the option setting. 
  6620.  
  6621.  
  6622. ΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇZWBΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  6623.        ΓööΓöÇNOZWBΓöÇΓöÿ
  6624.  
  6625.  
  6626. ΓòÉΓòÉΓòÉ <hidden> alphabet-name-1 ΓòÉΓòÉΓòÉ
  6627.  
  6628. You must specify alphabet-name-1 in the ALPHABET clause of the SPECIAL-NAMES 
  6629. paragraph.  You may specify any one of the alphabet-name clause phrases with 
  6630. the following results: 
  6631.  
  6632. STANDARD-1      The ASCII collating sequence is used for all nonnumeric 
  6633.                 comparisons. 
  6634.  
  6635. STANDARD-2      The International Reference Version of the ISO 7-bit code 
  6636.                 defined in International Standard 646, 7-bit Coded Character 
  6637.                 Set for Information Processing Interchange is used for all 
  6638.                 nonnumeric comparisons 
  6639.  
  6640. NATIVE          The EBCDIC collating sequence is used for all nonnumeric 
  6641.                 comparisons. 
  6642.  
  6643. EBCDIC          The EBCDIC collating sequence is used for all nonnumeric 
  6644.                 comparisons. 
  6645.  
  6646. literal         The collating sequence established by the specification of 
  6647.                 literals in the alphabet-name clause is used for all 
  6648.                 non-numeric comparisons. 
  6649.  
  6650.  
  6651. ΓòÉΓòÉΓòÉ 1.195. Arithmetic Expressions ΓòÉΓòÉΓòÉ
  6652.  
  6653. Arithmetic expressions are used as operands of certain conditional and 
  6654. arithmetic statements. 
  6655.  
  6656. An arithmetic expression may consist of any of the following: 
  6657.  
  6658.  1. An identifier described as a numeric elementary item (including numeric 
  6659.     functions) 
  6660.  2. A numeric literal 
  6661.  3. The figurative constant ZERO 
  6662.  4. Identifiers and literals, as defined in items 1, 2, and 3, separated by 
  6663.     arithmetic operators 
  6664.  5. Two arithmetic expressions, as defined in items 1, 2, 3, and/or 4, 
  6665.     separated by an arithmetic operator 
  6666.  6. An arithmetic expression, as defined in items 1, 2, 3, 4, and/or 5, 
  6667.     enclosed in parentheses. 
  6668.  
  6669. Any arithmetic expression may be preceded by a unary operator. 
  6670.  
  6671. Identifiers and literals appearing in arithmetic expressions must represent 
  6672. either numeric elementary items or numeric literals on which arithmetic may be 
  6673. performed. 
  6674.  
  6675. If an exponential expression is evaluated as both a positive and a negative 
  6676. number, the result will always be the positive number. The square root of 4, 
  6677. for example  (4 ** 0.5)  is evaluated as +2 and -2.  COBOL/370 always returns 
  6678. +2. 
  6679.  
  6680. Arithmetic Operators 
  6681.  
  6682. Five binary arithmetic operators and two unary arithmetic operators may be used 
  6683. in arithmetic expressions. They must be preceded and followed by a space, and 
  6684. they are interpreted as follows: 
  6685.  
  6686. Binary Operator     Operation Performed 
  6687.  
  6688. +                   Addition 
  6689. -                   Subtraction 
  6690. *                   Multiplication 
  6691. /                   Division 
  6692. **                  Exponentiation 
  6693.  
  6694. Unary Operator      Operation Performed 
  6695.  
  6696. +                   Multiplication by +1 
  6697. -                   Multiplication by -1 
  6698.  
  6699. You can use parentheses in arithmetic expressions to specify the order in which 
  6700. elements are to be evaluated. Expressions within parentheses are evaluated 
  6701. first.  When expressions are contained within a nest of parentheses, evaluation 
  6702. proceeds from the least inclusive to the most inclusive set. 
  6703.  
  6704. When parentheses are not used, or when parenthesized expressions are at the 
  6705. same level of inclusiveness, the following hierarchical order is implied: 
  6706.  
  6707.  1. Unary operator 
  6708.  2. Exponentiation 
  6709.  3. Multiplication and division 
  6710.  4. Addition and subtraction 
  6711.  
  6712. An arithmetic expression may begin only with a left parenthesis, a unary 
  6713. operator, or an operand (that is, an identifier or a literal).  It may end only 
  6714. with a right parenthesis or an operand. An arithmetic expression must contain 
  6715. at least one reference to an identifier or a literal. 
  6716.  
  6717. If the first operator in an arithmetic expression is a unary operator, it must 
  6718. be immediately preceded by a left parenthesis if that arithmetic expression 
  6719. immediately follows an identifier or another arithmetic expression. 
  6720.  
  6721.  
  6722. ΓòÉΓòÉΓòÉ 1.196. INVALID KEY Condition ΓòÉΓòÉΓòÉ
  6723.  
  6724. The invalid key condition can occur during execution of a DELETE, READ, 
  6725. REWRITE, START, or WRITE statement. When an invalid key condition occurs, the 
  6726. input-output statement that caused the condition is unsuccessful. 
  6727.  
  6728. When the invalid key condition is recognized, actions are taken in the 
  6729. following order: 
  6730.  
  6731.  1. If the FILE STATUS clause is specified in the FILE-CONTROL entry, a value 
  6732.     is placed into the status key to indicate an INVALID KEY condition. 
  6733.  
  6734.  2. If the INVALID KEY phrase is specified in the statement causing the 
  6735.     condition, control is transferred to the INVALID KEY imperative-statement. 
  6736.     Any EXCEPTION/ERROR declarative procedure specified for this file is not 
  6737.     executed. Execution then continues according to the rules for each 
  6738.     statement specified in the imperative-statement. 
  6739.  
  6740.  3. If the INVALID KEY phrase is not specified in the input-output statement 
  6741.     for a file and an EXCEPTION/ERROR procedure is specified, the 
  6742.     EXCEPTION/ERROR procedure is executed. The NOT INVALID KEY phrase, if 
  6743.     specified, is ignored. 
  6744.  
  6745. Both the INVALID KEY phrase and the EXCEPTION/ERROR procedure may be omitted. 
  6746.  
  6747. If the invalid key condition does not exist after execution of the input-output 
  6748. operation, the INVALID KEY phrase, if specified, is ignored, and the following 
  6749. actions are taken: 
  6750.  
  6751.  1. If an exception condition which is not an invalid key condition exists, 
  6752.     control is transferred according to the rules of the USE statement 
  6753.     following the execution of any USE AFTER EXCEPTION procedure. 
  6754.  
  6755.  2. If no exception condition exists, control is transferred to the end of the 
  6756.     input-output statement or the imperative statement specified in the NOT 
  6757.     INVALID KEY phrase, if specified. 
  6758.  
  6759.  
  6760. ΓòÉΓòÉΓòÉ 1.197. program-name ΓòÉΓòÉΓòÉ
  6761.  
  6762.  The program-name is a user-defined word that identifies your program. The 
  6763.   system uses the first 8 characters of the program-name of the outermost 
  6764.   program as the identifying name of the program. 
  6765.  
  6766.  The first 8 characters of the program-name of the outermost program should be 
  6767.   unique within the system.  The first character must be alphabetic.  If the 
  6768.   first character is not alphabetic, it is converted as follows: 
  6769.  
  6770.    - 1 through 9 are changed to A through I. 
  6771.    - Anything else is changed to J. 
  6772.  
  6773.  If you use a hyphen in characters 2 through 8 of the program-name of the 
  6774.   outermost program, the hyphen is changed to zero (0). 
  6775.  
  6776.  For programs that are contained within another program, program-name can be 
  6777.   any valid user-defined COBOL word, up to 30 characters long.  The first 8 
  6778.   characters need not be unique, and they will not be converted as described 
  6779.   above. Lowercase letters are valid, but they will be folded to uppercase. 
  6780.  
  6781.  Program-name may be a nonnumeric literal, other than a figurative constant. 
  6782.   The content of the literal must follow the rules for formation of program 
  6783.   names. Any lowercase characters in this literal will be folded to uppercase. 
  6784.   In the outermost program, the literal can contain the extension characters $, 
  6785.   #, and @. 
  6786.  
  6787.  
  6788. ΓòÉΓòÉΓòÉ 1.198. ROUNDED Phrase ΓòÉΓòÉΓòÉ
  6789.  
  6790. The ROUNDED phrase prevents truncation when the size of the fractional result 
  6791. of an arithmetic operation exceeds the number of places provided for its 
  6792. storage. 
  6793.  
  6794. The ROUNDED phrase causes the least significant digit of the resultant 
  6795. identifier to be increased by 1 whenever the most significant digit of the 
  6796. excess is greater than or equal to 5. 
  6797.  
  6798. When the resultant identifier is described by a PICTURE clause containing 
  6799. rightmost P's, and when the number of places in the calculated result exceeds 
  6800. the number of integer positions specified, rounding or truncation occurs, 
  6801. relative to the rightmost integer position for which storage is allocated. 
  6802.  
  6803. In a floating-point arithmetic operation, the ROUNDED phrase has no effect; the 
  6804. result of a floating-point operation is always rounded. For more information on 
  6805. floating-point arithmetic expressions, see the COBOL/370 Programming Guide. 
  6806.  
  6807.  
  6808. ΓòÉΓòÉΓòÉ 1.199. SIZE ERROR/NOT SIZE ERROR ΓòÉΓòÉΓòÉ
  6809.  
  6810. A SIZE ERROR condition can occur in three different ways: 
  6811.  
  6812.  1. When the absolute value of the result of an arithmetic evaluation, after 
  6813.     decimal point alignment, exceeds the largest value that can be contained in 
  6814.     the result field 
  6815.  
  6816.  2. When division by zero occurs 
  6817.  
  6818.  3. In an exponential expression, when: 
  6819.  
  6820.     Zero is raised to zero power. (If a SIZE ERROR clause is present, the SIZE 
  6821.      ERROR imperative statement is executed. If a SIZE ERROR clause is not 
  6822.      present, the value returned is 1 and a message is issued.) 
  6823.  
  6824.     Zero is raised to a negative number. (If a SIZE ERROR clause is present, 
  6825.      the SIZE ERROR imperative statement is executed. If a SIZE ERROR clause is 
  6826.      not present, the program is terminated abnormally.) 
  6827.  
  6828.     A negative number is raised to a fractional power. (If a SIZE ERROR clause 
  6829.      is present, the SIZE ERROR imperative statement is executed. If a SIZE 
  6830.      ERROR clause is not present, the absolute value of the base is used, and a 
  6831.      message is issued.) 
  6832.  
  6833. The size error condition applies only to final results, not to intermediate 
  6834. results. 
  6835.  
  6836. If the resultant identifier is defined with USAGE IS BINARY, COMPUTATIONAL, or 
  6837. COMPUTATIONAL-4, the largest value that can be contained in it is the maximum 
  6838. value implied  by its associated decimal PICTURE character-string. 
  6839.  
  6840. When a size error occurs, the subsequent action of the program depends on 
  6841. whether or not the ON SIZE ERROR phrase is specified. 
  6842.  
  6843. If you do specify the ON SIZE ERROR phrase and a size error condition occurs, 
  6844. the value of the resultant identifier affected by the size error is not 
  6845. altered---that is, the error results are not placed in the receiving 
  6846. identifier. After completion of the execution of the arithmetic operation, the 
  6847. imperative statement in the ON SIZE ERROR phrase is executed, control is 
  6848. transferred to the end of the arithmetic statement, and the NOT ON SIZE ERROR 
  6849. phrase, if specified, is ignored. 
  6850.  
  6851. If you do not specify the ON SIZE ERROR phrase and a size error condition 
  6852. occurs, truncation rules apply, and the value of the affected resultant 
  6853. identifier is computed. 
  6854.  
  6855. If you specify the NOT ON SIZE ERROR phrase and, after execution of an 
  6856. arithmetic operation, a size error condition does not exist, the NOT ON SIZE 
  6857. ERROR phrase is executed. 
  6858.  
  6859. When you specify both the ON SIZE ERROR and NOT ON SIZE ERROR phrases, and the 
  6860. statement in the phrase that is executed does not contain any explicit transfer 
  6861. of control, then, if necessary, an implicit transfer of control is made after 
  6862. execution of the phrase to the end of the arithmetic statement. 
  6863.  
  6864. For ADD CORRESPONDING and SUBTRACT CORRESPONDING statements, if an individual 
  6865. arithmetic operation causes a size error condition, the ON SIZE ERROR 
  6866. imperative statement is not executed until all the individual additions or 
  6867. subtractions have been completed. 
  6868.  
  6869.  
  6870. ΓòÉΓòÉΓòÉ 1.200. ADVANCING Menu ΓòÉΓòÉΓòÉ
  6871.  
  6872. Select which occurrence of ADVANCING you want to display: 
  6873.  
  6874.  DISPLAY Statement 
  6875.  
  6876.  Write Statement Format 1 (QSAM Sequential Files) 
  6877.  
  6878.  
  6879. ΓòÉΓòÉΓòÉ 1.201. AFTER Menu ΓòÉΓòÉΓòÉ
  6880.  
  6881. Select which occurrence of AFTER you want to display: 
  6882.  
  6883.  USE AFTER EXCEPTION/ERROR PROCEDURE (USE Compiler-Directing Statement) 
  6884.  
  6885.  USE AFTER LABEL PROCEDURE (USE Compiler-Directing Statement) 
  6886.  
  6887.  INSPECT Statement 
  6888.  
  6889.  PERFORM Statement Format 3 (PERFORM with UNTIL) 
  6890.  
  6891.  PERFORM Statement Format 4 (PERFORM with VARYING) 
  6892.  
  6893.  
  6894. ΓòÉΓòÉΓòÉ 1.202. ASCENDING/DESCENDING Menu ΓòÉΓòÉΓòÉ
  6895.  
  6896. Select which occurrence of ASCENDING/DESCENDING you want to display: 
  6897.  
  6898.  ASCENDING/DESCENDING KEY Phrase (OCCURS Clause) 
  6899.  
  6900.  ASCENDING/DESCENDING KEY Phrase (MERGE Statement) 
  6901.  
  6902.  ASCENDING/DESCENDING KEY Phrase (SORT Statement) 
  6903.  
  6904.  
  6905. ΓòÉΓòÉΓòÉ 1.203. BEFORE Menu ΓòÉΓòÉΓòÉ
  6906.  
  6907. Select which occurrence of BEFORE you want to display: 
  6908.  
  6909.  INSPECT Statement 
  6910.  
  6911.  PERFORM Statement Format 3 (PERFORM with UNTIL) 
  6912.  
  6913.  PERFORM Statement Format 4 (PERFORM with VARYING) 
  6914.  
  6915.  
  6916. ΓòÉΓòÉΓòÉ 1.204. CHARACTERS Menu ΓòÉΓòÉΓòÉ
  6917.  
  6918. Select which occurrence of CHARACTERS you want to display: 
  6919.  
  6920.  BLOCK CONTAINS Clause (Sequential Files) 
  6921.  
  6922.  BLOCK CONTAINS Clause (Relative/Indexed Files) 
  6923.  
  6924.  INSPECT Statement (with TALLYING Phrase) 
  6925.  
  6926.  INSPECT Statement (with REPLACING Phrase) 
  6927.  
  6928.  INSPECT Statement (with TALLYING and REPLACING Phrases) 
  6929.  
  6930.  RECORD Clause 
  6931.  
  6932.  SYMBOLIC CHARACTERS Clause (SPECIAL-NAMES Paragraph) 
  6933.  
  6934.  
  6935. ΓòÉΓòÉΓòÉ 1.205. COLLATING Menu ΓòÉΓòÉΓòÉ
  6936.  
  6937. Select which occurrence of COLLATING you want to display: 
  6938.  
  6939.  PROGRAM COLLATING SEQUENCE Clause (OBJECT-COMPUTER Paragraph) 
  6940.  
  6941.  COLLATING SEQUENCE Phrase (MERGE Statement) 
  6942.  
  6943.  COLLATING SEQUENCE Phrase (SORT Statement) 
  6944.  
  6945.  
  6946. ΓòÉΓòÉΓòÉ 1.206. DATA Menu ΓòÉΓòÉΓòÉ
  6947.  
  6948. Select which occurrence of DATA you want to display: 
  6949.  
  6950.  DATA Compiler Option 
  6951.  
  6952.  Data Division 
  6953.  
  6954.  DATA RECORDS Clause (Sequential Files) 
  6955.  
  6956.  DATA RECORDS Clause (Relative/Indexed Files) 
  6957.  
  6958.  DATA RECORDS Clause (Sort/Merge Files) 
  6959.  
  6960.  
  6961. ΓòÉΓòÉΓòÉ 1.207. DEBUGGING Menu ΓòÉΓòÉΓòÉ
  6962.  
  6963. Select which occurrence of DEBUGGING you want to display: 
  6964.  
  6965.  DEBUGGING Declarative 
  6966.  
  6967.  DEBUGGING MODE Clause (SOURCE-COMPUTER Paragraph) 
  6968.  
  6969.  
  6970. ΓòÉΓòÉΓòÉ 1.208. DELETE Menu ΓòÉΓòÉΓòÉ
  6971.  
  6972. Select which occurrence of DELETE you want to display: 
  6973.  
  6974.  DELETE Compiler-Directing Statement 
  6975.  
  6976.  DELETE Statement 
  6977.  
  6978.  
  6979. ΓòÉΓòÉΓòÉ 1.209. DEPENDING Menu ΓòÉΓòÉΓòÉ
  6980.  
  6981. Select which occurrence of DEPENDING you want to display: 
  6982.  
  6983.  Conditional GO TO Statement 
  6984.  
  6985.  OCCURS DEPENDING ON Clause (Variable-Length Tables) 
  6986.  
  6987.  RECORD Clause Format 3 
  6988.  
  6989.  
  6990. ΓòÉΓòÉΓòÉ 1.210. DISPLAY Menu ΓòÉΓòÉΓòÉ
  6991.  
  6992. Select which occurrence of DISPLAY you want to view: 
  6993.  
  6994.  USAGE IS DISPLAY (USAGE Clause) 
  6995.  
  6996.  DISPLAY Statement 
  6997.  
  6998.  
  6999. ΓòÉΓòÉΓòÉ 1.211. DIVISION Menu ΓòÉΓòÉΓòÉ
  7000.  
  7001. Select which occurrence of DIVISION you want to display: 
  7002.  
  7003.  Data Division 
  7004.  
  7005.  Environment Division 
  7006.  
  7007.  Identification Division 
  7008.  
  7009.  Procedure Division 
  7010.  
  7011.  
  7012. ΓòÉΓòÉΓòÉ 1.212. ENTRY Menu ΓòÉΓòÉΓòÉ
  7013.  
  7014. Select which occurrence of ENTRY you want to display: 
  7015.  
  7016.  ENTRY Statement 
  7017.  
  7018.  SET Statement Format 6 (SET for USAGE IS PROCEDURE-POINTER data items) 
  7019.  
  7020.  
  7021. ΓòÉΓòÉΓòÉ 1.213. EXCEPTION Menu ΓòÉΓòÉΓòÉ
  7022.  
  7023. Select which occurrence of EXCEPTION you want to display: 
  7024.  
  7025.  CALL Statement Format 2 (CALL ON EXCEPTION) 
  7026.  
  7027.  USE AFTER EXCEPTION/ERROR PROCEDURE (USE Compiler-Directing Statement) 
  7028.  
  7029.  
  7030. ΓòÉΓòÉΓòÉ 1.214. EXIT Menu ΓòÉΓòÉΓòÉ
  7031.  
  7032. Select which occurrence of EXIT you want to display: 
  7033.  
  7034.  EXIT Statement 
  7035.  
  7036.  EXIT PROGRAM Statement 
  7037.  
  7038.  
  7039. ΓòÉΓòÉΓòÉ 1.215. EXTERNAL Menu ΓòÉΓòÉΓòÉ
  7040.  
  7041. Select which occurrence of EXTERNAL you want to display: 
  7042.  
  7043.  EXTERNAL Clause (Data Description Entry) 
  7044.  
  7045.  EXTERNAL Clause (File Description Entry, Sequential Files) 
  7046.  
  7047.  EXTERNAL Clause (File Description Entry, Relative/Indexed Files) 
  7048.  
  7049.  
  7050. ΓòÉΓòÉΓòÉ 1.216. FILE Menu ΓòÉΓòÉΓòÉ
  7051.  
  7052. Select which occurrence of FILE you want to display: 
  7053.  
  7054.  FILE SECTION 
  7055.  
  7056.  FILE-CONTROL Paragraph 
  7057.  
  7058.  MULTIPLE FILE TAPE Clause (I-O-CONTROL Paragraph, QSAM Files) 
  7059.  
  7060.  USE AFTER BEGINNING/ENDING FILE LABEL PROCEDURE (USE Compiler-Directing 
  7061.   Statement) 
  7062.  
  7063.  
  7064. ΓòÉΓòÉΓòÉ 1.217. GLOBAL Menu ΓòÉΓòÉΓòÉ
  7065.  
  7066. Select which occurrence of GLOBAL you want to display: 
  7067.  
  7068.  GLOBAL Clause (Data Description Entry) 
  7069.  
  7070.  GLOBAL Clause (File Description Entry, Sequential Files) 
  7071.  
  7072.  GLOBAL Clause (File Description Entry, Relative/Indexed Files) 
  7073.  
  7074.  EXCEPTION/ERROR Declarative 
  7075.  
  7076.  
  7077. ΓòÉΓòÉΓòÉ 1.218. INDEXED Menu ΓòÉΓòÉΓòÉ
  7078.  
  7079. Select which occurrence of INDEXED you want to display: 
  7080.  
  7081.  INDEXED BY Phrase (OCCURS Clause) 
  7082.  
  7083.  ORGANIZATION IS INDEXED Clause (VSAM Indexed File Entries) 
  7084.  
  7085.  
  7086. ΓòÉΓòÉΓòÉ 1.219. INVALID Menu ΓòÉΓòÉΓòÉ
  7087.  
  7088. Select which occurrence of INVALID you want to display: 
  7089.  
  7090.  INVALID KEY Phrase (DELETE Statement) 
  7091.  
  7092.  INVALID KEY Phrase (READ Statement, Random Access Mode) 
  7093.  
  7094.  INVALID KEY Phrase (REWRITE Statement) 
  7095.  
  7096.  INVALID KEY Phrase (START Statement) 
  7097.  
  7098.  INVALID KEY Phrase (WRITE Statement, QSAM Sequential Files) 
  7099.  
  7100.  INVALID KEY Phrase (WRITE Statement, VSAM Indexed Files) 
  7101.  
  7102.  INVALID KEY Phrase (WRITE Statement, VSAM Relative Files) 
  7103.  
  7104.  
  7105. ΓòÉΓòÉΓòÉ 1.220. KEY Menu ΓòÉΓòÉΓòÉ
  7106.  
  7107. Select which occurrence of KEY you want to display: 
  7108.  
  7109.  ALTERNATE RECORD KEY Clause (VSAM Indexed File Entry) 
  7110.  
  7111.  ASCENDING/DESCENDING KEY Phrase (OCCURS Clause) 
  7112.  
  7113.  ASCENDING/DESCENDING KEY Phrase (MERGE Statement) 
  7114.  
  7115.  ASCENDING/DESCENDING KEY Phrase (SORT Statement) 
  7116.  
  7117.  INVALID KEY Phrase (DELETE Statement) 
  7118.  
  7119.  INVALID KEY Phrase (READ Statement, Random Access Mode) 
  7120.  
  7121.  INVALID KEY Phrase (REWRITE Statement) 
  7122.  
  7123.  INVALID KEY Phrase (START Statement) 
  7124.  
  7125.  INVALID KEY Phrase (WRITE Statement, QSAM Sequential Files) 
  7126.  
  7127.  INVALID KEY Phrase (WRITE Statement, VSAM Indexed Files) 
  7128.  
  7129.  INVALID KEY Phrase (WRITE Statement, VSAM Relative Files) 
  7130.  
  7131.  RECORD KEY Clause (VSAM Indexed File Entry) 
  7132.  
  7133.  RELATIVE KEY Clause (VSAM Relative File Entry) 
  7134.  
  7135.  
  7136. ΓòÉΓòÉΓòÉ 1.221. LABEL Menu ΓòÉΓòÉΓòÉ
  7137.  
  7138. Select which occurrence of LABEL you want to display: 
  7139.  
  7140.  LABEL Declarative 
  7141.  
  7142.  LABEL RECORDS Clause (Sequential Files) 
  7143.  
  7144.  LABEL RECORDS Clause (Relative/Indexed Files) 
  7145.  
  7146.  SERVICE LABEL Compiler-Directing Statement 
  7147.  
  7148.  
  7149. ΓòÉΓòÉΓòÉ 1.222. ORGANIZATION Menu ΓòÉΓòÉΓòÉ
  7150.  
  7151. Select which occurrence of ORGANIZATION you want to display: 
  7152.  
  7153.  ORGANIZATION IS INDEXED (VSAM Indexed File Entries) 
  7154.  
  7155.  ORGANIZATION IS RELATIVE (VSAM Relative File Entries) 
  7156.  
  7157.  ORGANIZATION IS SEQUENTIAL (QSAM and VSAM Sequential File Entries) 
  7158.  
  7159.  
  7160. ΓòÉΓòÉΓòÉ 1.223. PROCEDURE Menu ΓòÉΓòÉΓòÉ
  7161.  
  7162. Select which occurrence of PROCEDURE you want to display: 
  7163.  
  7164.  Procedure Division 
  7165.  
  7166.  USE Compiler-Directing Statement 
  7167.  
  7168.  MERGE Statement 
  7169.  
  7170.  SORT Statement 
  7171.  
  7172.  
  7173. ΓòÉΓòÉΓòÉ 1.224. PROGRAM Menu ΓòÉΓòÉΓòÉ
  7174.  
  7175. Select which occurrence of PROGRAM you want to display: 
  7176.  
  7177.  EXIT PROGRAM Statement 
  7178.  
  7179.  PROGRAM COLLATING SEQUENCE Clause (OBJECT-COMPUTER Paragraph) 
  7180.  
  7181.  
  7182. ΓòÉΓòÉΓòÉ 1.225. RANDOM Menu ΓòÉΓòÉΓòÉ
  7183.  
  7184. Select which occurrence of RANDOM you want to display: 
  7185.  
  7186.  ACCESS IS RANDOM (VSAM Indexed File Entries) 
  7187.  
  7188.  ACCESS IS RANDOM (VSAM Relative File Entries) 
  7189.  
  7190.  RANDOM Function 
  7191.  
  7192.  
  7193. ΓòÉΓòÉΓòÉ 1.226. RECORD Menu ΓòÉΓòÉΓòÉ
  7194.  
  7195. Select which occurrence of RECORD you want to display: 
  7196.  
  7197.  ALTERNATE RECORD KEY Clause (VSAM Indexed File Entries) 
  7198.  
  7199.  RECORD Clause 
  7200.  
  7201.  RECORD DELIMITER Clause (QSAM and VSAM Sequential Files) 
  7202.  
  7203.  RECORD KEY Clause (VSAM Indexed File Entries) 
  7204.  
  7205.  SAME RECORD AREA Clause (QSAM Files) 
  7206.  
  7207.  SAME RECORD AREA Clause (VSAM Files) 
  7208.  
  7209.  SAME RECORD AREA Clause (Sort/Merge Files) 
  7210.  
  7211.  DELETE Statement 
  7212.  
  7213.  READ Statement 
  7214.  
  7215.  RETURN Statement 
  7216.  
  7217.  
  7218. ΓòÉΓòÉΓòÉ 1.227. RECORDS Menu ΓòÉΓòÉΓòÉ
  7219.  
  7220. Select which occurrence of RECORDS you want to display: 
  7221.  
  7222.  BLOCK CONTAINS Clause (Sequential Files) 
  7223.  
  7224.  BLOCK CONTAINS Clause (Relative/Indexed Files) 
  7225.  
  7226.  DATA RECORDS Clause (Sequential Files) 
  7227.  
  7228.  DATA RECORDS Clause (Relative/Indexed Files) 
  7229.  
  7230.  DATA RECORDS Clause (Sort/Merge Files) 
  7231.  
  7232.  LABEL RECORDS Clause (Sequential Files) 
  7233.  
  7234.  LABEL RECORDS Clause (Relative/Indexed Files) 
  7235.  
  7236.  
  7237. ΓòÉΓòÉΓòÉ 1.228. REPLACING Menu ΓòÉΓòÉΓòÉ
  7238.  
  7239. Select which occurrence of REPLACING you want to display: 
  7240.  
  7241.  COPY Compiler-Directing Statement 
  7242.  
  7243.  INITIALIZE Statement 
  7244.  
  7245.  INSPECT Statement 
  7246.  
  7247.  
  7248. ΓòÉΓòÉΓòÉ 1.229. SAME Menu ΓòÉΓòÉΓòÉ
  7249.  
  7250. Select which occurrence of SAME you want to display: 
  7251.  
  7252.  SAME AREA Clause (QSAM Files) 
  7253.  
  7254.  SAME AREA Clause (VSAM Files) 
  7255.  
  7256.  SAME AREA Clause (Sort/Merge Files) 
  7257.  
  7258.  SAME RECORD AREA Clause (QSAM Files) 
  7259.  
  7260.  SAME RECORD AREA Clause (VSAM Files) 
  7261.  
  7262.  SAME RECORD AREA Clause (Sort/Merge Files) 
  7263.  
  7264.  SAME SORT AREA Clause 
  7265.  
  7266.  SAME SORT-MERGE AREA Clause 
  7267.  
  7268.  
  7269. ΓòÉΓòÉΓòÉ 1.230. SECTION Menu ΓòÉΓòÉΓòÉ
  7270.  
  7271. Select which occurrence of SECTION you want to display: 
  7272.  
  7273.  Configuration Section 
  7274.  
  7275.  File Section 
  7276.  
  7277.  Input-Output Section 
  7278.  
  7279.  Linkage Section 
  7280.  
  7281.  Working-Storage Section 
  7282.  
  7283.  Procedure Division Format 1 
  7284.  
  7285.  
  7286. ΓòÉΓòÉΓòÉ 1.231. SEQUENTIAL Menu ΓòÉΓòÉΓòÉ
  7287.  
  7288. Select which occurrence of SEQUENTIAL you want to display: 
  7289.  
  7290.  ACCESS IS SEQUENTIAL (QSAM and VSAM Sequential File Entries) 
  7291.  
  7292.  ACCESS IS SEQUENTIAL (VSAM Indexed File Entries) 
  7293.  
  7294.  ACCESS IS SEQUENTIAL (VSAM Relative File Entries) 
  7295.  
  7296.  ORGANIZATION IS SEQUENTIAL (QSAM and VSAM Sequential File Entries) 
  7297.  
  7298.  
  7299. ΓòÉΓòÉΓòÉ 1.232. SERVICE Menu ΓòÉΓòÉΓòÉ
  7300.  
  7301. Select which occurrence of SERVICE you want to display: 
  7302.  
  7303.  SERVICE LABEL Compiler-Directing Statement 
  7304.  
  7305.  SERVICE RELOAD Compiler-Directing Statement 
  7306.  
  7307.  
  7308. ΓòÉΓòÉΓòÉ 1.233. SORT Menu ΓòÉΓòÉΓòÉ
  7309.  
  7310. Select which occurrence of SORT you want to display: 
  7311.  
  7312.  SAME SORT AREA Clause (I-O-CONTROL Paragraph, Format 3) 
  7313.  
  7314.  SORT Statement 
  7315.  
  7316.  
  7317. ΓòÉΓòÉΓòÉ 1.234. THROUGH/THRU Menu ΓòÉΓòÉΓòÉ
  7318.  
  7319. Select which occurrence of THROUGH or THRU you want to display: 
  7320.  
  7321.  ALPHABET Clause (SPECIAL-NAMES Paragraph) 
  7322.  
  7323.  RENAMES Clause 
  7324.  
  7325.  Condition-Name VALUE Clause 
  7326.  
  7327.  EVALUATE Statement 
  7328.  
  7329.  MERGE Statement 
  7330.  
  7331.  PERFORM Statement 
  7332.  
  7333.  SORT Statement 
  7334.  
  7335.  
  7336. ΓòÉΓòÉΓòÉ 1.235. USING Menu ΓòÉΓòÉΓòÉ
  7337.  
  7338. Select which occurrence of USING you want to display: 
  7339.  
  7340.  USING Phrase (Procedure Division Header) 
  7341.  
  7342.  CALL Statement 
  7343.  
  7344.  ENTRY Statement 
  7345.  
  7346.  MERGE Statement 
  7347.  
  7348.  SORT Statement 
  7349.  
  7350.  
  7351. ΓòÉΓòÉΓòÉ 1.236. VALUE Menu ΓòÉΓòÉΓòÉ
  7352.  
  7353. Select which occurrence of VALUE you want to display: 
  7354.  
  7355.  VALUE Clause 
  7356.  
  7357.  VALUE OF Clause (Sequential Files) 
  7358.  
  7359.  VALUE OF Clause (Relative/Indexed Files) 
  7360.  
  7361.  
  7362. ΓòÉΓòÉΓòÉ 1.237. No Help Available ΓòÉΓòÉΓòÉ
  7363.  
  7364. Help is not directly available from this language element. You can either: 
  7365.  
  7366.  Press Alt+F4 to return to your edit session, and select a related major 
  7367.   keyword, such as a statement keyword or clause keyword, or 
  7368.  
  7369.  Select "Help" from the action bar and then select "Help index" to get a list 
  7370.   of COBOL topics. 
  7371.  
  7372.  
  7373. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7374.  
  7375. An end program header separates each program in the sequence of programs. 
  7376. Program-name-1 must conform to the rules for forming a user-defined word.  It 
  7377. must be identical to a program-name declared in a preceding PROGRAM-ID 
  7378. paragraph. 
  7379.  
  7380. Program-name-1 may be a nonnumeric literal but may not be a figurative 
  7381. constant. The content of the literal must follow the rules for formation of a 
  7382. program name. Any lowercase characters in this literal will be folded to 
  7383. uppercase. 
  7384.  
  7385. An end program header is optional for the last program in the sequence only if 
  7386. that program does not contain any nested source programs. 
  7387.  
  7388.  
  7389. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7390.  
  7391. The PROGRAM-ID paragraph specifies the name by which the program is known and 
  7392. assigns selected program attributes to that program.  It is required and must 
  7393. be the first paragraph in the Identification Division. 
  7394.  
  7395.  
  7396. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7397.  
  7398. COMMON specifies that the program-name is contained within another program, and 
  7399. it can be called from siblings of the common program and programs contained 
  7400. within them.  The COMMON clause may be used only if program-name is contained 
  7401. within another program. 
  7402.  
  7403.  
  7404. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7405.  
  7406. INITIAL specifies that when program-name is called, program-name and any 
  7407. programs contained within it are placed in their initial state. 
  7408.  
  7409.  
  7410. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7411.  
  7412. Use AUTHOR to specify the name of the author of the program. 
  7413.  
  7414.  
  7415. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7416.  
  7417. Use INSTALLATION to specify the name of the company or location. 
  7418.  
  7419.  
  7420. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7421.  
  7422. Use DATE-WRITTEN to specify the date that the program was written. 
  7423.  
  7424.  
  7425. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7426.  
  7427.  Use DATE-COMPILED to specify the date that the program was compiled. 
  7428.  
  7429.  The paragraph name DATE-COMPILED and any comment-entry associated with it 
  7430.   appear in the output program listing with the current date inserted: 
  7431.  
  7432.   DATE-COMPILED.  06/21/92. 
  7433.  
  7434.  
  7435. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7436.  
  7437. Use SECURITY to specify the level of confidentiality of the program. 
  7438.  
  7439.  
  7440. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7441.  
  7442.  The comment-entry in any of the optional paragraphs may be any combination of 
  7443.   characters from the character set of the computer.  The comment-entry should 
  7444.   be written in Area B on one or more lines. 
  7445.  
  7446.  Comment-entries serve only as documentation; they do not affect the meaning 
  7447.   of the program.  A hyphen in the indicator area (column 7) is not permitted 
  7448.   in comment-entries. 
  7449.  
  7450.  Comment-entries in the Identification Division may have DBCS strings.  A DBCS 
  7451.   string must be preceded by a shift-out control character and followed by a 
  7452.   shift-in control character. 
  7453.  
  7454.  Multiple lines are allowed in a comment-entry containing DBCS strings; 
  7455.   however, shift-out and shift-in characters must be paired on a line. 
  7456.  
  7457.  
  7458. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7459.  
  7460. Computer-name represents a system-name.  For example: IBM-370. 
  7461.  
  7462.  
  7463. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7464.  
  7465. Computer-name represents a system-name.  For example: IBM-370. 
  7466.  
  7467.  
  7468. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7469.  
  7470. MEMORY SIZE is the amount of storage needed to execute the object program.  The 
  7471. MEMORY SIZE clause is syntax-checked, but has no effect on the execution of the 
  7472. program. 
  7473.  
  7474.  
  7475. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7476.  
  7477. You can express integer in words, characters, or modules. 
  7478.  
  7479.  
  7480. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7481.  
  7482. Alphabet-name represents the collating sequence. 
  7483.  
  7484.  
  7485. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7486.  
  7487. The priority-number is an integer ranging from 1 through 49. 
  7488.  
  7489.  
  7490. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7491.  
  7492. Environment-name-2 is a 1-byte User Programmable Status Indicator (UPSI) 
  7493. switch.  Valid specifications for environment-name-2 are UPSI-O through UPSI-7. 
  7494.  
  7495. Mnemonic-names and environment-names do not need to be unique. If you choose a 
  7496. mnemonic-name that is also an environment-name, its definition as a 
  7497. mnemonic-name will take precedence over its definition as an environment-name. 
  7498.  
  7499.  
  7500. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7501.  
  7502. Mnemonic-name-1 and mnemonic-name-2 follow the rules of formation for 
  7503. user-defined names.  You can use mnemonic-name-1 in ACCEPT, DISPLAY, and WRITE 
  7504. statements. You can use mnemonic-name-2 only in the SET statement. 
  7505. Mnemonic-name-2 can be used to qualify cond-1 or cond-2 names. 
  7506.  
  7507. Mnemonic-names and environment-names do not need to be unique. If you choose a 
  7508. mnemonic-name that is also an environment-name, its definition as a 
  7509. mnemonic-name will take precedence over its definition as an environment-name. 
  7510.  
  7511.  
  7512. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7513.  
  7514. When you specify ON STATUS IS or OFF STATUS IS, UPSI switches process special 
  7515. conditions within a program, such as year-beginning or year-ending processing. 
  7516. For example, at the beginning of the Procedure Division, an UPSI switch can be 
  7517. tested; if it is ON, the special branch is taken. 
  7518.  
  7519.  
  7520. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7521.  
  7522. You can specify assignment-name-1 as a user-defined word or a nonnumeric 
  7523. literal. Any assignment-name after the first is syntax-checked, but has no 
  7524. effect on the execution of the program. 
  7525.  
  7526.  
  7527. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7528.  
  7529. STANDARD-1 specifies the ASCII character set. 
  7530.  
  7531.  
  7532. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7533.  
  7534. STANDARD-2 specifies the International Reference Version of the ISO 7-bit code 
  7535. defined in the International Standard 646, 7-bit Coded Character Set for 
  7536. Information Processing Interchange. 
  7537.  
  7538.  
  7539. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7540.  
  7541. NATIVE specifies the native character code set.  If you omit the alphabet-name 
  7542. clause, EBCDIC is assumed. 
  7543.  
  7544.  
  7545. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7546.  
  7547. EBCDIC specifies the EBCDIC character set. 
  7548.  
  7549.  
  7550. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7551.  
  7552.  When you specify the ALSO phrase and alphabet-name-1 is referenced in a 
  7553.   SYMBOLIC CHARACTERS clause, only literal-1 is used to represent the character 
  7554.   in the EBCDIC set. 
  7555.  
  7556.  When you specify the ALSO phrase, EBCDIC characters specified as literal-1, 
  7557.   literal-3, etc., are assigned to the same position in this collating 
  7558.   sequence. 
  7559.  
  7560.  Each nonnumeric literal associated with a THROUGH or ALSO phrase must be 1 
  7561.   character in length. 
  7562.  
  7563.  
  7564. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7565.  
  7566. CLASS class-name-1 IS provides a means for relating a name to the specified set 
  7567. of characters listed in that clause.  Class-name can be referenced only in a 
  7568. class condition.  The characters specified by the values of the literals in 
  7569. this clause define the exclusive set of characters of which this class-name 
  7570. consists. 
  7571.  
  7572.  
  7573. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7574.  
  7575. When you specify the THROUGH phrase, the contiguous characters in the native 
  7576. character set beginning with the character specified by literal-1 and ending 
  7577. with the character specified by literal-2 are assigned successively ascending 
  7578. positions in this collating sequence. This sequence may be either ascending or 
  7579. descending within the original native character set. 
  7580.  
  7581.  
  7582. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7583.  
  7584. The CURRENCY SIGN IS clause specifies the currency symbol to be used in the 
  7585. PICTURE clause.  This clause overrides the currency option. 
  7586.  
  7587. When you omit the CURRENCY SIGN clause and the NOCURRENCY option is in effect, 
  7588. you can use only the dollar sign ($) as the PICTURE symbol for the currency 
  7589. sign. 
  7590.  
  7591.  
  7592. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7593.  
  7594. DECIMAL-POINT IS COMMA exchanges the functions of the period and the comma in 
  7595. PICTURE character strings and in numeric literals. 
  7596.  
  7597.  
  7598. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7599.  
  7600. The SELECT clause chooses a file in the COBOL program to be associated with an 
  7601. external data set. 
  7602.  
  7603. When file-name-1 specifies a sort or a merge file, only the ASSIGN clause may 
  7604. follow the SELECT clause. 
  7605.  
  7606.  
  7607. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7608.  
  7609. You may specify SELECT OPTIONAL only for files opened in the input, I-O, or 
  7610. extend mode. 
  7611.  
  7612. You must specify SELECT OPTIONAL for those input files that are not necessarily 
  7613. present each time the object program is executed. For more information, see the 
  7614. COBOL/370 Programming Guide. 
  7615.  
  7616. If the file connector referenced by file-name-1 is an external file connector, 
  7617. all file control entries in the run unit that references this file connector 
  7618. must have the same specification for the OPTIONAL phrase. 
  7619.  
  7620.  
  7621. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7622.  
  7623. File-name-1 must be an FD or SD entry in the Data Division. File-name-1 must 
  7624. conform to the rules for a COBOL user-defined name, must contain at least one 
  7625. alphabetic character, and must be unique within this program. 
  7626.  
  7627. When file-name-1 specifies a sort or a merge file, only the ASSIGN clause may 
  7628. follow the SELECT clause. 
  7629.  
  7630.  
  7631. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7632.  
  7633. Label- documents the device and device class to which a file is assigned. If 
  7634. you specify label-, it must end with a hyphen. 
  7635.  
  7636.  
  7637. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7638.  
  7639. For QSAM files, you can omit the S- (organization) field. 
  7640.  
  7641.  
  7642. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7643.  
  7644. For VSAM sequential files, you must specify the AS- (organization) field. For 
  7645. VSAM indexed and relative files, you must omit the organization field. 
  7646.  
  7647.  
  7648. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7649.  
  7650.  The RESERVE clause allows you to specify the number of input/output buffers 
  7651.   to be allocated at run-time for your files. 
  7652.  
  7653.  If you are running your COBOL program under MVS and you omit the RESERVE 
  7654.   clause, the number of buffers at run time is taken from the DD statement.  If 
  7655.   you do not specify a DD statement, the system default is taken. 
  7656.  
  7657.  If the file connector referenced by file-name-1 in the SELECT clause is an 
  7658.   external file connector, all file control entries in the run unit that 
  7659.   references this file connector must have the same value for the integer 
  7660.   specified in the RESERVE clause. 
  7661.  
  7662.  
  7663. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7664.  
  7665. The ORGANIZATION clause identifies the logical structure of the file. The 
  7666. logical structure is established at the time the file is created and cannot 
  7667. subsequently be changed. 
  7668.  
  7669. If you omit the ORGANIZATION clause, the compiler assumes ORGANIZATION IS 
  7670. SEQUENTIAL. 
  7671.  
  7672. If the file connector referenced by file-name-1 in the SELECT clause is an 
  7673. external file connector, all file control entries in the run unit that 
  7674. references this file connector must have the same organization. 
  7675.  
  7676.  
  7677. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7678.  
  7679. The ORGANIZATION IS SEQUENTIAL clause establishes a predecessor-successor 
  7680. relationship among the records in the file.  It does this by the order in which 
  7681. records are placed in the file when the file is created or extended. 
  7682.  
  7683. If the file connector referenced by file-name-1 in the SELECT clause is an 
  7684. external file connector,  all file control entries in the run unit that 
  7685. references this file connector must have the same organization. 
  7686.  
  7687.  
  7688. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7689.  
  7690. When you specify the ORGANIZATION IS INDEXED clause, the position of each 
  7691. logical record in the file is determined by indexes created with the file and 
  7692. maintained by the system.  The indexes are based on embedded keys within the 
  7693. file's records. 
  7694.  
  7695.  
  7696. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7697.  
  7698. When you specify the ORGANIZATION IS RELATIVE clause, the position of each 
  7699. logical record in the file is determined by its relative record number. 
  7700.  
  7701.  
  7702. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7703.  
  7704. The PADDING CHARACTER clause specifies the character to be used for block 
  7705. padding on sequential files. 
  7706.  
  7707. The PADDING CHARACTER clause is syntax-checked, but no compile-time or run-time 
  7708. verification is done, and the clause has no effect on the execution of the 
  7709. program. 
  7710.  
  7711.  
  7712. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7713.  
  7714. You must define data-name-5 in the Data Division as an alphanumeric 
  7715. one-character data item.  Do not define data-name-5 in the File Section. 
  7716. Data-name-5 can be qualified. 
  7717.  
  7718. If you specify data-name-5 for EXTERNAL files, it must reference an external 
  7719. data item. 
  7720.  
  7721.  
  7722. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7723.  
  7724. Literal-1 must be a 1-character nonnumeric literal. 
  7725.  
  7726.  
  7727. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7728.  
  7729. Assignment-name-2 may be any COBOL word. 
  7730.  
  7731.  
  7732. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7733.  
  7734. The RECORD DELIMITER clause indicates the method of determining the length of a 
  7735. variable-length record on an external medium.  Specify RECORD DELIMITER only 
  7736. for variable-length records. 
  7737.  
  7738. The RECORD DELIMITER clause is syntax-checked, but no compile-time or run-time 
  7739. verification is done, and the clause has no effect on the execution of the 
  7740. program. 
  7741.  
  7742.  
  7743. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7744.  
  7745. If you specify STANDARD-1, the external medium must be a magnetic tape file. 
  7746.  
  7747.  
  7748. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7749.  
  7750. The ACCESS MODE clause defines the manner in which the records of the file are 
  7751. made available for processing.  If you do not specify the ACCESS MODE clause, 
  7752. sequential access is assumed. 
  7753.  
  7754.  
  7755. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7756.  
  7757.  You can specify ACCESS MODE IS SEQUENTIAL in all three formats. 
  7758.  
  7759.  For sequentially accessed VSAM relative files, the ACCESS MODE clause does 
  7760.   not have to precede the RELATIVE KEY clause. 
  7761.  
  7762.  Sequential-Access Mode allows the reading and writing of records in a serial 
  7763.   manner; the order of reference is determined implicitly by the position of a 
  7764.   record in the file. In Format 3 (VSAM Relative File Entries), file records 
  7765.   are accessed in the ascending sequence of relative record numbers of existing 
  7766.   file records. 
  7767.  
  7768.  
  7769. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7770.  
  7771.  You can specify ACCESS MODE IS SEQUENTIAL in all three formats. 
  7772.  
  7773.  Sequential-Access Mode allows the reading and writing of records in a serial 
  7774.   manner; the order of reference is determined implicitly by the position of a 
  7775.   record in the file. 
  7776.  
  7777.  In Format 1 (QSAM and VSAM Sequential File Entries), records in the file are 
  7778.   accessed in the sequence established when the file is created or extended. 
  7779.   Format 1 supports only sequential access. 
  7780.  
  7781.  
  7782. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7783.  
  7784.  You can specify ACCESS MODE IS SEQUENTIAL in all three formats. 
  7785.  
  7786.  Sequential-Access Mode allows the reading and writing of records in a serial 
  7787.   manner; the order of reference is determined implicitly by the position of a 
  7788.   record in the file. 
  7789.  
  7790.  In Format 2 (VSAM File Indexed Entries), records in the files are accessed in 
  7791.   the ascending record key values according to the collating sequence of the 
  7792.   file. 
  7793.  
  7794.  
  7795. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7796.  
  7797.  You can specify ACCESS MODE IS RANDOM in Formats 2 and 3 only. 
  7798.  
  7799.  In Format 2 (VSAM File Indexed Entries), the value placed in a record key 
  7800.   data item specifies the record to be accessed. 
  7801.  
  7802.  Random-Access Mode allows the reading and writing of records in a 
  7803.   programmer-specified manner; the control of successive references to the file 
  7804.   is expressed by specifically defined, user-supplied keys. 
  7805.  
  7806.  
  7807. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7808.  
  7809.  You can specify ACCESS MODE IS RANDOM in Formats 2 and 3 only. 
  7810.  
  7811.  Random-Access Mode allows the reading and writing of records in a 
  7812.   programmer-specified manner; the control of successive references to the file 
  7813.   is expressed by specifically defined, user-supplied keys. 
  7814.  
  7815.  In Format 3 (VSAM Relative File Entries), the value placed in a relative key 
  7816.   data item specifies the record to be accessed. 
  7817.  
  7818.  
  7819. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7820.  
  7821.  You can specify the ACCESS MODE IS DYNAMIC clause in Formats 2 and 3 only. 
  7822.  
  7823.  Dynamic-Access Mode allows a specific input-output to determine the access 
  7824.   mode. Therefore, records may be processed sequentially and/or randomly. 
  7825.  
  7826.  In Format 2 (VSAM Indexed File Entries), records in the file may be accessed 
  7827.   sequentially or randomly, depending on the form of the specific input-output 
  7828.   request. 
  7829.  
  7830.  
  7831. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7832.  
  7833.  You can specify the ACCESS MODE IS DYNAMIC clause in Formats 2 and 3 only. 
  7834.  
  7835.  Dynamic-Access Mode allows a specific input-output to determine the access 
  7836.   mode. Therefore, records may be processed sequentially and/or randomly. 
  7837.  
  7838.  In Format 3 (VSAM Relative File Entries), records in the file may be accessed 
  7839.   sequentially or randomly, depending on the form of the specific input-output 
  7840.   request. 
  7841.  
  7842.  
  7843. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7844.  
  7845. When you specify the RELATIVE clause, records in the file are accessed in the 
  7846. ascending sequence of relative record numbers of existing records in the file. 
  7847.  
  7848.  
  7849. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7850.  
  7851. The RECORD KEY clause specifies the data item within the record that is the 
  7852. prime RECORD KEY for an indexed file. The values contained in the prime RECORD 
  7853. KEY data item must be unique among records in the file. 
  7854.  
  7855.  
  7856. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7857.  
  7858. The ALTERNATE RECORD KEY clause specifies a data item within the record that 
  7859. provides an alternative path to the data in an indexed file. 
  7860.  
  7861. Note:   If you specify the PASSWORD clause for indexed files, it must 
  7862. immediately follow the RECORD KEY or ALTERNATE RECORD KEY data-name with which 
  7863. it is associated. 
  7864.  
  7865.  
  7866. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7867.  
  7868. Data-name-3 represents an ALTERNATE RECORD KEY data item.  It must be described 
  7869. as an alphanumeric item within a record description entry associated with the 
  7870. file. It must not reference a group item that contains a variable occurrence 
  7871. data item. Data-name-3 may be qualified. 
  7872.  
  7873. Data-name-3 may be a numeric, numeric-edited, alphanumeric-edited, alphabetic, 
  7874. internal or external floating-point, or DBCS data item. The key is treated as 
  7875. an alphanumeric item for the input and output statements for the file named in 
  7876. the SELECT clause. 
  7877.  
  7878.  
  7879. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7880.  
  7881. The format 3 RELATIVE KEY clause identifies a data-name that specifies the 
  7882. relative record number for a specific logical record within a relative file. 
  7883.  
  7884.  
  7885. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7886.  
  7887. Define data-name-4 as an unsigned integer data item whose description does not 
  7888. contain the PICTURE symbol P.  Do not define data-name-4 in a record 
  7889. description entry associated with this relative file. That is, the RELATIVE KEY 
  7890. is not a part of the record. Data-name-4 may be qualified. 
  7891.  
  7892.  
  7893. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7894.  
  7895. The PASSWORD clause controls access to files.  It is not valid for QSAM 
  7896. sequential files. 
  7897.  
  7898.  
  7899. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7900.  
  7901. Data-name-6 and data-name-7 are password data items. Define each in the 
  7902. Working-Storage Section of the Data Division as an alphanumeric item.  The 
  7903. first 8 characters are used as the password; a shorter field is padded with 
  7904. blanks to 8 characters.  Each password data item must be equivalent to one that 
  7905. is externally defined. 
  7906.  
  7907. For EXTERNAL files, data-name-6 and data-name-7 must reference external data 
  7908. items.  The PASSWORD clauses in each associated file control entry must 
  7909. reference the same external data items. 
  7910.  
  7911.  
  7912. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7913.  
  7914. Data-name-6 is a password data item. Define it in the Working-Storage Section 
  7915. of the Data Division as an alphanumeric item.  The first 8 characters are used 
  7916. as the password; a shorter field is padded with blanks to 8 characters.  Each 
  7917. password data item must be equivalent to one that is externally defined. 
  7918.  
  7919.  
  7920. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7921.  
  7922. The PASSWORD clause controls access to files. 
  7923.  
  7924. Note:   For indexed files, if you specify the PASSWORD clause, it must 
  7925. immediately follow the RECORD KEY or ALTERNATE RECORD KEY data-name with which 
  7926. it is associated. In the ALTERNATE RECORD KEY clause, the key word RECORD is 
  7927. optional. 
  7928.  
  7929.  
  7930. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7931.  
  7932. The FILE STATUS clause monitors the execution of each input-output operation on 
  7933. the file.  When you specify the FILE STATUS clause, the system moves  a value 
  7934. into the status key data item after each input-output request that explicitly 
  7935. or implicitly refers to this file.  The value indicates the status of execution 
  7936. of the statement. 
  7937.  
  7938.  
  7939. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7940.  
  7941.  You can define the status key data item in the Data Division as either of the 
  7942.   following: 
  7943.  
  7944.    - A 2-character alphanumeric item. 
  7945.    - A 2-character numeric data item, with explicit or implicit USAGE IS 
  7946.      DISPLAY. It is treated as an alphanumeric item. 
  7947.  
  7948.  You cannot define data-name-1 in the File Section, but data-name-1 may be 
  7949.   qualified. 
  7950.  
  7951.  The status key data item must not be variably located; that is, the data item 
  7952.   cannot follow a data item containing an OCCURS DEPENDING ON clause. 
  7953.  
  7954. Note:   Data-name-1 must not contain the picture symbol 'P'. 
  7955.  
  7956.  
  7957. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7958.  
  7959.  The RERUN clause specifies that checkpoint records are to be taken.  Subject 
  7960.   to the restrictions given with each phrase, you can specify more than one 
  7961.   RERUN clause. 
  7962.  
  7963.  Do not use the RERUN clause with files that have been defined with the 
  7964.   EXTERNAL attribute. 
  7965.  
  7966.  The file named in the RERUN clause must be a file defined in the same program 
  7967.   as I-O-CONTROL paragraph, even if the file is defined as GLOBAL. 
  7968.  
  7969.  
  7970. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7971.  
  7972. The MULTIPLE FILE TAPE clause specifies that two or more files share the same 
  7973. physical reel of tape. 
  7974.  
  7975. This clause is syntax-checked, but has no effect on the execution of the 
  7976. program. The function is performed by the system through the LABEL parameter of 
  7977. the DD statement. 
  7978.  
  7979.  
  7980. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7981.  
  7982. File-name-1 must be a sequentially organized file. 
  7983.  
  7984.  
  7985. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7986.  
  7987. Assignment-name-1 represents the external data set for the checkpoint file. It 
  7988. must not be the same assignment-name as that specified in any ASSIGN clause 
  7989. throughout the entire program, including contained and containing programs. 
  7990.  
  7991.  
  7992. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7993.  
  7994.  A checkpoint record is to be written for every integer-1 record in 
  7995.   file-name-1 that is processed. 
  7996.  
  7997.  When you specify multiple integer-1 RECORDS phrases, no two of them may 
  7998.   specify the same file-name-1. 
  7999.  
  8000.  When you specify the integer-1 RECORDS, you must give assignment-name-1 in 
  8001.   the RERUN clause. 
  8002.  
  8003.  
  8004. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8005.  
  8006.  EVERY END OF REEL/UNIT is a checkpoint record to be written whenever end-of 
  8007.   volume for file-name-1 occurs.  The terms REEL and UNIT are interchangeable. 
  8008.  
  8009.  When you specify multiple END OF REEL/UNIT phrases, no two of them may 
  8010.   specify the same file-name-1. 
  8011.  
  8012.  Use the END OF REEL/UNIT phrase only if file-name-1 is a sequentially 
  8013.   organized file. 
  8014.  
  8015.  
  8016. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8017.  
  8018. The SAME AREA clause specifies that two or more files, that do not represent 
  8019. sort or merge files, are to use the same main storage area during processing. 
  8020.  
  8021. The files named in a SAME AREA clause need not have the same organization or 
  8022. access. 
  8023.  
  8024.  
  8025. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8026.  
  8027. You must specify file-name-3 and file-name-4 in the FILE-CONTROL paragraph of 
  8028. the same program.  File-name-3 and file-name-4 must not reference an external 
  8029. file connector. 
  8030.  
  8031.  
  8032. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8033.  
  8034. You must specify file-name-3 and file-name-4 in the FILE-CONTROL paragraph of 
  8035. the same program. File-name-3 and file-name-4 may not reference an external 
  8036. file connector. 
  8037.  
  8038.  
  8039. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8040.  
  8041. The SAME SORT AREA clause is syntax-checked, but has no effect on the execution 
  8042. of the program. 
  8043.  
  8044. When you specify the SAME SORT AREA clause, at least one file-name specified 
  8045. must name a sort file.  You can also specify files that are not sort files. 
  8046.  
  8047.  
  8048. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8049.  
  8050. The SAME SORT-MERGE AREA clause is equivalent to the SAME SORT AREA clause. The 
  8051. SAME SORT-MERGE AREA clause is syntax-checked, but has no effect on the 
  8052. execution of the program. 
  8053.  
  8054. When you specify the SAME SORT-MERGE AREA, at least one file-name specified 
  8055. must name a sort file. 
  8056.  
  8057.  
  8058. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8059.  
  8060. Format 1 MULTIPLE TAPE clause specifies that two or more files share the same 
  8061. physical reel of tape. 
  8062.  
  8063. This clause is syntax-checked, but has no effect on the execution of the 
  8064. program. The function is performed by the system through the LABEL parameter of 
  8065. the DD statement. 
  8066.  
  8067.  
  8068. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8069.  
  8070. The APPLY WRITE-ONLY is effective only for QSAM files.  It optimizes buffer and 
  8071. device space allocation for files that have standard sequential organization, 
  8072. have variable length records, and are blocked. 
  8073.  
  8074. If you specify this phrase, the buffer is truncated only when the space 
  8075. available on the buffer is smaller that the size of the next record. 
  8076. Otherwise, the buffer is truncated when the space remaining in the buffer is 
  8077. smaller than the maximum record size for the file. 
  8078.  
  8079.  
  8080. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8081.  
  8082. When you specify file-name-2, each file must have standard sequential 
  8083. organization and must be opened for output. 
  8084.  
  8085.  
  8086. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8087.  
  8088. File-name-1 must be a sequentially organized file. 
  8089.  
  8090.  
  8091. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8092.  
  8093. A file description entry represents the highest level of organization in the 
  8094. File Section.  It provides information about the physical structure and 
  8095. identification of a file, and gives the record names associated with that file. 
  8096.  
  8097.  
  8098. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8099.  
  8100.  A record description entry is a data description entry (here used to refer to 
  8101.   both data and record description entries) that specifies the characteristics 
  8102.   of a data item. 
  8103.  
  8104.  In the File Section, a record description entry is a set of data description 
  8105.   entries that describe the particular records contained within a file. 
  8106.  
  8107.  You can specify more than one record description entry; each is an 
  8108.   alternative description of the same record storage area. 
  8109.  
  8110.  Data areas described in the File Section are not available for processing 
  8111.   unless the file containing the data area is open. 
  8112.  
  8113.  
  8114. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8115.  
  8116.  A record description entry is a data description entry (here used to refer to 
  8117.   both data and record description entries) that specifies the characteristics 
  8118.   of a data item. 
  8119.  
  8120.  Data entries in the Working-Storage Section that bear a definite hierarchic 
  8121.   relationship to one another must be grouped into records structured by level 
  8122.   number. 
  8123.  
  8124.  
  8125. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8126.  
  8127.  A data item description entry is a data description entry (here used to refer 
  8128.   to both data and record description entries) that specifies the 
  8129.   characteristics of a data item. 
  8130.  
  8131.  Data item description entries are independent items in the Working-Storage 
  8132.   Section that bear no hierarchic relationship to one another and need not be 
  8133.   grouped into records, provided that they do not need to be further 
  8134.   subdivided. Instead, they are classified and defined as independent 
  8135.   elementary items. Each is defined in a separate data item description entry 
  8136.   that begins with either the level number 77 or 01. 
  8137.  
  8138.  
  8139. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8140.  
  8141.  A record description entry is a data description entry (here used to refer to 
  8142.   both data and record description entries) that specifies the characteristics 
  8143.   of a data item. 
  8144.  
  8145.  Record description entries and data item description entries in the Linkage 
  8146.   Section provide names and descriptions, but storage within the program is not 
  8147.   reserved because the data area exists elsewhere. 
  8148.  
  8149.   You can use any data description clause to describe items in the Linkage 
  8150.   Section with the following exceptions: 
  8151.  
  8152.    - The VALUE clause may not be specified for items other than level-88 items. 
  8153.    - The EXTERNAL clause may not be specified. 
  8154.    - The GLOBAL clause may be specified as an IBM extension. 
  8155.  
  8156.  
  8157. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8158.  
  8159.  A data-item-description entry is a data description entry (here used to refer 
  8160.   to both data and record description entries) that specifies the 
  8161.   characteristics of a data item. 
  8162.  
  8163.  Record description entries and data item description entries in the Linkage 
  8164.   Section provide names and descriptions, but storage within the program is not 
  8165.   reserved because the data area exists elsewhere. 
  8166.  
  8167.   You can use any data description clause to describe items in the Linkage 
  8168.   Section with the following exceptions: 
  8169.  
  8170.    - The VALUE clause may not be specified for items other than level-88 items. 
  8171.    - The EXTERNAL clause may not be specified. 
  8172.    - The GLOBAL clause may be specified as an IBM extension. 
  8173.  
  8174.  
  8175. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8176.  
  8177. Data-name-1 identifies an alternative grouping of data items. 
  8178.  
  8179. You cannot use data-name-1 as a qualifier; it can be qualified only by the 
  8180. names of level indicator entries or level-01 entries. 
  8181.  
  8182. Data-name-1 may specify a DBCS item if data-name-2 specifies a DBCS item and 
  8183. the THROUGH phrase is not specified. 
  8184.  
  8185.  
  8186. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8187.  
  8188. Data-name explicitly identifies the data being described. If you specify a 
  8189. data-name, it identifies a data item used in the program.  The data-name must 
  8190. be the first word following the level-number. 
  8191.  
  8192.  
  8193. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8194.  
  8195. FILLER is a data item that is not explicitly referred to in a program.  If you 
  8196. specify FILLER (an optional key word), it must be the first word following the 
  8197. level-number. 
  8198.  
  8199. If you omit the data-name or the key word FILLER, the data item being described 
  8200. is treated as though FILLER had been specified. 
  8201.  
  8202.  
  8203. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8204.  
  8205. Integer-2 represents the exact number of occurrences. Integer-2 must be greater 
  8206. than zero. 
  8207.  
  8208.  
  8209. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8210.  
  8211. Data-name-2 must be the name of the subject entry, or the name of an entry 
  8212. subordinate to the subject entry.  It may be qualified. 
  8213.  
  8214. If data-name-2 names the subject entry, that entire entry becomes 
  8215. ASCENDING/DESCENDING KEY, and is the only key that may be specified for this 
  8216. table element. 
  8217.  
  8218. If data-name-2 does not name the subject entry, then data-name-2: 
  8219.  
  8220.  Must be subordinate to the subject of the table entry itself 
  8221.  
  8222.  Must not be subordinate to, or follow, any other entry that contains an 
  8223.   OCCURS clause 
  8224.  
  8225.  Must not contain an OCCURS clause. 
  8226.  
  8227.  
  8228. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8229.  
  8230. The INDEXED BY phrase specifies the indexes that can be used with this table. 
  8231. The INDEXED BY phrase is required if you use indexing to refer to this table 
  8232. element. 
  8233.  
  8234.  
  8235. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8236.  
  8237. Integer-1 represents the minimum number of occurrences. Integer-1 must be 
  8238. greater than or equal to zero and less than integer-2. 
  8239.  
  8240.  
  8241. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8242.  
  8243. Integer-2 represents the maximum number of occurrences. Integer-2 must be 
  8244. greater than integer-1. 
  8245.  
  8246.  
  8247. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8248.  
  8249. The OCCURS DEPENDING ON clause specifies variable-length tables. 
  8250.  
  8251. The object of the OCCURS DEPENDING ON clause must not occupy any storage 
  8252. position within the range of the table. The object cannot be variably located, 
  8253. nor can it follow an item that contains an OCCURS DEPENDING ON clause. 
  8254.  
  8255.  
  8256. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8257.  
  8258. Data-name-1 specifies the object of the OCCURS DEPENDING ON clause, that is, 
  8259. the data item whose current value represents the current number of occurrences 
  8260. of the subject item. Data-name-1 must describe an integer item. 
  8261.  
  8262.  
  8263. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8264.  
  8265. Data-name-1, FILLER identifies an alternate description for the same area and 
  8266. is the redefining item or the REDEFINES subject. 
  8267.  
  8268.  
  8269. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8270.  
  8271. Data-name-2 is the redefined item or the REDEFINES object. 
  8272.  
  8273.  
  8274. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8275.  
  8276. FILLER identifies an alternate description for the same area and is the 
  8277. redefining item or the REDEFINES subject. 
  8278.  
  8279. Specifying FILLER does not affect the execution of the program; the program 
  8280. executes as though nothing were specified. 
  8281.  
  8282. When you specify the REDEFINES clause, it must immediately follow data-name or 
  8283. FILLER, if either is specified.  If you do not specify data-name or FILLER, the 
  8284. REDEFINES clause must immediately follow the level-number. 
  8285.  
  8286.  
  8287. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8288.  
  8289. Data-name-1 identifies an alternative grouping of data items. 
  8290.  
  8291. A level-66 entry cannot rename a level-01, level-77, level-88, or another 
  8292. level-66 entry. 
  8293.  
  8294.  
  8295. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8296.  
  8297. Data-name-2 and data-name-3 identify the original grouping of elementary data 
  8298. items; that is, they must name elementary or group items within the associated 
  8299. level-01 entry and must not be the same data-name. Both data-names may be 
  8300. qualified. 
  8301.  
  8302. The OCCURS clause must not be specified in the data entries for data-name-2 and 
  8303. data-name-3, or for any group entry to which they are subordinate. 
  8304.  
  8305.  
  8306. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8307.  
  8308. The LEFT phrase specifies that the elementary item is to be positioned so that 
  8309. it will begin at the left character position of the natural boundary in which 
  8310. the elementary item is placed. 
  8311.  
  8312. When specified, the LEFT phrase is syntax checked, but has no effect on the 
  8313. execution of the program. 
  8314.  
  8315.  
  8316. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8317.  
  8318. The RIGHT phrase specifies that the elementary item is to be positioned so that 
  8319. it will terminate at the right character position of the natural boundary in 
  8320. which it has been placed. 
  8321.  
  8322. When specified, the RIGHT phrase is syntax-checked, but has no effect on the 
  8323. execution of the program. 
  8324.  
  8325.  
  8326. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8327.  
  8328. Specify BINARY for binary data items. Such items have a decimal equivalent 
  8329. consisting of the decimal digits 0 through 9, plus a sign. Negative numbers are 
  8330. represented as the two's complement of the positive number with the same 
  8331. absolute value. 
  8332.  
  8333.  
  8334. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8335.  
  8336. Specify the PACKED-DECIMAL clause for internal decimal items. Such items appear 
  8337. in storage in packed decimal format. There are 2 digits for each character 
  8338. position, except for the trailing character position, which is occupied by the 
  8339. low-order digit and the sign. Such an item may contain any of the digits 0 
  8340. through 9, plus a sign, representing a value not exceeding 18 decimal digits. 
  8341.  
  8342.  
  8343. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8344.  
  8345. Representation of the COMPUTATIONAL phrase is system-dependent and is normally 
  8346. assigned to representations that yield the greatest efficiency when arithmetic 
  8347. operations are performed on that system. For the COBOL/370 compiler, the 
  8348. COMPUTATIONAL phrase is synonymous to BINARY. 
  8349.  
  8350.  
  8351. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8352.  
  8353. Specify COMPUTATIONAL-1 or COMP-1 for internal floating-point items (single 
  8354. precision). COMP-1 items are 4 bytes long. The sign is contained in the first 
  8355. bit of the leftmost byte the exponent is contained in the remaining 7 bits. The 
  8356. last 3 bytes contain the mantissa. 
  8357.  
  8358.  
  8359. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8360.  
  8361. Specify COMPUTATIONAL-2 or COMP-2 for internal floating-point items (double 
  8362. precision). COMP-2 items are 8 bytes long. The sign is contained in the first 
  8363. bit of the leftmost byte and the remaining 7 bits contain the exponent. The 
  8364. remaining 7 bytes contain the mantissa. 
  8365.  
  8366.  
  8367. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8368.  
  8369. COMPUTATIONAL-3 or COMP-3 (internal decimal) is the equivalent of 
  8370. PACKED-DECIMAL. 
  8371.  
  8372.  
  8373. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8374.  
  8375. COMPUTATIONAL-4 or COMP-4 (binary) is the equivalent of BINARY. 
  8376.  
  8377.  
  8378. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8379.  
  8380. DISPLAY specifies that the data item is stored in character form, 1 character 
  8381. for each 8-bit byte. 
  8382.  
  8383.  
  8384. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8385.  
  8386. A data item defined with the INDEX phrase is an index data item. 
  8387.  
  8388.  
  8389. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8390.  
  8391. DISPLAY-1 defines an item as DBCS. 
  8392.  
  8393.  
  8394. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8395.  
  8396. A data item defined with the POINTER phrase is a pointer data item. 
  8397.  
  8398. A pointer data item is a 4-byte elementary item that may be used to accomplish 
  8399. limited base addressing. Pointer data items may be compared for equality or 
  8400. moved to other pointer data items. 
  8401.  
  8402. You may only use a pointer data item: 
  8403.  
  8404.  In the Procedure Division header 
  8405.  In the USING phrase of a CALL statement 
  8406.  In an ENTRY statement 
  8407.  In Format 5 of a SET statement 
  8408.  In a relation condition. 
  8409.  
  8410. The POINTER phrase may be specified for data items with any level number except 
  8411. level 88. 
  8412.  
  8413.  
  8414. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8415.  
  8416. A procedure-pointer is a pointer to an entry point. A data item defined with 
  8417. the USAGE IS PROCEDURE-POINTER clause contains the address of a procedure entry 
  8418. point and is a 4-byte elementary item. 
  8419.  
  8420.  
  8421. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8422.  
  8423. A condition-name is a user-specified name that associates a single value, 
  8424. multiple values, and/or range(s) of values with a conditional variable. 
  8425.  
  8426. A conditional variable is a data item that can assume one or more values that 
  8427. can in turn be associated with a condition-name. 
  8428.  
  8429.  
  8430. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8431.  
  8432. When you specify literal-1 alone, the condition-name is associated with a 
  8433. single value. 
  8434.  
  8435.  
  8436. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8437.  
  8438. When you specify THROUGH literal-2, the condition-name is associated with at 
  8439. least one range of values, and literal-1 must be less than literal-2. 
  8440.  
  8441.  
  8442. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8443.  
  8444. You can use the STANDARD clause for both mass storage devices and tape devices. 
  8445.  
  8446. For a STANDARD file, labels conforming to system specifications exist. 
  8447.  
  8448.  
  8449. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8450.  
  8451. You can use the OMITTED clause for tape devices. For an OMITTED file, no labels 
  8452. exist. 
  8453.  
  8454.  
  8455. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8456.  
  8457.  The CODE-SET clause specifies the character code used to represent data on a 
  8458.   magnetic tape file.  When you specify the CODE-SET clause,  an alphabet-name 
  8459.   identifies the character code convention used to represent data on the 
  8460.   input-output device. 
  8461.  
  8462.  When you specify the CODE-SET clause for a file, all data in this file must 
  8463.   have USAGE DISPLAY, and, if signed numeric data is present, it must be 
  8464.   described with the SIGN IS SEPARATE clause. 
  8465.  
  8466.  The CODE-SET clause is valid only for magnetic tape files. 
  8467.  
  8468.  
  8469. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8470.  
  8471. The EXTERNAL clause specifies that a file connector is external. The EXTERNAL 
  8472. clause also permits communication between two programs by sharing files. 
  8473.  
  8474. A file connector is external if the storage associated with that file is 
  8475. associated with the run unit rather than with any particular program within the 
  8476. run unit. Any program in the run unit that describes the file may reference an 
  8477. external file. References to an external file from different programs using 
  8478. separate descriptions of the file are always to the same file. In a run unit, 
  8479. there is only one representative external file. 
  8480.  
  8481.  
  8482. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8483.  
  8484. The GLOBAL clause specifies that the file connector named by a file-name is a 
  8485. global name.  A global file-name is available to the program that declares it 
  8486. and to every program that is contained directly or indirectly in that program. 
  8487.  
  8488.  
  8489. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8490.  
  8491. The BLOCK CONTAINS clause specifies the size of the physical records. For 
  8492. EXTERNAL files, the value of all BLOCK CONTAINS clauses of corresponding 
  8493. EXTERNAL files must match within the run unit. This conformance is in terms of 
  8494. character positions and does not depend upon whether the value was specified as 
  8495. CHARACTERS or as RECORDS. 
  8496.  
  8497.  
  8498. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8499.  
  8500. Integer-1, integer-2 must be nonzero unsigned integers.  They specify the 
  8501. number CHARACTERS or RECORDS.  (CHARACTERS specifies the number of character 
  8502. positions required to store the physical record, no matter what USAGE the 
  8503. characters have within the data record.) 
  8504.  
  8505. If you specify integer-2 only, integer-2 specifies the exact character size of 
  8506. the physical record.  When you specify both integer-1 and integer-2, they 
  8507. represent, respectively, the minimum and maximum character sizes of the 
  8508. physical record. 
  8509.  
  8510.  
  8511. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8512.  
  8513. The RECORDS clause specifies the number of logical records contained in each 
  8514. physical record. 
  8515.  
  8516.  
  8517. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8518.  
  8519. Format 1 of the RECORD CONTAINS clause specifies the number of character 
  8520. positions for fixed-length records. Integer-3 must be an unsigned integer that 
  8521. specifies the number of character positions contained in each record in the 
  8522. file. 
  8523.  
  8524.  
  8525. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8526.  
  8527. Format 2 of the RECORD CONTAINS clause specifies the number of character 
  8528. positions for either fixed- or variable-length records. Integer-4, integer-5 
  8529. must be unsigned integers. Integer-4 specifies the size of the smallest data 
  8530. record, and integer-5 specifies the size of the largest data record. 
  8531.  
  8532.  
  8533. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8534.  
  8535. Format 3 of the RECORD CONTAINS clause specifies variable-length records. 
  8536. Integer-6 specifies the minimum number of character positions to be contained 
  8537. in any record of the file. If you do not specify integer-6, the minimum number 
  8538. of character positions to be contained in any record of the file is equal to 
  8539. the least number of character positions described for a record in that file. 
  8540.  
  8541.  
  8542. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8543.  
  8544. Format 3 of the RECORD CONTAINS clause specifies variable-length records. 
  8545. Integer-7 specifies the maximum number of character positions to be contained 
  8546. in any record of the file. If you do not specify integer-7, the maximum number 
  8547. of character positions to be contained in any record of the file is equal to 
  8548. the greatest number of character positions described for a record in that file. 
  8549.  
  8550.  
  8551. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8552.  
  8553. If you specify data-name-1, it must be an elementary unsigned integer. 
  8554.  
  8555.  
  8556. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8557.  
  8558. The LABEL RECORDS clause indicates the presence or absence of labels. 
  8559.  
  8560.  
  8561. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8562.  
  8563. Data-name-2 specifies the name of a user label record, which is present in 
  8564. addition to standard labels.  Data-name-2 must appear as the subject of a 
  8565. record description entry associated with the file, and it must not appear as an 
  8566. operand of the DATA RECORDS clause for the file. 
  8567.  
  8568.  
  8569. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8570.  
  8571. The VALUE OF clause describes an item in the label records associated with this 
  8572. file. 
  8573.  
  8574.  
  8575. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8576.  
  8577. Data-name-3 should be qualified when necessary but cannot be subscripted.  You 
  8578. must describe it in the Working-Storage Section but not with the USAGE IS INDEX 
  8579. clause. 
  8580.  
  8581.  
  8582. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8583.  
  8584. Literal-1 may be numeric or nonnumeric, or a figurative constant of category 
  8585. numeric or nonnumeric. 
  8586.  
  8587.  
  8588. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8589.  
  8590. The DATA RECORDS clause is syntax-checked, but it is only documentation for the 
  8591. names of data records associated with this file. 
  8592.  
  8593.  
  8594. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8595.  
  8596. Data-name-4 represents the names of record description entries associated with 
  8597. this file. 
  8598.  
  8599.  
  8600. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8601.  
  8602. All integers must be unsigned, and all data-names must be described as unsigned 
  8603. integer data items. 
  8604.  
  8605. Data-name-5, integer-8 represent the number of lines that can be written and/or 
  8606. spaced on this logical page. The area of the page that these lines represent is 
  8607. called the page body. The value must be greater than zero. 
  8608.  
  8609.  
  8610. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8611.  
  8612. Integer-9 or the value of the data item in data-name-6 specifies the first line 
  8613. number of the footing area within the page body.  The footing line number must 
  8614. be greater than zero, but not greater than the last line of the page body.  The 
  8615. footing area extends between those two lines. 
  8616.  
  8617. All integers must be unsigned integer data items. 
  8618.  
  8619.  
  8620. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8621.  
  8622. Integer-10 or the value of the data item in data-name-7 specifies the number of 
  8623. lines in the top margin of the logical page.  The value can be zero. 
  8624.  
  8625. All integers must be unsigned integer data items. 
  8626.  
  8627.  
  8628. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8629.  
  8630. Integer-11 or the value of the data item in data-name-8 specifies the number of 
  8631. lines in the bottom margin of the logical page.  The value can be zero. 
  8632.  
  8633. All integers must be unsigned integer data items. 
  8634.  
  8635.  
  8636. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8637.  
  8638. The LINAGE clause specifies the depth of a logical page in terms of number of 
  8639. lines.  It also may specify both the line number at which the footing area 
  8640. begins and the top and bottom margins of the logical page. (The logical page 
  8641. and the physical page may not be the same size). 
  8642.  
  8643.  
  8644. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8645.  
  8646. Integer-3 must be an unsigned integer that specifies the number of character 
  8647. positions contained in each record in the file. 
  8648.  
  8649.  
  8650. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8651.  
  8652. Integer-4, integer-5 must be unsigned integers. Integer-4 specifies the size of 
  8653. the smallest data record, and integer-5 specifies the size of the largest data 
  8654. record. 
  8655.  
  8656.  
  8657. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8658.  
  8659. Integer-6 specifies the minimum number of character positions to be contained 
  8660. in any record of the file.  If you do not specify integer-6, the minimum number 
  8661. of character positions to be contained in any record of the file is equal to 
  8662. the least number of character positions in any record of the file. 
  8663.  
  8664.  
  8665. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8666.  
  8667. Integer-7 specifies the maximum number of character positions to be contained 
  8668. in any record of the file.  If you do not specify integer-7, the maximum number 
  8669. of character positions to be contained in any record of the file is equal to 
  8670. the greatest number of character positions described for a record in that file. 
  8671.  
  8672.  
  8673. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8674.  
  8675. You cannot use data-name-1 as a qualifier. 
  8676.  
  8677.  
  8678. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8679.  
  8680. The CODE-SET clause specifies the character code used to represent data on a 
  8681. magnetic tape file. When you specify CODE-SET, an alphabet-name identifies the 
  8682. character code convention used to represent data on the input-output device. 
  8683.  
  8684. The CODE-SET clause is valid only for magnetic tape files. 
  8685.  
  8686.  
  8687. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8688.  
  8689. File-name-1 must follow the level indicator (FD or SD), and must be the same as 
  8690. that specified in the associated SELECT clause. File-name-1 must adhere to the 
  8691. rules of formation for a user-defined word; at least one character must be 
  8692. alphabetic. File-name-1 must be unique within this program. 
  8693.  
  8694. One or more record description entries must follow file-name-1. When you 
  8695. specify more than one record description entry, each entry implies a 
  8696. redefinition of the same storage area. 
  8697.  
  8698. The clauses that follow file-name-1 are optional; they may appear in any order. 
  8699.  
  8700.  
  8701. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8702.  
  8703.  End each Declarative Section with another section-name followed by a USE 
  8704.   sentence, or with the key words END DECLARATIVES. 
  8705.  
  8706.  END DECLARATIVES must be followed by a separator period. 
  8707.  
  8708.  
  8709. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8710.  
  8711.  Data-name-1 is a user-defined word that names a data item described in a data 
  8712.   description entry. When you use it in the general formats, data-name-1 
  8713.   represents a word that must not be reference-modified, subscripted, or 
  8714.   qualified unless specifically permitted by the rules for the format. 
  8715.  
  8716.  Data items defined in the Linkage Section of the called program may be 
  8717.   referenced within the Procedure Division of that program if, and only if, 
  8718.   they satisfy any of the following conditions: 
  8719.  
  8720.    - They are operands of the USING phrase of the Procedure Division header or 
  8721.      the ENTRY statement. 
  8722.  
  8723.    - They are operands of ADDRESS OF or CALL ... BY REFERENCE ADDRESS OF. 
  8724.  
  8725.    - They are defined with a REDEFINES or RENAMES clause, the object of which 
  8726.      satisfies the above conditions. 
  8727.  
  8728.    - They are items subordinate to any item that satisfies the condition in the 
  8729.      rules above. 
  8730.  
  8731.    - They are condition-names or index-names associated with data items that 
  8732.      satisfies the above conditions. 
  8733.  
  8734.  
  8735. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8736.  
  8737. A user-defined word that identifies a section.  A referenced section-name, 
  8738. because it cannot be qualified, must be unique within the program in which it 
  8739. is defined. 
  8740.  
  8741.  
  8742. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8743.  
  8744.  A section-header optionally followed by one or more paragraphs. 
  8745.  
  8746.  Section-header: A section-name followed by the key word SECTION, optionally 
  8747.   followed by a priority-number, followed by a separator period. If there are 
  8748.   no declaratives, a section-header is not required in the Procedure Division. 
  8749.  
  8750.  
  8751. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8752.  
  8753.  Priority-number is an integer or a positive signed numeric literal ranging in 
  8754.   value from 0 through 99. 
  8755.  
  8756.  Sections in the declaratives portions must contain priority numbers in the 
  8757.   range of 0 through 50. 
  8758.  
  8759.  
  8760. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8761.  
  8762.  A user-defined word that identifies a paragraph.  A paragraph-name, because 
  8763.   it can be qualified, need not be unique. 
  8764.  
  8765.  If there are no declaratives, a paragraph-name is not required in the 
  8766.   Procedure Division. 
  8767.  
  8768.  
  8769. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8770.  
  8771. Data-name is a user-defined word that names a data item described in a data 
  8772. description entry.  When you use it in the general formats, data-name 
  8773. represents a word that must not be reference-modified, subscripted or qualified 
  8774. unless specifically permitted by the rules for the format. 
  8775.  
  8776.  
  8777. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8778.  
  8779.  Para-name is a user-defined word that identifies a paragraph.  A 
  8780.   paragraph-name, because it can be qualified, need not be unique. 
  8781.  
  8782.  If there are no declaratives (Format 2), a paragraph-name is not required in 
  8783.   the Procedure Division. 
  8784.  
  8785.  
  8786. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8787.  
  8788. Identifier-1 may be any group item, or elementary alphabetic, alphanumeric, 
  8789. alphanumeric-edited, numeric-edited or external decimal item. 
  8790.  
  8791. It may also be a USAGE-DISPLAY(DBCS) item or an external floating-point item. 
  8792.  
  8793.  
  8794. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8795.  
  8796. Mnemonic-name must be associated in the SPECIAL-NAMES paragraph with an 
  8797. input/output device: either a system input device or a console typewriter. 
  8798.  
  8799.  
  8800. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8801.  
  8802. A valid environment-name may be specified. 
  8803.  
  8804.  
  8805. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8806.  
  8807. Identifier may be a group item, or an elementary alphanumeric, 
  8808. alphanumeric-edited, numeric-edited, external decimal, internal decimal, 
  8809. binary, internal floating-point or external floating-point item. 
  8810.  
  8811.  
  8812. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8813.  
  8814. DATE has the implicit PICTURE 9(6). 
  8815.  
  8816. The sequence of data elements (from left to right) is: 
  8817.  
  8818. 2 digits for year of century 
  8819. 2 digits for month of year 
  8820. 2 digits for day of month 
  8821.  
  8822. Thus 25 December 1991 is expressed as: 
  8823.  
  8824. 911225 
  8825.  
  8826. The conceptual data items DATE, DAY, DAY-OF-WEEK and TIME implicitly have USAGE 
  8827. DISPLAY. Since they are conceptual items, they cannot be described in the COBOL 
  8828. program. 
  8829.  
  8830.  
  8831. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8832.  
  8833. DAY has the implicit PICTURE 9(5). 
  8834.  
  8835. The sequence of data elements (from left to right) is: 
  8836.  
  8837. 2 digits for year of century 
  8838. 3 digits for day of year 
  8839.  
  8840. Thus 25 December 1991 is expressed as: 
  8841.  
  8842. 91359 
  8843.  
  8844. The conceptual data items DATE, DAY, DAY-OF-WEEK and TIME implicitly have USAGE 
  8845. DISPLAY.  Since they are conceptual items, they cannot be described in the 
  8846. COBOL program. 
  8847.  
  8848.  
  8849. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8850.  
  8851. DAY-OF-WEEK has the implicit PICTURE 9(1). 
  8852.  
  8853. The single data element represents the day of the week according to the 
  8854. following values: 
  8855.  
  8856. 1 represents Monday 
  8857. 2 represents Tuesday 
  8858. 3 represents Wednesday 
  8859. 4 represents Thursday 
  8860. 5 represents Friday 
  8861. 6 represents Saturday 
  8862. 7 represents Sunday 
  8863.  
  8864. Thus Wednesday is expressed as: 
  8865.  
  8866.  
  8867. The conceptual data items DATE, DAY, DAY-OF-WEEK and TIME implicitly have USAGE 
  8868. DISPLAY.  Since they are conceptual items, they cannot be described in the 
  8869. COBOL program. 
  8870.  
  8871.  
  8872. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8873.  
  8874. TIME has the implicit PICTURE 9(8). 
  8875.  
  8876. The sequence of data elements (from left to right) is: 
  8877.  
  8878. 2 digits for hour of day 
  8879. 2 digits for minute of hour 
  8880. 2 digits for second of minute 
  8881. 2 digits for hundredths of second 
  8882.  
  8883. Thus 2:41 P.M. is expressed as: 
  8884.  
  8885. 14410000 
  8886.  
  8887. The conceptual data items DATE, DAY, DAY-OF-WEEK and TIME implicitly have USAGE 
  8888. DISPLAY.  Since they are conceptual items, they cannot be described in the 
  8889. COBOL program. 
  8890.  
  8891.  
  8892. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8893.  
  8894. In Format 1, identifiers must name elementary numeric items. 
  8895.  
  8896.  
  8897. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8898.  
  8899. Literal-1 must be a numeric literal. However, you can use floating-point 
  8900. data-items and literals anywhere a numeric data item or literal can be 
  8901. specified. 
  8902.  
  8903.  
  8904. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8905.  
  8906. Literal must be numeric. However, floating-point literals may be used anywhere 
  8907. a numeric data item or literal can be specified. 
  8908.  
  8909.  
  8910. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8911.  
  8912. If you specify the GIVING phrase, all subsequent identifiers must name an 
  8913. elementary numeric or numeric-edited item. Any data items following the word 
  8914. GIVING are not included in the composite of operands. 
  8915.  
  8916.  
  8917. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8918.  
  8919. The CORRESPONDING phrase (CORR) allows ADD, SUBTRACT, and MOVE operations to be 
  8920. performed on elementary data items of the same name if the group items to which 
  8921. they belong are specified. Both identifiers following the key word 
  8922. CORRESPONDING must name group items. 
  8923.  
  8924.  
  8925. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8926.  
  8927. In Format 2, identifiers must name an elementary numeric item, except when 
  8928. following the word GIVING.  Each identifier following the word GIVING  must 
  8929. name an elementary numeric or numeric-edited item. 
  8930.  
  8931.  
  8932. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8933.  
  8934. In Format 3, identifiers must name a group item. 
  8935.  
  8936.  
  8937. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8938.  
  8939. Procedure-name-1 must name a Procedure Division paragraph that contains only 
  8940. one sentence: a GO TO statement without the DEPENDING ON phrase. 
  8941.  
  8942. The ALTER statement modifies the GO TO statement in the paragraph named by 
  8943. procedure-name-1.  Subsequent executions of the modified GO TO statements 
  8944. transfer control to procedure-name-2. 
  8945.  
  8946.  
  8947. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8948.  
  8949. Procedure-name-2 must name a Procedure Division section or paragraph. 
  8950.  
  8951. The ALTER statement modifies the GO TO statement in the paragraph named by 
  8952. procedure-name-1.  Subsequent executions of the modified GO TO statements 
  8953. transfer control to procedure-name-2. 
  8954.  
  8955.  
  8956. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8957.  
  8958. Identifier-1 and literal-1 must be nonnumeric. 
  8959.  
  8960. The value of identifier-1 must follow the rules for the literal form of a 
  8961. program-name in the outermost program. As an IBM extension, identifier-1 may be 
  8962. an alphabetic or zoned decimal data item. 
  8963.  
  8964. Literal-1 must also follow the rules for the formation of a program-name in the 
  8965. outermost program. 
  8966.  
  8967.  
  8968. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8969.  
  8970. The values of the parameters referenced in the USING phrase of the CALL 
  8971. statement are made available to the called subprogram at the time the CALL 
  8972. statement is executed. 
  8973.  
  8974. Each USING identifier in a calling program may be a data item of any level in 
  8975. the Data Division and may appear more than once in a CALL statement. 
  8976.  
  8977. Include the USING phrase in the CALL statement only if there is a USING phrase 
  8978. in the Procedure Division header or the ENTRY statement through which the 
  8979. called program is invoked. The number of operands in the USING phrases need not 
  8980. be identical. 
  8981.  
  8982.  
  8983. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8984.  
  8985. You must define identifier-2 as a level-01, level-77, or elementary data item 
  8986. in the File Section, Working-Storage Section or Linkage Section. 
  8987.  
  8988.  
  8989. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8990.  
  8991. If the BY REFERENCE phrase is either specified or implied for a parameter, the 
  8992. corresponding data item in the calling program occupies the same storage area 
  8993. as the data item in the called program.  The description of the data item in 
  8994. the called program must contain the same number of character positions as the 
  8995. description of the corresponding data item in the calling program. 
  8996.  
  8997.  
  8998. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  8999.  
  9000. If the BY CONTENT phrase is specified or implied for a parameter, the called 
  9001. program cannot change the value of this parameter as referenced in the CALL 
  9002. statement's USING phrase.  The called program may change the value of the data 
  9003. item referenced by the corresponding data-name in the Procedure Division 
  9004. header. 
  9005.  
  9006.  
  9007. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9008.  
  9009. ADDRESS OF is the special register.  It is implicitly defined as USAGE IS 
  9010. POINTER. 
  9011.  
  9012.  
  9013. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9014.  
  9015. In the Procedure Division, you can use the LENGTH OF special register anywhere 
  9016. a numeric data item having the same definition as the implied definition of the 
  9017. LENGTH OF special register is used. It is implicitly defined USAGE IS BINARY, 
  9018. PICTURE 9(9). 
  9019.  
  9020. If you use LENGTH OF as a parameter in the CALL statement, the parameter must 
  9021. be a BY CONTENT parameter. 
  9022.  
  9023.  
  9024. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9025.  
  9026. Specify literal-2 as any of the following: 
  9027.  
  9028.  A nonnumeric literal 
  9029.  A figurative constant 
  9030.  A DBCS literal. 
  9031.  
  9032.  
  9033. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9034.  
  9035. If you specify the ON OVERFLOW phrase in the CALL statement, control is 
  9036. transferred to imperative-statement-1 when the called program cannot be made 
  9037. available. 
  9038.  
  9039.  
  9040. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9041.  
  9042. You must define identifier-2 as a level-01, level-77, or elementary data item 
  9043. in the File Section, Working-Storage Section or Linkage Section. 
  9044.  
  9045. Identifier-2 must not be a function-identifier.  It may be: 
  9046.  
  9047.  A data item of any level in the Data Division 
  9048.  A pointer data item (an item defined implicitly or explicitly as USAGE IS 
  9049.   POINTER or USAGE IS PROCEDURE-POINTER) 
  9050.  A floating-point data item 
  9051.  A DBCS data item 
  9052.  A file-name for a QSAM file under MVS. 
  9053.  
  9054.  
  9055. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9056.  
  9057. If you specify the ON EXCEPTION phrase in the CALL statement and the called 
  9058. program cannot be made available, control is transferred to 
  9059. imperative-statement-1. 
  9060.  
  9061.  
  9062. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9063.  
  9064. If you specify the NOT ON EXCEPTION phrase in the CALL statement and the called 
  9065. program can be made available (that is, no exception condition exists), control 
  9066. is transferred to the called program. After control returns from the called 
  9067. program, it is transferred to imperative-statement-2. 
  9068.  
  9069.  
  9070. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9071.  
  9072. Identifier-1 or literal-1 specify the name of the COBOL/370 subprogram to be 
  9073. canceled, which must be nonnumeric. 
  9074.  
  9075. The value of identifier-1 must conform to the rules for the literal form 
  9076. program-name in the outermost program. Literal-1 must conform to the rules for 
  9077. the formation of a program-name in the outermost program. 
  9078.  
  9079. As an IBM extension, identifier-1 can be an alphabetic or zoned decimal data 
  9080. item. 
  9081.  
  9082. Each literal or contents of the identifier specified in the CANCEL statement 
  9083. must be the same as the literal or contents of the identifier specified in an 
  9084. associated CALL statement. 
  9085.  
  9086.  
  9087. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9088.  
  9089. File-name-1 designates the file upon which the CLOSE statement is to operate. 
  9090. If you specify more than one file-name, the files need not have the same 
  9091. organization or access. 
  9092.  
  9093. File-name-1 must not be a sort or merge file. 
  9094.  
  9095.  
  9096. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9097.  
  9098. Specify the REEL/UNIT phrases only for QSAM multivolume or single volume files. 
  9099. REEL and UNIT are interchangeable. 
  9100.  
  9101.  
  9102. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9103.  
  9104. The FOR REMOVAL phrase is applicable only to tape files.  If you specify it for 
  9105. storage devices to which it does not apply, it is ignored. 
  9106.  
  9107.  
  9108. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9109.  
  9110. The WITH NO REWIND phrase is applicable only to tape files. If you specify it 
  9111. for storage devices to which it does not apply, it is ignored. 
  9112.  
  9113.  
  9114. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9115.  
  9116. File-name-1 designates the file upon which the CLOSE statement is to operate. 
  9117.  
  9118. If you specify more than one file-name, the files need not have the same 
  9119. organization or access. File-name-1 must not be a sort or merge file. 
  9120.  
  9121.  
  9122. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9123.  
  9124. Identifier-1 must name elementary numeric or elementary numeric-edited item(s). 
  9125.  
  9126.  
  9127. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9128.  
  9129. You must define file-name in an FD entry in the Data Division.  It must be the 
  9130. name of an indexed or relative file. 
  9131.  
  9132.  
  9133. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9134.  
  9135. Literal-1 may be any figurative constant.  When you specify a figurative 
  9136. constant, only a single occurrence of that figurative constant is displayed. 
  9137.  
  9138. You can use any kind of literal. 
  9139.  
  9140.  
  9141. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9142.  
  9143. The UPON phrase specifies the output device to be used for the DISPLAY 
  9144. statement. 
  9145.  
  9146. Mnemonic-name or environment-name must be associated in the SPECIAL-NAMES 
  9147. paragraph with an output device. A maximum logical record size is assumed for 
  9148. each device, as follows: 
  9149.  
  9150.  The system logical output device = 120 characters 
  9151.  The system punch device = 72 characters 
  9152.  The console typewriter = 100 characters 
  9153.  
  9154. When you omit the UPON phrase, the system's logical output device is assumed. 
  9155.  
  9156. Note:   On the system punch device, characters 73 through 80 are used for 
  9157. PROGRAM-ID name. 
  9158.  
  9159.  
  9160. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9161.  
  9162. Identifier-1 and identifier-2 must name an elementary numeric item. You cannot 
  9163. use floating-point data items. 
  9164.  
  9165.  
  9166. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9167.  
  9168. Identifier-1 and identifier-2 must name an elementary numeric item. 
  9169.  
  9170.  
  9171. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9172.  
  9173. Identifier-3 must name an elementary numeric or numeric-edited item. It may be 
  9174. floating-point. 
  9175.  
  9176.  
  9177. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9178.  
  9179. Identifier-3 and identifier-4 must name an elementary numeric or numeric-edited 
  9180. item.  You cannot use floating-point data items. 
  9181.  
  9182.  
  9183. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9184.  
  9185. In Formats 1 and 2, you can specify floating-point literals anywhere that a 
  9186. numeric data item or literal can be specified. Literal must be a numeric 
  9187. literal. 
  9188.  
  9189.  
  9190. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9191.  
  9192. In Format 3, you cannot use floating-point literals. Literal must be a numeric 
  9193. literal. 
  9194.  
  9195.  
  9196. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9197.  
  9198. Language-name has no defined meaning.  It must be either a correctly formed 
  9199. user-defined word or the word "COBOL".  At least one character must be 
  9200. alphabetic. 
  9201.  
  9202.  
  9203. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9204.  
  9205. Routine-name must follow the rules for formation of a user-defined word and at 
  9206. least one character must be alphabetic. 
  9207.  
  9208.  
  9209. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9210.  
  9211. The USING phrase makes data items defined in a calling program available to a 
  9212. called subprogram. 
  9213.  
  9214. The USING option is valid in the ENTRY statement if, and only if this 
  9215. subprogram is invoked by a CALL statement that itself contains a USING phrase. 
  9216. Each USING identifier must be defined as a level-01 or level-77 item in the 
  9217. Linkage Section of the called subprogram. 
  9218.  
  9219.  
  9220. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9221.  
  9222. Two operands connected by a THROUGH phrase must be of the same class.  The two 
  9223. operands thus connected constitute a single selection object, and the number of 
  9224. selection objects within each set of selection objects must be equal to the 
  9225. number of selection subjects. 
  9226.  
  9227.  
  9228. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9229.  
  9230. Each selection object within a set of selection objects must correspond to the 
  9231. selection subject having the same ordinal position within the set of selection 
  9232. subjects, according to the following rule: 
  9233.  
  9234. Condition-1, condition-2, or the word TRUE or FALSE appearing as a selection 
  9235. object must correspond to a conditional expression or the word TRUE or FALSE in 
  9236. the set of selection subjects. 
  9237.  
  9238.  
  9239. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9240.  
  9241. Each selection object within a set of selection objects must correspond to the 
  9242. selection subject having the same ordinal position within the set of selection 
  9243. subjects, according to the following rule: 
  9244.  
  9245. The word ANY may correspond to a selection subject of any type. 
  9246.  
  9247.  
  9248. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9249.  
  9250. Operands in the WHEN phrase are interpreted one of two ways, depending on how 
  9251. you specify them: 
  9252.  
  9253.  Individually, they are called selection subjects. 
  9254.  Collectively they are called a set of selection objects. 
  9255.  
  9256. Each selection object within a set of selection objects must correspond to the 
  9257. selection subject having the same ordinal position within the set of selection 
  9258. subjects, according to the following rule: 
  9259.  
  9260. Identifiers, literals, or arithmetic expressions appearing within a selection 
  9261. object must be valid operands for comparison to the corresponding operand in 
  9262. the set of selection subjects. 
  9263.  
  9264.  
  9265. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9266.  
  9267. The ALSO phrase separates selection subjects within a set of selection subjects 
  9268. and separates selection objects within a set of selection objects. 
  9269.  
  9270.  
  9271. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9272.  
  9273. Procedure-name must name a procedure or a section in the same Procedure 
  9274. Division as the GO TO statement. 
  9275.  
  9276.  
  9277. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9278.  
  9279. Procedure-name-1 must be a procedure or a section in the same Procedure 
  9280. Division as GO TO.  The number of procedure-names must not exceed 255. 
  9281.  
  9282.  
  9283. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9284.  
  9285. Condition may be any simple or complex condition. 
  9286.  
  9287. There are five simple conditions, which have a truth value of either true or 
  9288. false: 
  9289.  
  9290.  Class condition 
  9291.  Condition-name condition 
  9292.  Relation condition 
  9293.  Sign condition 
  9294.  Switch-status condition 
  9295.  
  9296. A complex condition is formed by combining simple conditions, combined 
  9297. conditions, and/or complex conditions with logical operators, or negating these 
  9298. conditions with logical negation. 
  9299.  
  9300.  
  9301. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9302.  
  9303. Statement-1 and statement-2 can be an imperative statement, a conditional 
  9304. statement, or an imperative statement followed by a conditional statement. 
  9305.  
  9306.  
  9307. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9308.  
  9309. You can specify the NEXT SENTENCE phrase with END-IF.  However, if the NEXT 
  9310. SENTENCE phrase is executed, control will not pass to the next statement 
  9311. following END-IF; instead, control will pass to the statement after the closest 
  9312. following period. 
  9313.  
  9314.  
  9315. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9316.  
  9317. You can omit the ELSE NEXT SENTENCE phrase if it immediately precedes a 
  9318. separator period that ends the IF statement. 
  9319.  
  9320.  
  9321. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9322.  
  9323. Literal-1 is the sending area. 
  9324.  
  9325. You can use a DBCS data item or literal anywhere an identifier or literal is 
  9326. specified.  DBCS items refer to double byte character data. 
  9327.  
  9328.  
  9329. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9330.  
  9331. Identifier-2 is the sending area. 
  9332.  
  9333. You can use a DBCS data item or literal anywhere an identifier or literal is 
  9334. specified.  DBCS items refer to double byte character data. 
  9335.  
  9336. You can specify special registers for identifier-2 only if they are valid 
  9337. sending fields for the implied MOVE statements. 
  9338.  
  9339.  
  9340. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9341.  
  9342. DBCS and EGCS refer to the characters allowed for DBCS literals. 
  9343.  
  9344.  
  9345. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9346.  
  9347. Identifier-1 is the inspected item and must be an alphanumeric or numeric data 
  9348. item with USAGE DISPLAY. 
  9349.  
  9350. All identifiers, except identifier-2 (the count field), may be external 
  9351. floating-point items, which are treated as if redefined as alphanumeric with 
  9352. the INSPECT statement referring to the alphanumeric item. 
  9353.  
  9354. If any identifiers or literals in the INSPECT statement are DBCS items, then 
  9355. all of them must be DBCS items, except for the count field (identifier-2), 
  9356. which cannot be a DBCS item. If the identifiers and literals other than 
  9357. identifier-2 are DBCS items, then DBCS characters, not bytes of data, are 
  9358. tallied in identifier-2. 
  9359.  
  9360.  
  9361. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9362.  
  9363. Identifier-2 must be an elementary numeric data item, but cannot be a DBCS 
  9364. item; DBCS characters, not bytes of data, are tallied in identifier-2. 
  9365.  
  9366.  
  9367. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9368.  
  9369. Literal-1 ... literal-5 must be nonnumeric and may be any figurative constant 
  9370. that does not begin with the word ALL.  If literal-2, 3, or 4 is a figurative 
  9371. constant, it refers to an implicit 1 character data item. 
  9372.  
  9373. When you specify the REPLACING phrase, identifier-3 or literal-1 is in the 
  9374. subject field. 
  9375.  
  9376.  
  9377. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9378.  
  9379. Identifier-4 or literal-2 is the delimiter.  It is not counted or replaced. 
  9380. Instead, it serves as the boundary for the counting and/or replacing of the 
  9381. inspected item. 
  9382.  
  9383. If identifier-4 or literal-2 is a figurative constant, it is considered to be 1 
  9384. character in length. 
  9385.  
  9386.  
  9387. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9388.  
  9389. Identifier-3 is the subject field. 
  9390.  
  9391. Identifier-3 must be an elementary data item with USAGE DISPLAY. All 
  9392. identifiers, except identifier-2, may be floating-point items, which are 
  9393. treated as if redefined as alphanumeric with INSPECT referring to the 
  9394. alphanumeric item. 
  9395.  
  9396. Identifier-3 must be a DBCS item if any of the identifiers or literals is a 
  9397. DBCS item. 
  9398.  
  9399. The subject field and the substitution field must be the same length. 
  9400.  
  9401.  
  9402. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9403.  
  9404. With the REPLACING phrase, the subject field and the substitution field must be 
  9405. the same length. 
  9406.  
  9407.  
  9408. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9409.  
  9410. If you specify CHARACTERS, the substitution must be 1 character in length. Each 
  9411. character in the inspected field is replaced by the substitution field, 
  9412. beginning at the leftmost character and continuing to the rightmost. 
  9413.  
  9414.  
  9415. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9416.  
  9417. If you specify LEADING, each contiguous nonoverlapping occurrence of the 
  9418. subject field in the inspected item is replaced by the substitution field, 
  9419. provided that the leftmost such occurrence is at the point where comparison 
  9420. began in the first comparison cycle for which this substitution field is 
  9421. eligible to participate. 
  9422.  
  9423.  
  9424. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9425.  
  9426. When you specify REPLACING, identifier-3 or literal-1 is the subject field. 
  9427.  
  9428.  
  9429. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9430.  
  9431. If you specify FIRST, the leftmost occurrence of the subject field in the 
  9432. inspected item is replaced by the substitution field. 
  9433.  
  9434.  
  9435. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9436.  
  9437. Literal-1 is the tallying field. 
  9438.  
  9439. Literal-1 must be nonnumeric and may be any figurative constant that does not 
  9440. begin with the word ALL. If literal-1 is a figurative constant, it refers to an 
  9441. implicit 1 character data item. 
  9442.  
  9443. When the tallying field is a figurative constant, it is considered to be a 
  9444. 1-character nonnumeric literal. 
  9445.  
  9446.  
  9447. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9448.  
  9449. If you specify ALL, the count field is increased by 1 for each nonoverlapping 
  9450. occurrence in the inspected item, of this tallying operand, beginning at the 
  9451. leftmost character position and continuing to the rightmost. 
  9452.  
  9453.  
  9454. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9455.  
  9456. If you specify LEADING, the count field is increased by 1 for each contiguous 
  9457. nonoverlapping occurrence in the inspected item of this tallying operand, 
  9458. beginning at the leftmost character position and continuing to the rightmost. 
  9459.  
  9460.  
  9461. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9462.  
  9463. If you specify CHARACTERS, the count field is increased by 1 for each character 
  9464. (including the space character) in the inspected item. Thus, execution of the 
  9465. INSPECT TALLYING statement increases the value in the count field by the number 
  9466. of characters in the inspected item. 
  9467.  
  9468.  
  9469. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9470.  
  9471. Literal-1 is the subject field. 
  9472.  
  9473. Literal-1 must be nonnumeric and may be any figurative constant that does not 
  9474. refer to the word ALL. If literal-1 is a figurative constant, it refers to an 
  9475. implicit 1 character data item. 
  9476.  
  9477. The subject field and the substitution field must be the same length. 
  9478.  
  9479.  
  9480. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9481.  
  9482. Identifier-5 is the substitution field. The subject field and the substitution 
  9483. field must be the same length. 
  9484.  
  9485. Identifier-5 must be an elementary data item with USAGE DISPLAY. 
  9486.  
  9487. All identifiers except identifier-2 (the count field) may be external 
  9488. floating-point items, which are treated as if redefined as alphanumeric with 
  9489. INSPECT referring to the alphanumeric item. 
  9490.  
  9491.  
  9492. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9493.  
  9494. Literal-3 is the substitution field. The subject field and the substitution 
  9495. field must be the same length. 
  9496.  
  9497. Literal-3 must be nonnumeric and may be any figurative constant that does not 
  9498. begin with the word ALL. If literal-3 is a figurative constant, it refers to an 
  9499. implicit 1 character data item. 
  9500.  
  9501.  
  9502. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9503.  
  9504. Identifier-3 is the tallying field. 
  9505.  
  9506. Identifier-3 must be an elementary data item with USAGE DISPLAY. All 
  9507. identifiers except identifier-2 may be floating-point items, which are treated 
  9508. as if redefined as alphanumeric with INSPECT referring to the alphanumeric 
  9509. item. 
  9510.  
  9511. When the tallying field is a figurative constant, it is considered to be a 
  9512. 1-character nonnumeric literal. 
  9513.  
  9514.  
  9515. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9516.  
  9517. If you specify ALL, each nonoverlapping occurrence of the subject field in the 
  9518. inspected item is replaced by the substitution field, beginning at the leftmost 
  9519. character and continuing to the rightmost. 
  9520.  
  9521.  
  9522. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9523.  
  9524. Identifier-2, the count field, must be an elementary integer item defined 
  9525. without the symbol P in its PICTURE character-string. 
  9526.  
  9527. You must initialize identifier-2 before the INSPECT statement is performed. 
  9528.  
  9529. If any identifiers or literals in the INSPECT statement are DBCS items, then 
  9530. all of them must be DBCS items, except for identifier-2, which cannot be a DBCS 
  9531. item. If the identifiers and literals other than identifier-2 are DBCS items, 
  9532. then DBCS characters, not bytes of data, are tallied in identifier-2. 
  9533.  
  9534.  
  9535. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9536.  
  9537. File-name-1 is the name given in the SD entry that describes the records to be 
  9538. merged.  You can specify any file-names in MERGE in the same SAME RECORD AREA 
  9539. clause. 
  9540.  
  9541.  
  9542. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9543.  
  9544. The ASCENDING/DESCENDING phrase specifies that records are to be processed in 
  9545. an ascending or descending sequence (depending on the phrase specified), based 
  9546. on the identified merge keys. 
  9547.  
  9548.  
  9549. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9550.  
  9551. The ASCENDING/DESCENDING phrase specifies that records are to be processed in 
  9552. an ascending or descending sequence (depending on the phrase specified), based 
  9553. on the identified merge keys. 
  9554.  
  9555.  
  9556. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9557.  
  9558. The COLLATING SEQUENCE phrase specifies the collating sequence to be used in 
  9559. nonnumeric comparisons for the KEY data items in this merge operation. 
  9560.  
  9561. If you omit COLLATING SEQUENCE, the PROGRAM COLLATING SEQUENCE clause (if 
  9562. specified) in the OBJECT-COMPUTER paragraph specifies the collating sequence to 
  9563. be used.  When you omit both the COLLATING SEQUENCE phrase and the COLLATING 
  9564. SEQUENCE clause, the EBCDIC collating sequence is used. 
  9565.  
  9566.  
  9567. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9568.  
  9569. During the MERGE operation, all the records in file-name-2 and file-name-3 (the 
  9570. input files) are transferred to file-name-1. When the MERGE statement is 
  9571. executed, these files must not be open; the compiler generates code that opens, 
  9572. reads, and closes the input files automatically. 
  9573.  
  9574. All input files must specify sequential or dynamic access mode and be described 
  9575. in FD entries in the Data Division. 
  9576.  
  9577.  
  9578. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9579.  
  9580. Proc-name-1 specifies the first (or only) section or paragraph in the OUTPUT 
  9581. PROCEDURE. 
  9582.  
  9583.  
  9584. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9585.  
  9586. Proc-name-2 identifies the last section or paragraph of the OUTPUT PROCEDURE. 
  9587.  
  9588.  
  9589. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9590.  
  9591. When you specify the GIVING phrase, all the merged records in file-name-1 are 
  9592. automatically transferred to the output files (file-name-4). 
  9593.  
  9594.  
  9595. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9596.  
  9597. The OUTPUT PROCEDURE phrase specifies the name of a procedure that is to select 
  9598. or modify output records from the merge operation. 
  9599.  
  9600.  
  9601. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9602.  
  9603. File-name-4 represents the output files. 
  9604.  
  9605. When you specify the GIVING phrase, all the merged records in file-name-1 are 
  9606. automatically transferred to the output files (file-name-4). 
  9607.  
  9608. All output files must specify sequential or dynamic access mode and be 
  9609. described in FD entries in the Data Division. 
  9610.  
  9611.  
  9612. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9613.  
  9614. Identifier-1 is the sending area. 
  9615.  
  9616. When you specify Format 1, all identifiers may be either group or elementary 
  9617. items. 
  9618.  
  9619. If identifier-1 is reference modified, subscripted, or is a 
  9620. function-identifier, the reference modifier, subscript, or function is 
  9621. evaluated only once, immediately before data is moved into that receiving 
  9622. field. 
  9623.  
  9624. If either the sending or receiving item is a DBCS data item, then both must be 
  9625. DBCS items. The figurative constant SPACE can be the DBCS sending item. 
  9626.  
  9627.  
  9628. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9629.  
  9630. Literal-1 is the sending area.  If either the sending or receiving item is a 
  9631. DBCS item, then both must be DBCS items.  The figurative constant SPACE can be 
  9632. the DBCS sending item. 
  9633.  
  9634.  
  9635. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9636.  
  9637. Identifier-2 represents the receiving area. When you specify Format 1, all 
  9638. identifiers may be either group or elementary items.  If either the sending or 
  9639. receiving item is a DBCS item, then both must be DBCS items. 
  9640.  
  9641.  
  9642. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9643.  
  9644. When you specify CORRESPONDING, selected items in identifier-1 are moved to 
  9645. identifier-2.  The results of moving items in identifier-1 to identifier-2 are 
  9646. the same as if a separate MOVE statement referenced each pair of corresponding 
  9647. identifiers. 
  9648.  
  9649. A pointer data item can be part of a group that is referenced in a MOVE 
  9650. CORRESPONDING statement.  However, the pointer data item will not move. 
  9651.  
  9652.  
  9653. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9654.  
  9655. CORR is an abbreviation for, and equivalent to, CORRESPONDING. 
  9656.  
  9657.  
  9658. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9659.  
  9660. In Format 2, identifier-1 and identifier-2 must be group items. 
  9661.  
  9662.  
  9663. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9664.  
  9665. Identifier-1 and identifier-2 must name an elementary numeric item. 
  9666.  
  9667.  
  9668. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9669.  
  9670. Literal-1 must be numeric. 
  9671.  
  9672.  
  9673. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9674.  
  9675. Literal-2 must be numeric. 
  9676.  
  9677.  
  9678. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9679.  
  9680. Identifier-3 must name an elementary numeric or numeric-edited item. 
  9681.  
  9682.  
  9683. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9684.  
  9685. I-O permits opening of the file for both input and output operations.  You may 
  9686. specify I-O only for files to direct access devices. 
  9687.  
  9688.  
  9689. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9690.  
  9691. You can use the EXTEND phrase for files where you have specified the LINAGE 
  9692. phrase.  Do not specify the EXTEND phrase for a multiple file reel. 
  9693.  
  9694. The EXTEND phrase permits the file to be open for output operations under MVS 
  9695. or CMS and is allowed for files for which LINAGE has been specified. 
  9696.  
  9697.  
  9698. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9699.  
  9700. REVERSED is not valid for sequential single reel files. 
  9701.  
  9702.  
  9703. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9704.  
  9705. NO REWIND is only valid for sequential single reel files. 
  9706.  
  9707.  
  9708. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9709.  
  9710. The INPUT phrase permits opening the file for input operations. 
  9711.  
  9712.  
  9713. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9714.  
  9715. The OUTPUT phrase permits opening the file for output operations. 
  9716.  
  9717. Note:   You can specify this phrase when creating the file, but do not specify 
  9718. OUTPUT for a file that contains records; the file will be replaced by new data. 
  9719. And do not specify this phrase for a file that is defined with a DD dummy JCL 
  9720. card when running under MVS; unpredictable results may occur. 
  9721.  
  9722.  
  9723. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9724.  
  9725. The INPUT phrase permits opening the file for input operations. 
  9726.  
  9727.  
  9728. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9729.  
  9730. The OUTPUT phrase permits opening the file for output operations. You can 
  9731. specify this phrase when creating the file. If you specify the OUTPUT phrase 
  9732. for a file that contains records, the file (which must be defined as reusable) 
  9733. will be replaced by the new data. 
  9734.  
  9735.  
  9736. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9737.  
  9738. The I-O phrase permits opening the file for both input and output operations. 
  9739. You can specify I-O only for files assigned to direct access devices. 
  9740.  
  9741.  
  9742. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9743.  
  9744. The EXTEND phrase , which is allowed only for sequential access files, permits 
  9745. opening the file for both input and output operations. 
  9746.  
  9747.  
  9748. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9749.  
  9750. File-name-1 designates a file upon which OPEN is to operate. If you specify 
  9751. more than one file, the files do not need to have the same organization or 
  9752. access. Each file-name must be defined in an FD entry in the Data Division, and 
  9753. must not name a sort or merge file. The FD entry must be equivalent to the 
  9754. information supplied when the file was defined. 
  9755.  
  9756.  
  9757. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9758.  
  9759. File-name-2 designates a file upon which OPEN is to operate. If you specify 
  9760. more than one file, the files do not need to have the same organization or 
  9761. access. Each file-name must be defined in an FD entry in the Data Division, and 
  9762. must not name a sort or merge file. The FD entry must be equivalent to the 
  9763. information supplied when the file was defined. 
  9764.  
  9765.  
  9766. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9767.  
  9768. File-name-3 designates a file upon which OPEN is to operate. If you specify 
  9769. more than one file, the files do not need to have the same organization or 
  9770. access. Each file-name must be defined in an FD entry in the Data Division, and 
  9771. must not name a sort or merge file. The FD entry must be equivalent to the 
  9772. information supplied when the file was defined. 
  9773.  
  9774.  
  9775. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9776.  
  9777. File-name-4 designates a file upon which OPEN is to operate. If you specify 
  9778. more than one file, the files do not need to have the same organization or 
  9779. access. Each file-name must be defined in an FD entry in the Data Division, and 
  9780. must not name a sort or merge file. The FD entry must be equivalent to the 
  9781. information supplied when the file was defined. 
  9782.  
  9783.  
  9784. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9785.  
  9786. Identifier-1 must name an integer item.  If it is zero or negative when the 
  9787. PERFORM statement is initiated, control passes to the statement following the 
  9788. PERFORM statement. 
  9789.  
  9790. After the PERFORM statement has been initiated, any change to identifier-1 has 
  9791. no effect in varying the number of times the procedures are initiated. 
  9792.  
  9793.  
  9794. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9795.  
  9796. Integer-1 may be a positive signed integer. 
  9797.  
  9798.  
  9799. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9800.  
  9801. The imperative-statement represents the statements to be executed for an 
  9802. in-line PERFORM statement.  Imperative-statement is optional. 
  9803.  
  9804.  
  9805. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9806.  
  9807. Condition-1 may be any type of condition (simple, complex, class...). If the 
  9808. condition is true when the PERFORM statement is initiated, the specified 
  9809. procedures are not executed. 
  9810.  
  9811. Any subscripting associated with the operands specified in condition-1 is 
  9812. evaluated each time the condition is tested. 
  9813.  
  9814.  
  9815. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9816.  
  9817. Condition-1 and condition-2 may be any conditional expression. If the condition 
  9818. is true at the time the PERFORM statement is initiated, the specified 
  9819. procedures are not executed. 
  9820.  
  9821. After the conditions specified in the UNTIL phrase are satisfied, control is 
  9822. passed to the next executable statement following the PERFORM statement. 
  9823.  
  9824. If any of the operands specified in condition-1 or condition-2 is subscripted, 
  9825. reference modified,or is a function identifier, the subscript, 
  9826. reference-modifier, or function is evaluated each time the condition is tested. 
  9827.  
  9828.  
  9829. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9830.  
  9831. Procedure-name-1, procedure-name-2 must name a section or paragraph in the 
  9832. Procedure Division. 
  9833.  
  9834. When you specify both procedure-name-1 and procedure-name-2, if either is a 
  9835. procedure-name in a declarative procedure, both must be procedure-names in the 
  9836. same declarative procedure. 
  9837.  
  9838. If you specify procedure-name-1, you must not specify imperative-statement and 
  9839. the END-PERFORM phrase. 
  9840.  
  9841. If you omit procedure-name-1, you must specify imperative-statement and the 
  9842. END-PERFORM phrase. 
  9843.  
  9844.  
  9845. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9846.  
  9847. Procedure-name-1, procedure-name-2 must name a section or paragraph in the 
  9848. Procedure Division. 
  9849.  
  9850. When you specify both procedure-name-1 and procedure-name-2, if either is a 
  9851. procedure-name in a declarative procedure, both must be procedure-names in the 
  9852. same declarative procedure. 
  9853.  
  9854. If you specify procedure-name-1, you must not specify imperative-statement and 
  9855. the END-PERFORM phrase. 
  9856.  
  9857. If you omit procedure-name-1, you must specify imperative-statement and the 
  9858. END-PERFORM phrase, and you must not specify the AFTER phrase. 
  9859.  
  9860.  
  9861. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9862.  
  9863. If the TEST BEFORE phrase is specified or assumed, the condition is tested 
  9864. before any statements are executed (corresponds to DO WHILE). 
  9865.  
  9866. If the condition is true, control is transferred to the next executable 
  9867. statement following the end of the PERFORM statement. If you do not specify 
  9868. the TEST BEFORE or the TEST AFTER phrase, the TEST BEFORE phrase is assumed. 
  9869.  
  9870.  
  9871. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9872.  
  9873. If the TEST AFTER phrase is specified, the statements to be performed are 
  9874. executed at least once before the condition is tested (corresponds to DO 
  9875. UNTIL). 
  9876.  
  9877. If the condition is true, control is transferred to the next executable 
  9878. statement following the end of the PERFORM statement. If you do not specify 
  9879. the TEST BEFORE or the TEST AFTER phrase, the TEST BEFORE phrase is assumed. 
  9880.  
  9881.  
  9882. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9883.  
  9884. When you specify TEST BEFORE, all specified conditions are tested before the 
  9885. first execution, and the statements to be performed are executed only when all 
  9886. specified tests fail. 
  9887.  
  9888. If you do not specify the TEST BEFORE or the TEST AFTER phrase, the TEST BEFORE 
  9889. phrase is assumed. 
  9890.  
  9891.  
  9892. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9893.  
  9894. When you specify TEST AFTER, the statements to be performed are executed at 
  9895. least once, before any condition is tested. 
  9896.  
  9897. If you do not specify the TEST BEFORE or the TEST AFTER phrase, the TEST BEFORE 
  9898. phrase is assumed. 
  9899.  
  9900.  
  9901. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9902.  
  9903. Identifier-2 thru 7 must name a numeric elementary item. 
  9904.  
  9905.  
  9906. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9907.  
  9908. Literal-1 thru 4 must represent a numeric literal. 
  9909.  
  9910. You can use floating-point data items and literals anywhere a numeric data item 
  9911. or literal can be specified. 
  9912.  
  9913.  
  9914. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9915.  
  9916. File-name-1 must be defined in a Data Division FD entry. 
  9917.  
  9918.  
  9919. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9920.  
  9921. Identifier-1 is the receiving field. Identifier-1 may be a DBCS item or a 
  9922. floating-point data item. Identifier-1 does not need to describe a group item 
  9923. or an elementary alphanumeric item. 
  9924.  
  9925.  
  9926. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9927.  
  9928. You may specify KEY IS only for indexed files.  It must not be specified for 
  9929. sequential or relative files. Data-name-1 must identify a record key associated 
  9930. with file-name-1. Data-name-1 may be qualified, and it may defined as a DBCS 
  9931. item.  However, it may not be subscripted. 
  9932.  
  9933. When RECORD KEY specifies a DBCS data item, a KEY specified on the READ 
  9934. statement must be a DBCS data item. 
  9935.  
  9936.  
  9937. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9938.  
  9939. Record-name-1 must specify the name of a logical record in a sort-merge file 
  9940. description entry (SD). Record-name-1 may be qualified. 
  9941.  
  9942. Record-name-1 may define a floating point or DBCS data item. If record-name-1 
  9943. is a DBCS data item, then identifier-1 must be a DBCS data item. 
  9944.  
  9945. Record-name-1 and identifier-1 must not refer to the same storage area. 
  9946.  
  9947. If the RELEASE statement is executed without a specified SD entry for 
  9948. file-name-1 in a SAME RECORD AREA clause, the information in record-name-1 is 
  9949. no longer available. 
  9950.  
  9951.  
  9952. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9953.  
  9954. FROM identifier-1 makes the RELEASE statement equivalent to the execution of 
  9955. the following two statements: 
  9956.  
  9957.    MOVE identifier-1 TO record-name-1 
  9958.    RELEASE record-name-1 
  9959.  
  9960. The MOVE is performed according to the rules for the MOVE statement without the 
  9961. CORRESPONDING phrase. 
  9962.  
  9963. Identifier-1 must be the name of a Working-Storage Section or Linkage Section 
  9964. entry, a record description for another previously opened file, or an 
  9965. alphanumeric function identifier. 
  9966.  
  9967. Identifier-1 may be a DBCS or floating-point data item. 
  9968.  
  9969. Identifier-1 and record-name-1 must not refer to the same storage area. 
  9970.  
  9971. After the RELEASE statement has successfully executed, the logical record is 
  9972. still available in identifier-1. 
  9973.  
  9974.  
  9975. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9976.  
  9977. File-name-1 must be described in a Data Division SD entry. If it has more than 
  9978. one record description, these records automatically share the same storage; the 
  9979. area is implicitly redefined. After execution of the RETURN statement, only the 
  9980. contents of the current record are available; if any data items lie beyond the 
  9981. length of the current record, their contents are undefined. 
  9982.  
  9983.  
  9984. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9985.  
  9986. The imperative-statement specified in the AT END phrase executes after all 
  9987. records have been returned from file-name-1.  No more RETURN statements may be 
  9988. executed as part of the current output procedure. 
  9989.  
  9990.  
  9991. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  9992.  
  9993. If an at end condition does not occur during the execution of the RETURN 
  9994. statement, then after the record is made available, and after executing any 
  9995. implicit move resulting from the presence of an INTO phrase, control is 
  9996. transferred to the imperative statement associated with the NOT AT END phrase, 
  9997. if specified. 
  9998.  
  9999. If the NOT AT END phrase is omitted, control passes to the end of the RETURN 
  10000. statement. 
  10001.  
  10002.  
  10003. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10004.  
  10005. Record-name-1 must be the name of a logical record in a Data Division FD entry. 
  10006. Record-name-1 may be qualified and may define a floating-point or DBCS item. 
  10007.  
  10008.  
  10009. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10010.  
  10011. FROM identifier-1 makes the REWRITE statement equivalent to the execution of 
  10012. the following two statements: 
  10013.  
  10014.    MOVE identifier-1 TO record-name-1 
  10015.    REWRITE record-name-1 
  10016.  
  10017. The MOVE is performed according to the rules for the MOVE statement without the 
  10018. CORRESPONDING phrase. 
  10019.  
  10020. Identifier-1 must be the name of a Working-Storage Section or Linkage Section 
  10021. entry, a record description for another previously opened file, or an 
  10022. alphanumeric function identifier. 
  10023.  
  10024. Identifier-1 may be a DBCS or floating-point data item. 
  10025.  
  10026. Identifier-1 and record-name-1 must not refer to the same storage area. 
  10027.  
  10028. After the REWRITE statement has successfully executed, the logical record is 
  10029. still available in identifier-1. 
  10030.  
  10031.  
  10032. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10033.  
  10034. The at end condition exists when the search operation terminates without 
  10035. satisfying the condition specified in any of the associated WHEN phrases. 
  10036.  
  10037. If the at end condition exists and the AT END phrase is specified, 
  10038. imperative-statement-1 is executed, and control passes to the end of the SEARCH 
  10039. statement, unless imperative-statement-1 ends with a GO TO statement. 
  10040.  
  10041. If the at end condition exists and the AT END phrase is omitted, control passes 
  10042. to the next statement after the SEARCH statement. 
  10043.  
  10044.  
  10045. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10046.  
  10047. After imperative-statement-2 is executed, control passes to the end of the 
  10048. SEARCH statement, unless imperative-statement-2 ends with a GO TO statement. 
  10049.  
  10050.  
  10051. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10052.  
  10053. If the WHEN phrase cannot be satisfied for any setting of the index within this 
  10054. range, the search is unsuccessful, and the at end condition exists. Control 
  10055. passes to imperative-statement-1 of the AT END phrase, if specified, or to the 
  10056. next statement after the SEARCH statement. In either case, the final setting of 
  10057. the index is not predictable. 
  10058.  
  10059. If the WHEN phrase can be satisfied, the search is terminated immediately, and 
  10060. control passes to imperative-statement-2, if specified, or to the next 
  10061. executable sentence if the NEXT SENTENCE phrase is specified. The index 
  10062. contains the value indicating the occurrence that allowed the WHEN condition(s) 
  10063. to be satisfied. 
  10064.  
  10065. After imperative-statement-2 is executed, control passes to the end of the 
  10066. SEARCH statement, unless imperative-statement-2 ends with a GO TO statement. 
  10067.  
  10068.  
  10069. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10070.  
  10071. Identifier-2 must be either an index data item or an elementary integer item. 
  10072. Identifier-2 may not be subscripted by the first (or only) index-name for 
  10073. identifier-1. 
  10074.  
  10075.  
  10076. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10077.  
  10078. Identifier-1 can be a data item subordinate to a data item that contains an 
  10079. OCCURS clause; that is, it can be a part of a multi-dimensional table. In this 
  10080. case, the data description entry must specify an INDEXED BY phrase for each 
  10081. dimension of the table. 
  10082.  
  10083. Identifier-1 can be an index data item, a DBCS data item, or a floating-point 
  10084. data item. 
  10085.  
  10086. Identifier-1 must refer to all occurrences within the table element; that is, 
  10087. it must not be subscripted or reference modified. 
  10088.  
  10089. The Data Division description of identifier-1 must contain an OCCURS clause 
  10090. with the INDEXED BY phrase. 
  10091.  
  10092.  
  10093. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10094.  
  10095. Each condition-name specified must have only a single value, and each must be 
  10096. associated with an ASCENDING/DESCENDING KEY identifier for this table element. 
  10097.  
  10098.  
  10099. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10100.  
  10101. Data-name-1 and data-name-2 must specify ASCENDING/DESCENDING KEY data items in 
  10102. the identifier-1 table element and must be subscripted by the first 
  10103. identifier-1 index-name, along with other subscripts or literals, as required. 
  10104. Data-name-1 and data-name-2 may be qualified.  They cannot be floating-point 
  10105. data items. 
  10106.  
  10107.  
  10108. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10109.  
  10110. Identifier-3 and identifier-4 can be floating-point data items, but must not be 
  10111. POINTER data items. They must not be ASCENDING/DESCENDING KEY data items for 
  10112. identifier-1 or an item that is subscripted by the first index-name for 
  10113. identifier-1. 
  10114.  
  10115.  
  10116. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10117.  
  10118. The explicit scope terminator serves to delimit the scope of a statement.  It 
  10119. permits the conditional form of the statement to be nested within another 
  10120. conditional statement. The explicit scope terminator may also be used with the 
  10121. imperative form of the statement. 
  10122.  
  10123. The scope of a SEARCH statement may be terminated by any of the following: 
  10124.  
  10125.  An END-SEARCH phrase at the same level of nesting 
  10126.  A separator period 
  10127.  An ELSE or END-IF phrase associated with a previous IF statement. 
  10128.  
  10129.  
  10130. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10131.  
  10132. Condition-1 may be any conditional expression. 
  10133.  
  10134.  
  10135. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10136.  
  10137. You can specify NEXT SENTENCE with END-SEARCH.  Note, however, that if the NEXT 
  10138. SENTENCE phrase is executed, control will not pass to the next statement 
  10139. following the END-SEARCH, but instead will pass to the statement following the 
  10140. next closest period. 
  10141.  
  10142.  
  10143. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10144.  
  10145. NULL/NULLS is the sending field.  It sets the receiving field to contain the 
  10146. value of an invalid address. 
  10147.  
  10148.  
  10149. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10150.  
  10151. Identifier-1 and index-name-1 are the receiving fields and must name either 
  10152. index data items or elementary numeric integer items. 
  10153.  
  10154.  
  10155. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10156.  
  10157. Index-name-2 is the sending field. 
  10158.  
  10159. The value before the SET statement is executed must correspond to the 
  10160. occurrence number of its associated table. 
  10161.  
  10162.  
  10163. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10164.  
  10165. Identifier-2 is the sending field and must name either an index data item or an 
  10166. elementary numeric integer item. 
  10167.  
  10168.  
  10169. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10170.  
  10171. Integer-1 is the sending field.  It must be a positive integer. 
  10172.  
  10173.  
  10174. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10175.  
  10176. You can specify the sending field as identifier-3, which must be an elementary 
  10177. integer data item. 
  10178.  
  10179.  
  10180. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10181.  
  10182. You can specify the sending field as integer-2, which must be an integer. 
  10183.  
  10184.  
  10185. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10186.  
  10187. You can specify the receiving field with index-name-3. The index-name value, 
  10188. both before and after the SET statement has been executed, must correspond to 
  10189. the occurrence numbers in an associated table. 
  10190.  
  10191.  
  10192. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10193.  
  10194. You must associate mnemonic-name with an external switch, the status of which 
  10195. can be altered. 
  10196.  
  10197.  
  10198. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10199.  
  10200. You must associate condition-name-1 with a conditional variable.  If more than 
  10201. one literal is specified in the VALUE clause of condition-name-1, it is 
  10202. associated condition variable is set equal to the first literal. 
  10203.  
  10204.  
  10205. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10206.  
  10207. You must describe identifier-4, the receiving fields, as USAGE IS POINTER. 
  10208.  
  10209.  
  10210. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10211.  
  10212. Identifier-6, the sending field, may not contain an address within the 
  10213. program's own Working Storage or File Section. It must be described as USAGE IS 
  10214. POINTER. 
  10215.  
  10216.  
  10217. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10218.  
  10219. ADDRESS OF identifier-7, the sending field, contains the address of the 
  10220. identifier, not the content of the identifier. Identifier-7 must name an item 
  10221. in the Linkage Section of any level except 66 or 88. 
  10222.  
  10223.  
  10224. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10225.  
  10226. You must describe procedure-pointer-data-item-1 and 
  10227. procedure-pointer-data-item-2 as USAGE IS PROCEDURE-POINTER. 
  10228. Procedure-pointer-data-item-1 is the receiving field. 
  10229.  
  10230.  
  10231. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10232.  
  10233. You must define identifier-8 as an alphanumeric item such that the value can be 
  10234. a program name. For entry points in non-COBOL programs, identifier-8 can 
  10235. contain the characters @, #, and $. 
  10236.  
  10237. Identifier-8 must refer to one of the following types of entry points: 
  10238.  
  10239.  The primary entry point of a COBOL program as defined by the PROGRAM-ID 
  10240.   statement. The PROGRAM-ID must reference the outermost program of a 
  10241.   compilation unit; it must not reference a nested program. 
  10242.  
  10243.  An alternate entry point of a COBOL program as defined by a COBOL ENTRY 
  10244.   statement. 
  10245.  
  10246.  An entry point in a non-COBOL program. 
  10247.  
  10248.  
  10249. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10250.  
  10251. Literal-1 must be non-numeric and must conform to the rules for formation of a 
  10252. program-name. For entry points in non-COBOL programs, literal-1 can contain the 
  10253. characters @, #, and $. 
  10254.  
  10255. Literal-1 must refer to one of the following types of entry points: 
  10256.  
  10257.  The primary entry point of a COBOL program as defined by the PROGRAM-ID 
  10258.   statement. The PROGRAM-ID must reference the outermost program of a 
  10259.   compilation unit; it must not reference a nested program. 
  10260.  
  10261.  An alternate entry point of a COBOL program as defined by a COBOL ENTRY 
  10262.   statement. 
  10263.  
  10264.  An entry point in a non-COBOL program. 
  10265.  
  10266.  
  10267. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10268.  
  10269. NULL/NULLS sets the receiving field to contain the value of an invalid address. 
  10270.  
  10271.  
  10272. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10273.  
  10274. ADDRESS OF identifier-5, the receiving field, must be level-01 or level-77 
  10275. items defined in the Linkage Section.  The addresses of these items are set to 
  10276. the value of the operand specified in the TO phrase. 
  10277.  
  10278. Identifier-5 must not be reference modified. 
  10279.  
  10280.  
  10281. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10282.  
  10283. File-name-1 is the name given in the SD entry that describes the records to be 
  10284. sorted. 
  10285.  
  10286.  
  10287. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10288.  
  10289. The COLLATING SEQUENCE phrase specifies the collating sequence to be used in 
  10290. nonnumeric comparisons for the KEY data items in this sorting operation. 
  10291.  
  10292. If you omit the COLLATING SEQUENCE phrase, the PROGRAM COLLATING SEQUENCE 
  10293. clause (if specified) in the OBJECT-COMPUTER paragraph specifies the collating 
  10294. sequence to be used.  When you omit both the COLLATING SEQUENCE phrase and the 
  10295. COLLATING SEQUENCE clause, the EBCDIC collating sequence is used. 
  10296.  
  10297.  
  10298. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10299.  
  10300. When you specify the USING phrase, all the records in file-name-2 (the input 
  10301. files) are transferred automatically to file-name-1. 
  10302.  
  10303. All input files must be described in FD entries in the Data Division.  At the 
  10304. time the SORT statement is executed, these files must not be open. 
  10305.  
  10306.  
  10307. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10308.  
  10309. Procedure-name-1 specifies the first (or only) section or paragraph in the 
  10310. INPUT PROCEDURE. 
  10311.  
  10312.  
  10313. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10314.  
  10315. Procedure-name-2 identifies the last section or paragraph of the INPUT 
  10316. PROCEDURE. 
  10317.  
  10318.  
  10319. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10320.  
  10321. The OUTPUT PROCEDURE phrase specifies the name of a procedure to select or 
  10322. modify output records from the sorting operation. 
  10323.  
  10324.  
  10325. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10326.  
  10327. If you specify the DUPLICATES phrase, and the contents of all the key elements 
  10328. associated with one record are equal to the corresponding key elements in one 
  10329. or more other records, the order of these records is as follows: 
  10330.  
  10331.  The order of the associated input files as specified in SORT. Within a given 
  10332.   file the order is that in which the records are accessed from that file, 
  10333.  The order in which an input procedure releases these records, when an input 
  10334.   procedure is specified. 
  10335.  
  10336. If you do not specify the DUPLICATES phrase, the order of these records is 
  10337. undefined. 
  10338.  
  10339.  
  10340. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10341.  
  10342. The ASCENDING/DESCENDING KEY phrase specifies that records are to be processed 
  10343. in ascending or descending sequence (depending on the phrase specified), based 
  10344. on the specified sort keys. 
  10345.  
  10346.  
  10347. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10348.  
  10349. When the GIVING phrase is specified, all the sorted records in file-name-1 are 
  10350. automatically transferred to the output files (file-name-3,...). 
  10351.  
  10352. File-name-3 represents the output files.  All output files must be described in 
  10353. FD entries in the Data Division. 
  10354.  
  10355.  
  10356. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10357.  
  10358. Procedure-name-3 specifies the first (or only) section or paragraph in the 
  10359. OUTPUT PROCEDURE phrase. 
  10360.  
  10361.  
  10362. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10363.  
  10364. Procedure-name-4 identifies the last section or paragraph of the OUTPUT 
  10365. PROCEDURE. 
  10366.  
  10367.  
  10368. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10369.  
  10370. The INPUT PROCEDURE phrase specifies the name of a procedure to select or 
  10371. modify input records before the sorting operation begins. 
  10372.  
  10373.  
  10374. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10375.  
  10376. When you specify the KEY phrase, the file position indicator is positioned at 
  10377. the logical record in the file whose key field satisfies the comparison. 
  10378.  
  10379. When you do not specify the KEY phrase, KEY IS EQUAL (to the prime record key) 
  10380. is implied, and the file position indicator is positioned at the logical record 
  10381. in the file. 
  10382.  
  10383.  
  10384. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10385.  
  10386. Data-name-1 can be any of the following: 
  10387.  
  10388.  The prime RECORD KEY 
  10389.  Any ALTERNATE RECORD KEY 
  10390.  An alphanumeric data item within a record description for a file whose 
  10391.   leftmost character position corresponds to the leftmost character position of 
  10392.   that record key; it may be qualified. The data item must be less than or 
  10393.   equal to the length of the record key of the file. 
  10394.  
  10395. Data-name-1 need not be an alphanumeric item.  However, for purposes of the I/O 
  10396. operation, it will be treated as an alphanumeric item. 
  10397.  
  10398. Data-name-1 may be qualified; it may not be subscripted. 
  10399.  
  10400.  
  10401. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10402.  
  10403. File-name must name a file with sequential or dynamic access (not a sort file) 
  10404. and be defined in an FD entry in the Data Division. 
  10405.  
  10406.  
  10407. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10408.  
  10409. Literal may be numeric or non-numeric.  It may be any figurative constant, 
  10410. except ALL literal. Literal may be a signed numeric integer or non-integer 
  10411. literal, but may not be a floating point literal. 
  10412.  
  10413.  
  10414. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10415.  
  10416. Identifier-1 represents the sending field or fields. Identifier-1 must have, 
  10417. explicitly or implicitly, USAGE DISPLAY. 
  10418.  
  10419. When the sending field or any of the delimiters is an elementary numeric item, 
  10420. it must be described as an integer, and its PICTURE character-string must not 
  10421. contain the symbol P. 
  10422.  
  10423. If identifier-1, identifier-2, identifier-3, literal-1, or literal-2 is a DBCS 
  10424. item, then all of them must be DBCS items.  In that case, identifier-4 (the 
  10425. pointer field) indicates the relative DBCS character position, not the relative 
  10426. byte position, in the receiving field. 
  10427.  
  10428.  
  10429. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10430.  
  10431. Identifier-4 represents the pointer field, which points to a character position 
  10432. in the receiving field. 
  10433.  
  10434. If identifier-1, identifier-2, identifier-3, literal-1, or literal-2 is a DBCS 
  10435. item, then all of them must be DBCS items.  In that case, identifier-4 (the 
  10436. pointer field) indicates the relative DBCS character position, not the relative 
  10437. byte position, in the receiving field. 
  10438.  
  10439.  
  10440. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10441.  
  10442. Identifier-3 represents the receiving field.  It must not represent an edited 
  10443. data item, and must not be described with the JUSTIFIED clause or be reference 
  10444. modified. 
  10445.  
  10446. Identifier-3 must have, explicitly or implicitly, USAGE DISPLAY. 
  10447.  
  10448. If identifier-1, identifier-2, identifier-3, literal-1, or literal-2 is a DBCS 
  10449. item, then all of them must be DBCS items.  In that case, identifier-4 (the 
  10450. pointer field) indicates the relative DBCS character position, not the relative 
  10451. byte position, in the receiving field. 
  10452.  
  10453.  
  10454. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10455.  
  10456. Literal-1 represents the sending fields. Literal-1 must be a nonnumeric 
  10457. literal; it may be any figurative constant except the ALL literal. When you 
  10458. specify a figurative constant, it is considered a 1-character nonnumeric 
  10459. literal. 
  10460.  
  10461. If identifier-1, identifier-2, identifier-3, literal-1, or literal-2 is a DBCS 
  10462. item, then all of them must be DBCS items.  In that case, identifier-4 (the 
  10463. pointer field) indicates the relative DBCS character position, not the relative 
  10464. byte position, in the receiving field. SPACE is the only figurative constant 
  10465. allowed for DBCS items. 
  10466.  
  10467.  
  10468. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10469.  
  10470. Literal-2 is a delimiter; that is, a character that delimits the data to be 
  10471. transferred. Literal-2 must be a nonnumeric literal; it may be any figurative 
  10472. constant except the ALL literal. When you specify a figurative constant, it is 
  10473. considered a 1-character nonnumeric literal. 
  10474.  
  10475. If identifier-1, identifier-2, identifier-3, literal-1, or literal-2 is a DBCS 
  10476. item, then all of them must be DBCS items.  In that case, identifier-4 (the 
  10477. pointer field) indicates the relative DBCS character position, not the relative 
  10478. byte position, in the receiving field. SPACE is the only figurative constant 
  10479. allowed for DBCS items. 
  10480.  
  10481.  
  10482. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10483.  
  10484. DELIMITED BY sets the limits of the string. 
  10485.  
  10486.  
  10487. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10488.  
  10489. Identifier-2 delimits the data to be transferred. 
  10490.  
  10491. Identifier-2 must have, explicitly or implicitly, USAGE DISPLAY. 
  10492.  
  10493. If identifier-1, identifier-2, identifier-3, literal-1, or literal-2 is a DBCS 
  10494. item, then all of them must be DBCS items.  In that case, identifier-4 (the 
  10495. pointer field) indicates the relative DBCS character position, not the relative 
  10496. byte position, in the receiving field. 
  10497.  
  10498.  
  10499. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10500.  
  10501. SIZE transfers the complete sending area. 
  10502.  
  10503.  
  10504. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10505.  
  10506. Imperative-statement-1 is executed when the pointer value, explicit or 
  10507. implicit, is less than 1 or exceeds a value equal to the length of the 
  10508. receiving field. No more data is transferred when the condition is met. 
  10509.  
  10510.  
  10511. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10512.  
  10513. In Format 1, identifier must name an elementary numeric item. 
  10514.  
  10515. You can use floating-point data items and literals anywhere numeric data items 
  10516. and literals can be specified. 
  10517.  
  10518.  
  10519. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10520.  
  10521. In all formats, literal must be numeric. 
  10522.  
  10523. You can use floating-point data items and literals anywhere numeric data items 
  10524. and literals can be specified. 
  10525.  
  10526.  
  10527. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10528.  
  10529. In Format 2, identifier must name an elementary numeric item, unless the 
  10530. identifier follows the word GIVING, in which case it must name an elementary 
  10531. numeric or numeric-edited item. 
  10532.  
  10533. You can use floating-point data items and literals anywhere numeric data items 
  10534. and literals can be specified. 
  10535.  
  10536.  
  10537. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10538.  
  10539. In Format 3, identifier must name a group item. 
  10540.  
  10541. You can use floating-point data items and literals anywhere numeric data items 
  10542. and literals can be specified. 
  10543.  
  10544.  
  10545. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10546.  
  10547. Identifier-1 represents the sending field. Data is transferred from this field 
  10548. to the receiving fields. Identifier-1 may be an alphanumeric-edited or an 
  10549. alphabetic data item. It may also be a DBCS data item. 
  10550.  
  10551.  
  10552. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10553.  
  10554. Identifier-2 and identifier-3 each represent one delimiter and must be an 
  10555. alphanumeric or a DBCS data item.  If either are DBCS items, both must be. 
  10556.  
  10557.  
  10558. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10559.  
  10560. Identifier-4 represents the data receiving fields. Each field must have USAGE 
  10561. DISPLAY.  You can define these fields as alphabetic, alphanumeric, or numeric. 
  10562. Numeric items cannot have the symbol P in their picture string.  Do not define 
  10563. this field as alphanumeric-edited or numeric-edited.  Data is transferred to 
  10564. this field from the sending field. 
  10565.  
  10566. Identifier-4 can be a DBCS item, but it cannot be a floating point item. 
  10567.  
  10568.  
  10569. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10570.  
  10571. The DELIMITED BY phrase specifies delimiters within the data that controls the 
  10572. data transfer.  If you do not specify the DELIMITED BY phrase, do not specify 
  10573. either the DELIMITER IN or the COUNT IN phrase. 
  10574.  
  10575.  
  10576. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10577.  
  10578. Literal-1 and literal-2 must be either nonnumeric literals or DBCS literals. If 
  10579. either are DBCS literals, both must be. 
  10580.  
  10581. Each may be any figurative constant except the ALL literal. When you specify a 
  10582. figurative constant, it is considered to be a 1-character nonnumeric literal. 
  10583. Only the figurative constant SPACE is allowed for DBCS literals. 
  10584.  
  10585.  
  10586. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10587.  
  10588. Unless you specify DELIMITED BY, you must not specify DELIMITER IN or COUNT. 
  10589.  
  10590. DELIMITER IN represents the delimiter-receiving fields. 
  10591.  
  10592. Identifier-5 must be alphanumeric.  It can be a DBCS item. 
  10593.  
  10594.  
  10595. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10596.  
  10597. In the POINTER phrase, identifier-7 must be an integer data item defined 
  10598. without the symbol P in the PICTURE clause.  It contains a value that indicates 
  10599. a relative position in the sending field. When you specify the POINTER phrase, 
  10600. you must initialize this field before beginning to execute the UNSTRING 
  10601. statement. 
  10602.  
  10603. When identifier-1 (the sending field) is a DBCS item, identifier-7 indicates 
  10604. the relative DBCS character position, not the relative byte position, in the 
  10605. sending field. 
  10606.  
  10607.  
  10608. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10609.  
  10610. With the TALLYING phrase, identifier-8 represents the field-count field. 
  10611. Identifier-8 is increased by the number of data receiving fields acted upon 
  10612. when executing the UNSTRING statement. When you specify identifier-8, you must 
  10613. initialize this field before the UNSTRING statement is executed. 
  10614.  
  10615.  
  10616. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10617.  
  10618. The COUNT IN phrase must be an integer item. Do not specify this phrase unless 
  10619. you also specify the DELIMITED BY phrase. 
  10620.  
  10621. Identifier-6 is the data-count field for each data transfer. Each field holds 
  10622. the count of examined characters in the sending field. It is terminated by the 
  10623. delimiters or the end of the sending field, for the move to this receiving 
  10624. field. The delimiters are not included in this count. 
  10625.  
  10626. When identifier-1 (the sending field) is a DBCS item, identifier-6 indicates 
  10627. the number of DBCS characters, not the number of bytes, examined in the sending 
  10628. field. 
  10629.  
  10630.  
  10631. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10632.  
  10633. The ON OVERFLOW imperative-statement-1 phrase is executed when: 
  10634.  
  10635.  The pointer value (explicit or implicit) is less than 1. 
  10636.  The pointer value (explicit or implicit) exceeds a value equal to the length 
  10637.   of the sending field. 
  10638.  All data receiving fields have been acted upon, and the sending field still 
  10639.   contains unexamined characters. 
  10640.  
  10641.  
  10642. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10643.  
  10644. Record-name-1 must be defined in a Data Division FD entry. Record-name-1 may be 
  10645. qualified, but must not be associated with a sort or merge file. 
  10646.  
  10647. Record-name-1 may define a floating point item or a DBCS item. If record-name-1 
  10648. is a DBCS item, identifier-1 must be a DBCS item. 
  10649.  
  10650.  
  10651. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10652.  
  10653. FROM identifier-1 makes the WRITE statement equivalent to the execution of the 
  10654. following two statements: 
  10655.  
  10656. MOVE identifier-1 TO record-name-1 
  10657. WRITE record-name-1 
  10658.  
  10659. The MOVE is performed according to the rules for the MOVE statement without the 
  10660. CORRESPONDING phrase. 
  10661.  
  10662. Identifier-1 must be the name of a WORKING-STORAGE SECTION or LINKAGE SECTION 
  10663. entry, a record description for another previously opened file, or an 
  10664. alphanumeric function identifier. 
  10665.  
  10666. Identifier-1 may be a DBCS or floating-point data item. 
  10667.  
  10668. Identifier-1 and record-name-1 must not refer to the same storage area. 
  10669.  
  10670. After the WRITE statement has successfully executed, the logical record is 
  10671. still available in identifier-1. 
  10672.  
  10673.  
  10674. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10675.  
  10676. The ADVANCING phrase controls the positioning of the output record on the page. 
  10677.  
  10678.  
  10679. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10680.  
  10681. When you specify END-OF-PAGE, and the logical end of the printed page is 
  10682. reached during execution of the WRITE statement, the END-OF-PAGE imperative 
  10683. statement is executed. When END-OF-PAGE is specified, the FD entry for this 
  10684. file must contain a LINAGE clause. The logical end of the printed page is 
  10685. specified in the associated LINAGE clause. 
  10686.  
  10687.  
  10688. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10689.  
  10690. Identifier-2 must be an integer data item. 
  10691.  
  10692.  
  10693. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10694.  
  10695. Record-name-1 must be defined in a Data Division FD entry.  It may be 
  10696. qualified, but must not be associated with a sort or merge file. 
  10697.  
  10698. The number of character positions in the record-name may be different from the 
  10699. number of character positions in the record being replaced. 
  10700.  
  10701. Record-name-1 may define a floating point item or a DBCS item. If record-name-1 
  10702. is a DBCS item, identifier-1 must be a DBCS item. 
  10703.  
  10704.  
  10705. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10706.  
  10707. If you specify the NOT INVALID KEY phrase and a valid key condition exists at 
  10708. the end of the execution of the WRITE statement, control is passed to the 
  10709. imperative statement associated with this phrase. 
  10710.  
  10711. Click here for further information about the invalid key condition. 
  10712.  
  10713.  
  10714. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10715.  
  10716. Argument-1 must be class numeric.  The value of argument-1 must be greater than 
  10717. or equal to -1 and less than or equal to +1. 
  10718.  
  10719.  
  10720. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10721.  
  10722. Argument-1 must be class numeric.  The value of argument-1 must be greater than 
  10723. or equal to zero. 
  10724.  
  10725. Argument-2 must be a positive integer. 
  10726.  
  10727.  
  10728. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10729.  
  10730. Argument-1 must be class numeric.  The value of argument-1 must be greater than 
  10731. or equal to -1 and less than or equal to +1. 
  10732.  
  10733.  
  10734. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10735.  
  10736. Argument-1 must be class numeric. 
  10737.  
  10738.  
  10739. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10740.  
  10741. Argument-1 must be an integer.  The value of argument-1 must be greater than 
  10742. zero and less than or equal to the number of positions in the collating 
  10743. sequence. 
  10744.  
  10745.  
  10746. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10747.  
  10748. Argument-1 must be class numeric. 
  10749.  
  10750.  
  10751. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10752.  
  10753. Argument-1 is a positive integer that represents the number of days since 
  10754. December 31, 1600, in the Gregorian calendar.  The valid range is 1 to 
  10755. 3,067,671. 
  10756.  
  10757.  
  10758. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10759.  
  10760. Argument-1 is a positive integer that represents a number of days succeeding 
  10761. December 31, 1600, in the Gregorian calendar. The valid range is 1 to 3,067,671 
  10762. (December 31, 9999). 
  10763.  
  10764.  
  10765. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10766.  
  10767. Argument-1 must be an integer greater than or equal to zero and less than or 
  10768. equal to 28. 
  10769.  
  10770.  
  10771. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10772.  
  10773. Argument-1 must be class numeric. 
  10774.  
  10775.  
  10776. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10777.  
  10778. Argument-1 must be an integer in the form YYYYMMDD whose value is (YYYY * 
  10779. 10000) + (MM * 100) + DD. 
  10780.  
  10781.  YYYY represents the year in the Gregorian calendar.  It must be an integer 
  10782.   greater than 1600, but not greater than 9999. 
  10783.  
  10784.  MM represents a month and must be a positive integer less than 13. 
  10785.  
  10786.  DD represents the day of the year.  It must be a positive integer less than 
  10787.   32, provided that it is valid for the specific month and year combination. 
  10788.  
  10789.  
  10790. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10791.  
  10792. Argument-1 must be an integer in the form YYYYDDD whose value is obtained from 
  10793. the calculation (YYYY * 1000) + DDD. 
  10794.  
  10795.  YYYY represents the year in the Gregorian calendar. It must be an integer 
  10796.   greater than 1600, but not greater than 9999. 
  10797.  
  10798.  DDD represents the day of the year.  It must be a positive integer less than 
  10799.   367, provided it is valid for the year specified. 
  10800.  
  10801.  
  10802. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10803.  
  10804.  Argument-1 must be class numeric. 
  10805.  
  10806.  If the value of the argument-1 is positive, the returned value is the 
  10807.   greatest integer less than or equal to the value of argument specified. 
  10808.  
  10809.  If the value of argument-1 is negative, the returned value is the least 
  10810.   integer greater than or equal to the value of argument-1. 
  10811.  
  10812.  If the value of argument-1 is zero, the returned value is zero. 
  10813.  
  10814.  
  10815. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10816.  
  10817.  Argument-1 may be a non-numeric literal or a data item of any class or 
  10818.   category (except DISPLAY-1). 
  10819.  
  10820.  If argument-1, or any data item subordinate to argument-1, is described with 
  10821.   the DEPENDING phrase of the OCCURS clause, the contents of the data-name 
  10822.   specified in the DEPENDING phrase is used at the time the LENGTH function is 
  10823.   evaluated. 
  10824.  
  10825.  
  10826. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10827.  
  10828. Argument-1 must be class numeric.  The value of argument-1 must be greater than 
  10829. zero. 
  10830.  
  10831.  
  10832. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10833.  
  10834. Argument-1 must be class numeric.  The value must be greater than zero. 
  10835.  
  10836.  
  10837. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10838.  
  10839. Argument-1 must be class alphabetic or alphanumeric and must be at least 1 
  10840. character in length. 
  10841.  
  10842.  
  10843. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10844.  
  10845.  If more than one argument is specified, all arguments must be of the same 
  10846. class.  The mixture of alphabetic and alphanumeric arguments is allowed. 
  10847.  
  10848.  
  10849. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10850.  
  10851. Argument-1 must be class numeric. 
  10852.  
  10853.  
  10854. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10855.  
  10856. Argument-1 must be class numeric. 
  10857.  
  10858.  
  10859. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10860.  
  10861. Argument-1 must be class numeric. 
  10862.  
  10863.  
  10864. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10865.  
  10866. If more than one argument is specified, all arguments must be of the same 
  10867. class.  The mixture of alphabetic and alphanumeric arguments is allowed. 
  10868.  
  10869.  
  10870. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10871.  
  10872. Argument-1 must be an integer. 
  10873.  
  10874. Argument-2 must be an integer, but must not be zero. 
  10875.  
  10876.  
  10877. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10878.  
  10879. Space is a string of one or more spaces. 
  10880.  
  10881.  
  10882. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10883.  
  10884. Digit is a string of one or more digits.  The total number of digits must not 
  10885. exceed 18. 
  10886.  
  10887.  
  10888. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10889.  
  10890. Space is a string of one or more spaces. 
  10891.  
  10892.  
  10893. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10894.  
  10895. cs is the string of one or more characters specified by argument-2. At most, 
  10896. one copy of the characters specified by cs may occur in argument. 
  10897.  
  10898.  
  10899. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10900.  
  10901. Digit is a string of one or more digits.  The total number of digits must not 
  10902. exceed 18. 
  10903.  
  10904.  
  10905. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10906.  
  10907. If you specify argument-2, it must be a nonnumeric literal or alphanumeric data 
  10908. item, subject to the following rules: 
  10909.  
  10910.  argument-2 must not contain any of the digits 0 through 9, any leading or 
  10911.   trailing spaces, or any of the special characters + - . , 
  10912.  argument-2 may be of any length valid for an elementary or group data item, 
  10913.   including zero 
  10914.  matching of argument-2 is case-sensitive. For example, if you specify 
  10915.   argument-2 as 'Dm', it will not match 'DM', 'dm' or 'dM'. 
  10916.  
  10917. If argument-2 is not specified, the character used for cs is the currency 
  10918. symbol specified for the program. 
  10919.  
  10920.  
  10921. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10922.  
  10923. Argument-1 must be 1 character in length and must be either alphabetic or 
  10924. alphanumeric. 
  10925.  
  10926.  
  10927. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10928.  
  10929. If more than one argument-1 is specified, all arguments must be of the same 
  10930. class.  A combination of alphabetic and alphanumeric arguments is allowed. 
  10931.  
  10932.  
  10933. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10934.  
  10935. If more than one argument-1 is specified, all arguments must be of the same 
  10936. class.  A combination of alphabetic and alphanumeric arguments is allowed. 
  10937.  
  10938.  
  10939. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10940.  
  10941. Argument-1 must be class numeric and must be greater than -1. 
  10942.  
  10943.  
  10944. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10945.  
  10946. Argument-2 must be class numeric. 
  10947.  
  10948.  
  10949. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10950.  
  10951. Argument-1 must be class numeric. 
  10952.  
  10953.  
  10954. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10955.  
  10956. Argument-1 must be class numeric. 
  10957.  
  10958.  
  10959. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10960.  
  10961. Argument-2 must be class numeric and must not be zero. 
  10962.  
  10963.  
  10964. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10965.  
  10966.  Argument-1 must be class alphabetic or alphanumeric, at least one character 
  10967.   in length. 
  10968.  
  10969.  If argument-1 is a character of length n, the returned value is a character 
  10970.   string of length n such that, for 1 <= j <= n, the character in position j of 
  10971.   the returned value is the character from position n-j+1 of argument-1. 
  10972.  
  10973.  
  10974. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10975.  
  10976. Argument-1 must be class numeric. 
  10977.  
  10978.  
  10979. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10980.  
  10981. Argument-1 must be class numeric.  The value must be zero or positive. 
  10982.  
  10983.  
  10984. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10985.  
  10986. Argument-1 must be class numeric. 
  10987.  
  10988.  
  10989. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10990.  
  10991. Argument-1 must be class numeric. 
  10992.  
  10993.  
  10994. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  10995.  
  10996. Argument-1 must be class numeric. 
  10997.  
  10998.  
  10999. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11000.  
  11001. Argument-1 must be class alphabetic or alphanumeric and must be at least 1 
  11002. character in length. 
  11003.  
  11004.  
  11005. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11006.  
  11007. Argument-1 must be class numeric. 
  11008.  
  11009.  
  11010. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11011.  
  11012. BASIS may appear anywhere in columns 1 through 72, followed by basis-name. 
  11013. There must be no other text in the statement. 
  11014.  
  11015.  
  11016. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11017.  
  11018. Sequence-number may appear optionally in columns 1 through 6, followed by a 
  11019. space. The content of this field is ignored. 
  11020.  
  11021.  
  11022. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11023.  
  11024. Basis-name is the name by which the library entry is known to the control 
  11025. program. It must follow the rules for formation of a program-name. The first 8 
  11026. characters of basis-name are used as the identifying name and must be unique 
  11027. within this library. 
  11028.  
  11029.  
  11030. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11031.  
  11032. Literal-1 is the name by which the library entry is known to the control 
  11033. program. The first 8 characters of literal-1 are used as the identifying name 
  11034. and must be unique within this library. 
  11035.  
  11036. Literal-1 must be nonnumeric and must follow the rules for formation of a 
  11037. program-name in the outermost program. 
  11038.  
  11039.  
  11040. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11041.  
  11042.  Place the CBL(PROCESS) statement before the Identification Division header of 
  11043.   an outermost program. 
  11044.  You may also specify the statement preceded by a sequence number in columns 1 
  11045.   through 6. The first character of the sequence number must be numeric, and 
  11046.   CBL or PROCESS may begin in column 8 or after. However, if a sequence number 
  11047.   is not specified, CBL or PROCESS may begin in column 1 or after. 
  11048.  The statement must not exceed beyond column 72, and options cannot be 
  11049.   continued across multiple CBL (PROCESS) statements.  However, you can use 
  11050.   more than one CBL (PROCESS) statement. If you do use multiple statements, 
  11051.   they must follow one another with no intervening statements of any other 
  11052.   type. 
  11053.  
  11054.  
  11055. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11056.  
  11057.  The options-list is a series of one or more compiler options, each one 
  11058.   separated by a comma or a space. 
  11059.  Specify these options in the PARM field of the JCL or on the PROCESS 
  11060.   statement in your program.  Or, under TSO, specify options through parameters 
  11061.   (arguments) on the command that starts the compilation.  In addition, under 
  11062.   CMS, compiler options can be specified with the COBOL2 command. 
  11063.  
  11064.  
  11065. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11066.  
  11067. Start the characters *CONTROL or *CBL in any column beginning with column 7, 
  11068. followed by at least one space or comma and one or more option key words.  The 
  11069. option key words must be separated by one or more spaces or commas.  This 
  11070. statement must be the only statement on the line, and continuation is not 
  11071. possible.  The statement may be terminated with a period. 
  11072.  
  11073.  
  11074. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11075.  
  11076. Specify SOURCE in order to get a listing of the input source program lines. 
  11077.  
  11078.  
  11079. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11080.  
  11081. Specify NOSOURCE in order to suppress the printing of the source listing. 
  11082.  
  11083.  
  11084. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11085.  
  11086. Specify LIST in order to get a listing of generated object code. 
  11087.  
  11088.  
  11089. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11090.  
  11091. Specify NOLIST in order to suppress the listing of generated object code. 
  11092.  
  11093.  
  11094. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11095.  
  11096. Specify MAP in order to get a listing of storage map entries. 
  11097.  
  11098.  
  11099. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11100.  
  11101. Specify NOMAP in order to suppress the listing of storage map entries. 
  11102.  
  11103.  
  11104. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11105.  
  11106. Each COPY statement must be preceded by a space and ended with a separator 
  11107. period. 
  11108.  
  11109. A COPY statement may appear in the source program anywhere a character string 
  11110. or a separator may appear.  However, a COPY statement must not be specified 
  11111. within a COPY statement. 
  11112.  
  11113. As an IBM extension, COPY statements can be nested.  However, nested COPY 
  11114. statements cannot contain the REPLACING phrase, and a COPY statement with the 
  11115. REPLACING phrase cannot contain nested COPY statements. Also, a COPY statement 
  11116. may not cause recursion.  That is, a COPY member may be named only once in a 
  11117. set of nested COPY statements until the end-of-file for that COPY member is 
  11118. reached. 
  11119.  
  11120.  
  11121. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11122.  
  11123. Text-name must follow the rules for formation of a program-name. The first 8 
  11124. characters of text-name are used as the identifying name and must be unique 
  11125. within one COBOL library. 
  11126.  
  11127.  
  11128. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11129.  
  11130. Literal-1 must be nonnumeric and must follow the rules for the formation of a 
  11131. program-name in the outermost program. The first 8 characters of literal-1 are 
  11132. used as the identifying name and must be unique within one COBOL library. 
  11133.  
  11134.  
  11135. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11136.  
  11137. Library-name must follow the rules for formation of a program-name. The first 8 
  11138. characters of library-name are used as the identifying name and must be unique 
  11139. within the system. 
  11140.  
  11141.  
  11142. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11143.  
  11144. Literal-2 must be nonnumeric and must follow the rules for the formation of a 
  11145. program-name in the outermost program. The first 8 characters of literal-2 are 
  11146. used as the identifying name and must be unique within the system. 
  11147.  
  11148.  
  11149. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11150.  
  11151. The SUPPRESS phrase specifies that the library text is not to be printed on the 
  11152. source program listing. 
  11153.  
  11154.  
  11155. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11156.  
  11157. Operand-1, operand-2 may be either pseudo-text, an identifier, a 
  11158. function-identifier, a literal, or a COBOL word other than COPY. 
  11159.  
  11160.  
  11161. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11162.  
  11163.  Specify anywhere in columns 1 through 72.  It must be followed by a space and 
  11164.   the sequence-number-field.  There must be no other text in the statement. 
  11165.  
  11166.  Source program statements may follow a DELETE statement. 
  11167.  
  11168.  New source program statements following the DELETE statement may 
  11169. include USAGE DISPLAY-1(DBCS) items. 
  11170.  
  11171. Note:   If you use INSERT or DELETE statements to modify the COBOL source 
  11172.         program provided by BASIS statement, the sequence field of the COBOL 
  11173.         source program must contain numeric sequence-numbers in ascending 
  11174.         order.  Any INSERT or DELETE statements referring to these 
  11175.         sequence-numbers must occur in ascending order. 
  11176.  
  11177.  
  11178. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11179.  
  11180.  Each number must be equal to a sequence-number in the BASIS source program. 
  11181.   This sequence number is the 6-digit number the programmer assigns in columns 
  11182.   1 through 6 of the COBOL coding form. The numbers referenced in the 
  11183.   sequence-number-fields of any INSERT or DELETE statements must always be 
  11184.   specified in ascending numeric order. 
  11185.  
  11186.  The sequence-number-field must be one of the following: 
  11187.  
  11188.    - A single number 
  11189.  
  11190.    - A series of single numbers 
  11191.  
  11192.    - A range of numbers (indicated by separating the two bounding numbers of 
  11193.      the range by a hyphen) 
  11194.  
  11195.    - A series of ranges of numbers 
  11196.  
  11197.    - Any combination of one or more single numbers and one or more ranges of 
  11198.      numbers. 
  11199.  
  11200.  Each entry in the sequence-number-field must be separated from the preceding 
  11201.   entry by a comma followed by a space.  For example: 
  11202.  
  11203.   000250 DELETE 000010-0000050, 000400, 000450 
  11204.  
  11205.  
  11206. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11207.  
  11208. You may optionally specify sequence-number in columns 1 through 6, followed by 
  11209. a space. The content of this field is ignored. 
  11210.  
  11211.  
  11212. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11213.  
  11214. May appear anywhere within columns 1 through 72, followed by a space and the 
  11215. sequence-number-field.  There must be no other text in the statement. 
  11216.  
  11217.  
  11218. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11219.  
  11220.  Each number must be equal to a sequence-number in the BASIS source program. 
  11221.   This sequence-number is the 6-digit number the programmer assigns in columns 
  11222.   1 through 6 of the COBOL coding form. 
  11223.  
  11224.  The numbers that you reference in the sequence-number-fields of any INSERT or 
  11225.   DELETE statements must always be specified in ascending numeric order. 
  11226.  
  11227.  The sequence-number-field must be a single number (for example, 000130). 
  11228.   Follow the INSERT statement with at least one new source program statement 
  11229.   for insertion after the statement number that you specify by the 
  11230.   sequence-number-field. 
  11231.  
  11232.  
  11233. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11234.  
  11235. May optionally appear in columns 1 through 6, followed by a space. The content 
  11236. of this field is ignored. 
  11237.  
  11238.  
  11239. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11240.  
  11241.  You may use the REPLACE statement anywhere in the source program where a 
  11242.   character-string may occur.  Precede it with a separator period, except when 
  11243.   it is the first statement in a separately compiled program.  End it with a 
  11244.   separator period also. 
  11245.  
  11246.  If you use the word REPLACE in a comment-entry or in the place where a 
  11247.   comment-entry may appear, it is considered part of the comment-entry. 
  11248.  
  11249.  You may use the REPLACE statement with DBCS literals and DBCS data names. 
  11250.  
  11251.  Lines containing *CONTROL(*CBL), EJECT, SKIP1/2/3, or TITLE statements may 
  11252.   occur in source program text. Such lines are treated as comment lines during 
  11253.   REPLACE statement processing. 
  11254.  
  11255.  
  11256. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11257.  
  11258.  Pseudo-text-1 may contain one or more text words, or it may consist entirely 
  11259.   of a separator comma or a separator semicolon.  Character-strings may be 
  11260.   continued. 
  11261.  
  11262.  Each matched occurrence of pseudo-text-1 in the source program is replaced by 
  11263.   the corresponding pseudo-text-2. 
  11264.  
  11265.  Any individual character-string within pseudo-text may be up to 323 
  11266.   characters long. 
  11267.  
  11268.  The character-strings and separators comprising pseudo-text may start in 
  11269.   either area A or area B. If, however, there is a hyphen in the indicator area 
  11270.   of a line that follows the opening pseudo-text delimiter, area A of the line 
  11271.   must be blank;  the normal rules for continuation of lines apply to the 
  11272.   formation of text words. 
  11273.  
  11274. Note Characters outside the standard COBOL character set should not appear in 
  11275. pseudo-text, other than as part of nonnumeric literals, comment lines, or 
  11276. comment-entries. 
  11277.  
  11278.  
  11279. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11280.  
  11281.  Pseudo-text-2 may contain zero, one, or more text words.  Character-strings 
  11282.   may be continued. 
  11283.  
  11284.  Each matched occurrence of pseudo-text-1 in the source program is replaced by 
  11285.   the corresponding pseudo-text-2. 
  11286.  
  11287.  Any individual character-string within pseudo-text may be up to 323 
  11288.   characters long. 
  11289.  
  11290.  The character-strings and separators comprising pseudo-text may start in 
  11291.   either area A or area B. If, however, there is a hyphen in the indicator area 
  11292.   of a line that follows the opening pseudo-text delimiter, area A of the line 
  11293.   must be blank;  the normal rules for continuation of lines apply to the 
  11294.   formation of text words. 
  11295.  
  11296. NoteCharacters outside the standard COBOL character set should not appear in 
  11297. pseudo-text, other than as part of nonnumeric literals, comment lines, or 
  11298. comment-entries. 
  11299.  
  11300.  
  11301. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11302.  
  11303. The SERVICE LABEL statement may appear only in the Procedure Division; it may 
  11304. not appear in the Declaratives Section. 
  11305.  
  11306. At the statement that follows the SERVICE LABEL statement, all registers that 
  11307. may no longer be valid are reloaded. 
  11308.  
  11309.  
  11310. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11311.  
  11312. SKIP1 specifies that a single blank line is to be inserted in the source 
  11313. listing. 
  11314.  
  11315. You may write SKIP1 anywhere in either Area A or Area B, and you may end it 
  11316. with a separator period.  It must be the only statement on the line. 
  11317.  
  11318.  
  11319. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11320.  
  11321. SKIP2 specifies that two blank lines are to be inserted in the source listing. 
  11322.  
  11323. You may write SKIP2 anywhere in either Area A or Area B, and you may end it 
  11324. with a separator period.  It must be the only statement on the line. 
  11325.  
  11326.  
  11327. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11328.  
  11329. SKIP3 specifies that three blank lines are to be inserted in the source 
  11330. listing. 
  11331.  
  11332. You may write SKIP3 anywhere in either Area A or Area B, and you may end it 
  11333. with a separator period.  It must be the only statement on the line. 
  11334.  
  11335.  
  11336. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11337.  
  11338.  The word TITLE may begin in either Area A or Area B. 
  11339.  
  11340.  The TITLE statement may not be continued on another line. 
  11341.  
  11342.  The TITLE statement may appear anywhere in any of the divisions. 
  11343.  
  11344.  No other statement may appear on the same line as the TITLE statement. 
  11345.  
  11346.  
  11347. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11348.  
  11349.  Literal must be nonnumeric and may be followed by a separator period. 
  11350.  
  11351.  Literal may be a DBCS literal. 
  11352.  
  11353.  Literal must not be a figurative constant. 
  11354.  
  11355.  
  11356. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11357.  
  11358. INPUT is valid for all files.  When you specify INPUT, the procedure is 
  11359. executed for all files opened in INPUT mode or in the process of being opened 
  11360. in INPUT mode that get an error. 
  11361.  
  11362.  
  11363. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11364.  
  11365. OUTPUT is valid for all files.  When you specify OUTPUT, the procedure is 
  11366. executed for all files opened in OUTPUT mode or in the process of being opened 
  11367. in OUTPUT mode that get an error. 
  11368.  
  11369.  
  11370. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11371.  
  11372. I-O is valid for all direct-access files.  When you specify I-O, the procedure 
  11373. is executed for all files opened in I-O mode or in the process of being opened 
  11374. in I-O mode that get an error. 
  11375.  
  11376.  
  11377. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11378.  
  11379. EXTEND is valid for all files.  When you specify EXTEND, the procedure is 
  11380. executed for all files opened in EXTEND mode, or in the process of being opened 
  11381. in EXTEND mode that get an error. 
  11382.  
  11383.  
  11384. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11385.  
  11386. File-name-1 is valid for all files. When you specify file-name-1, the procedure 
  11387. is executed only for the file(s) named. No file-name can refer to a sort or 
  11388. merge file.  For any given file, only one EXCEPTION/ERROR procedure may be 
  11389. specified; thus, file-name specification must not cause simultaneous requests 
  11390. for execution of more than one EXECUTION/ERROR procedure. 
  11391.  
  11392. A USE AFTER EXCEPTION/ERROR declarative statement specifying the name of a file 
  11393. takes precedence over a declarative statement specifying the open mode of the 
  11394. file. 
  11395.  
  11396.  
  11397. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11398.  
  11399. When you specify INPUT, the user label procedures are executed only for files 
  11400. opened as INPUT. 
  11401.  
  11402.  
  11403. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11404.  
  11405. When you specify OUTPUT, the user label procedures are executed only for files 
  11406. opened as OUTPUT. 
  11407.  
  11408.  
  11409. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11410.  
  11411. When you specify I-O, the user label procedures are executed only for files 
  11412. opened as I-O. 
  11413.  
  11414.  
  11415. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11416.  
  11417. When you specify EXTEND, the user label procedures are executed only for files 
  11418. opened as EXTEND. 
  11419.  
  11420.  
  11421. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11422.  
  11423. For FILE, the designated procedures are executed at beginning-of-file (on the 
  11424. first volume) and/or at end-of-file (on the last volume) only. 
  11425.  
  11426.  
  11427. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11428.  
  11429. For REEL, the designated procedures are executed at beginning-of-volume (on 
  11430. each volume except the first) and/or at end-of-volume (on each volume except 
  11431. the last). 
  11432.  
  11433. REEL is not applicable to direct-access files. 
  11434.  
  11435.  
  11436. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11437.  
  11438. For UNIT, the designated procedures are executed at beginning-of-volume (on 
  11439. each volume except the first) and/or at end-of-volume (on each volume except 
  11440. the last). 
  11441.  
  11442. UNIT is not applicable to files in the random access mode because only FILE 
  11443. labels are processed in this mode. 
  11444.  
  11445.  
  11446. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11447.  
  11448. File-name-1 may appear in different specific arrangements of the format, but 
  11449. its appearance in a USE statement must not cause the simultaneous request for 
  11450. execution of more than one USE declarative. If used, it must not represent a 
  11451. sort file, and the file description entry must not specify a LABEL RECORDS ARE 
  11452. OMITTED clause. 
  11453.  
  11454. Within the procedures of a USE declarative in which USE specifies an option 
  11455. other than file-name-1, references to common label items do not need to be 
  11456. qualified by a file-name.  A common label item is an elementary data item that 
  11457. appears in every label record of the program but does not appear in any data 
  11458. records of this program.  Such items must have identical descriptions and 
  11459. positions within each label record. 
  11460.  
  11461.  
  11462. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11463.  
  11464.  User labels follow standard file labels, and are to be processed. 
  11465.  
  11466.  The labels must be listed as data-names in the LABEL RECORDS clause in the 
  11467.   file description entry for the file, and must be described as level-01 data 
  11468.   items subordinate to the file entry. 
  11469.  
  11470.  If neither BEGINNING nor ENDING is specified, the designated procedures are 
  11471.   executed for both beginning and ending reels. 
  11472.  
  11473.  If FILE, REEL, or UNIT is not included, the designated procedures are 
  11474.   executed for both REEL or UNIT, whichever is appropriate, and for FILE 
  11475.   labels. 
  11476.  
  11477.  
  11478. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11479.  
  11480. If neither BEGINNING nor ENDING is specified, the designated procedures are 
  11481. executed for both beginning and ending labels. 
  11482.  
  11483.  
  11484. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11485.  
  11486.  Procedure-name-1 must not be defined in a debugging session. 
  11487.  
  11488.  Any given procedure-name may appear in only one USE FOR DEBUGGING sentence, 
  11489.   and only once in that sentence.  All procedures must appear in the outermost 
  11490.   program. 
  11491.  
  11492.  
  11493. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11494.  
  11495. Procedure-name-1 must not be specified in any USE FOR DEBUGGING sentences.  The 
  11496. ALL PROCEDURES phrase may be specified only once in a program. Only the 
  11497. procedures contained in the outermost program will trigger execution of the 
  11498. debugging section. 
  11499.  
  11500.  
  11501. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11502.  
  11503. ADV is meaningful only if you use WRITE...ADVANCING in your source code. 
  11504.  
  11505.  
  11506. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11507.  
  11508. Specify as a decimal number equal to, or greater than, 256. 
  11509.  
  11510.  
  11511. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11512.  
  11513. Specify as a decimal number in 1K increments. 
  11514.  
  11515.  
  11516. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11517.  
  11518.  Use CMPR2 when you want the compiler to generate code compatible with code 
  11519.   generated by VS COBOL II Release 2. 
  11520.  
  11521.  If you specify CMPR2, the following options will be ignored: 
  11522.  
  11523.    - FLAGSTD 
  11524.    - FLAGSAA 
  11525.    - DBCS 
  11526.  
  11527.  If you specify CMPR2, the following options will be forced on: 
  11528.  
  11529.    - NOFLAGSTD 
  11530.    - NOFLAGSAA 
  11531.    - NODBCS 
  11532.  
  11533.  
  11534. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11535.  
  11536. If you specify NOCMPR2, the FLAGMIG option is ignored, and the NOFLAGMIG option 
  11537. is forced on. 
  11538.  
  11539.  
  11540. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11541.  
  11542. Use the COMPILE option only if you want to force full compilation even in the 
  11543. presence of serious errors. 
  11544.  
  11545.  
  11546. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11547.  
  11548. Use NOCOMPILE without any subparameter to request a syntax check. 
  11549.  
  11550.  
  11551. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11552.  
  11553. Use NOCOMPILE with W, E, or S for conditional full compilation. When the 
  11554. compiler finds an error of the level you specify (or higher), full compilation 
  11555. (diagnosis and object code) will stop, and only syntax checking will continue. 
  11556.  
  11557.  The W (Warning; Return Code=4) error message indicates that although the 
  11558.   statement in which the condition occurs is syntactically correct, it has the 
  11559.   potential for causing an error when your program is executed. 
  11560.  
  11561.  The E (Error; Return Code=8) error message indicates that the condition is 
  11562.   definitely an error.  However, the compiler has tried to correct it for you, 
  11563.   and it is possible that your program will execute properly. 
  11564.  
  11565.  The S (Severe; Return Code=12) error message indicates that the condition is 
  11566.   a serious error.  The compiler will not attempt to correct the error, but 
  11567.   compilation will continue. 
  11568.  
  11569.  
  11570. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11571.  
  11572. If you specify both the CURRENCY option and the CURRENCY SIGN clause for a 
  11573. program, the CURRENCY SIGN clause coded in the source program takes precedence. 
  11574.  
  11575.  
  11576. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11577.  
  11578. Literal must be a one-character, nonnumeric literal (including hex literals) 
  11579. and must not be any of the following: 
  11580.  
  11581.  Digits zero (0) through nine (9). 
  11582.  
  11583.  Uppercase alphabetic characters A B C D P R S V X Z 
  11584.  
  11585.  Lowercase alphabetic characters a through z 
  11586.  
  11587.  The space 
  11588.  
  11589.  Special characters  *  +  -  /  ,  .  ;  "  (  ) 
  11590.  
  11591.  A figurative constant 
  11592.  
  11593.  The non-printable characters represented by the hexadecimal values X'20' or 
  11594.   X'21' 
  11595.  
  11596.  If the uppercase alphabetic character G (or N) is specified and the COBOL 
  11597.   program defines a DBCS item, the G (or N) is considered a currency symbol in 
  11598.   the PICTURE clause for the DBCS item; therefore the PICTURE clause will be 
  11599.   invalid. 
  11600.  
  11601.  If the uppercase alphabetic character E is specified and the COBOL program 
  11602.   defines an external floating-point item, the E is considered a currency 
  11603.   symbol in the PICTURE clause for the external floating-point item; therefore 
  11604.   the PICTURE clause will be invalid. 
  11605.  
  11606. Note:   The CURRENCY option one-character literal may be delimited by either 
  11607.         the quote or the apostrophe, regardless of the QUOTE/APOST compile-time 
  11608.         setting. 
  11609.  
  11610.  
  11611. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11612.  
  11613. If you specify NOCURRENCY, or omit the CURRENCY option all together, then you 
  11614. can only use the dollar sign ($) as the currency symbol in the PICTURE clause. 
  11615. However, this does not apply if you have already established an alternate 
  11616. currency symbol with the CURRENCY SIGN clause in your source program or have 
  11617. changed the installation default value for the CURRENCY compile-time option. 
  11618.  
  11619.  
  11620. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11621.  
  11622. Use DATA(24) if your dynamic data areas are allocated from storage below 16 
  11623. megabytes. 
  11624.  
  11625. Use DATA(24) for programs running under XA in 31-bit mode that are passing data 
  11626. parameters to programs in 24-bit mode. 
  11627.  
  11628.  
  11629. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11630.  
  11631. Use DATA(31) if your dynamic data areas are to be allocated from unrestricted 
  11632. storage. 
  11633.  
  11634.  
  11635. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11636.  
  11637.  Specify DBCS to syntax-check the double-byte portion of the literal; the 
  11638.   literal remains category alphanumeric. 
  11639.  
  11640.  If you specify DBCS, the FLAGMIG option is ignored, and the NOFLAGMIG option 
  11641.   is forced on. 
  11642.  
  11643.  
  11644. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11645.  
  11646. If you specify DECK, make sure that SYSPUNCH is defined in your JCL for 
  11647. compilation. 
  11648.  
  11649.  
  11650. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11651.  
  11652. Use PRINT to specify that a program listing. as specified under the DISK 
  11653. option, is to be printed to your virtual printer. 
  11654.  
  11655.  
  11656. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11657.  
  11658. Use NOPRINT if you want no LISTING file to be produced. 
  11659.  
  11660.  
  11661. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11662.  
  11663. Use NODUMP if you want normal termination processing, including: 
  11664.  
  11665.  Diagnostic messages produced so far in compilation 
  11666.  
  11667.  A description of the error 
  11668.  
  11669.  The name of the compiler phase currently executing 
  11670.  
  11671.  The line number of the COBOL statement being processed when the error was 
  11672.   found 
  11673.  
  11674.  The contents of the general purpose registers. 
  11675.  
  11676.  
  11677. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11678.  
  11679. DYNAM causes dynamic loads (for CALL) and deletes (for CANCEL) of separately 
  11680. compiled programs at object time. 
  11681.  
  11682.  
  11683. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11684.  
  11685. Use FLAG(x) to produce diagnostic messages for errors of severity level x or 
  11686. above at the end of the source listing. 
  11687.  
  11688. The following values are valid for x: 
  11689.  
  11690.  I (Informational; Return Code=0).  The message is informational only. 
  11691.  
  11692.  W (Warning; Return Code=4). Although the statement in which the condition 
  11693.   occurs is syntactically correct, it has the potential for causing an error 
  11694.   when your program is executed. 
  11695.  
  11696.  E (Error; Return Code=8). The condition is definitely an error. However, the 
  11697.   compiler has tried to correct it for you, and it is possible that your 
  11698.   program will execute properly. 
  11699.  
  11700.  S (Severe; Return Code=12). The condition is a serious error. The compiler 
  11701.   will not attempt to correct the error, but compilation will continue. 
  11702.  
  11703.  
  11704. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11705.  
  11706. Use FLAG (x,y) to produce diagnostic messages for errors of severity level x or 
  11707. above at the end of the source listing, with error messages of severity y and 
  11708. above to be embedded directly in the source listing. The severity coded for x 
  11709. must be lower than or equal to the severity coded for y. 
  11710.  
  11711. To use FLAG (x,y), also specify the SOURCE compiler option. 
  11712.  
  11713. The following values are valid for x and y: 
  11714.  
  11715.  I (Informational; Return Code=0).  The message is informational only. 
  11716.  
  11717.  W (Warning; Return Code=4). Although the statement in which the condition 
  11718.   occurs is syntactically correct, it has the potential for causing an error 
  11719.   when your program is executed. 
  11720.  
  11721.  E (Error; Return Code=8). The condition is definitely an error. However, the 
  11722.   compiler has tried to correct it for you, and it is possible that your 
  11723.   program will execute properly. 
  11724.  
  11725.  S (Severe; Return Code=12). The condition is a serious error. The compiler 
  11726.   will not attempt to correct the error, but compilation will continue. 
  11727.  
  11728.  
  11729. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11730.  
  11731. Specify FLAGSAA to indicate language elements that are not defined as part of 
  11732. the COBOL interface for IBM's Systems Application Architecture* (SAA*). 
  11733.  
  11734. To use FLAGSAA, the NOCMPR2 compiler option must be in effect, and FLAGSTD can 
  11735. not be specified. 
  11736.  
  11737. In addition, if you specify FLAGSAA, the FLAGMIG option is ignored and the 
  11738. NOFLAGMIG option is forced on. 
  11739.  
  11740. * Trademark of the IBM Corporation in the United States and/or other countries. 
  11741.  
  11742.  
  11743. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11744.  
  11745.  Specify FLAGSTD to get informational messages about the Standard COBOL 
  11746.   elements included in your program. 
  11747.  
  11748.  The NOCMPR2 compiler option must be in effect to use FLAGSTD. 
  11749.  
  11750.  If you specify FLAGSTD, the following options will be ignored: 
  11751.  
  11752.    - FLAGSAA 
  11753.    - FLAGMIG 
  11754.    - DBCS 
  11755.  
  11756.  If you specify FLAGSTD, the following options will be forced on: 
  11757.  
  11758.    - NOFLAGSAA 
  11759.    - NOFLAGMIG 
  11760.    - NODBCS 
  11761.  
  11762.  
  11763. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11764.  
  11765. x  M, I, or H 
  11766.  
  11767. Specifies the level or subset of Standard COBOL to be regarded as conforming. 
  11768.  
  11769. M  Specifies that the language elements that are not from the minimum subset 
  11770. are to be flagged as "nonconforming standard." 
  11771.  
  11772. I  Specifies that language elements that are not from the minimum or the 
  11773. intermediate subset are to be flagged as "nonconforming standard." 
  11774.  
  11775. H  Specifies that the high subset is being used and elements will not be 
  11776. flagged by subset, and that elements in the IBM extension category will be 
  11777. flagged as "non-conforming Standard IBM extension." 
  11778.  
  11779.  
  11780. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11781.  
  11782. yy  D, N, or S 
  11783.  
  11784. Specifies, by a single character or combination of any two, the optional 
  11785. modules to be included in the subset. 
  11786.  
  11787. D  Specifies that the elements from Debug module level 1 are not flagged as 
  11788. "nonconforming standard." 
  11789.  
  11790. N  Specifies that elements from Segmentation module level 1 are not flagged as 
  11791. "nonconforming standard." 
  11792.  
  11793. S  Specifies that elements from Segmentation module level 2 are not flagged as 
  11794. "nonconforming standard." 
  11795.  
  11796. N is a subset of S. 
  11797.  
  11798.  
  11799. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11800.  
  11801. O  Specifies that obsolete language elements are flagged as "obsolete." 
  11802.  
  11803.  
  11804. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11805.  
  11806. XXxxxxxx specifies the language for compiler output messages.  The following 
  11807. entries may be used for XXxxxxxx: 
  11808.  
  11809.  ENGLISH: The output will be printed in mixed case English.  This is the 
  11810.   default selection. 
  11811.  
  11812.  JAPANESE: The output will be printed in the Japanese language using the 
  11813.   Japanese character set. 
  11814.  
  11815.  UENGLISH: The output will be printed in upper-case English. 
  11816.  
  11817. Note:   To specify the Japanese language option, the Japanese Language Feature 
  11818. must be installed. 
  11819.  
  11820.  
  11821. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11822.  
  11823. For COPY and BASIS statements, include in your JCL DD statements for the 
  11824. library or libraries where the compiler can take the copied code, and also 
  11825. allocate and free SYSUT5. 
  11826.  
  11827.  
  11828. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11829.  
  11830. If you specify LINECOUNT (nnn), nnn must be an integer between 10 and 255, or 
  11831. 0. 
  11832.  
  11833. If you specify LINECOUNT (0), no page ejects are generated within the 
  11834. compilation listing. 
  11835.  
  11836.  
  11837. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11838.  
  11839. If you use LIST, you will get the following in your output listing: 
  11840.  
  11841.  Global tables 
  11842.  
  11843.  Literal pools 
  11844.  
  11845.  Information about Working-Storage 
  11846.  
  11847.  Size of the program's Working-Storage, and its location in the object code if 
  11848.   the program is compiled with the NORENT option. 
  11849.  
  11850. LIST and OFFSET are mutually exclusive.  If you use both, LIST is ignored. 
  11851.  
  11852. If you want to limit the assembler listing output, use *CONTROL LIST or NOLIST 
  11853. statements in your Procedure Division. 
  11854.  
  11855.  
  11856. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11857.  
  11858. Use MAP to produce a listing of items you defined in the Data Division. 
  11859.  
  11860. If you want to limit the MAP output, use *CONTROL MAP or NOMAP statements in 
  11861. your DATA Division. 
  11862.  
  11863.  
  11864. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11865.  
  11866. Use NAME to generate a link-edit NAME card for each object module; it may also 
  11867. be used to generate names for each load module when doing batch compilations. 
  11868.  
  11869.  
  11870. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11871.  
  11872. Use NAME (ALIAS) if your program contains ENTRY statements and you want to 
  11873. generate a link-edit ALIAS card for each statement. 
  11874.  
  11875.  
  11876. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11877.  
  11878. Use NUMBER to verify that columns 1 through 6 contain only numbers, and that 
  11879. the sequence follows the numeric collating sequence. 
  11880.  
  11881. Use NUMBER in conjunction with COPY statements only if your source program line 
  11882. numbers and the COPY member line numbers are coordinated. 
  11883.  
  11884.  
  11885. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11886.  
  11887. Use NONUMBER if you do not have line numbers in your source code, or if you 
  11888. want the compiler to ignore the line numbers contained in your source code. 
  11889.  
  11890.  
  11891. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11892.  
  11893. Use NUMPROC(PFD) only if your program adheres exactly to the following IBM 
  11894. system standards: 
  11895.  
  11896.  External decimal, unsigned--High-order 4 bits of the sign byte contain X'F'. 
  11897.  External decimal, signed overpunch--High-order 4 bits of the sign byte 
  11898.   contain X'C' if the number is positive or 0, X'D' if it is not. 
  11899.  External decimal, separate sign--Separate sign contains the character '+' if 
  11900.   the number is positive or 0, '-' if it is not. 
  11901.  Internal decimal, unsigned--Low-order 4 bits of the low-order byte contain 
  11902.   X'F'. 
  11903.  Internal decimal, signed--Low-order 4 bits of the low-order byte contain X'C' 
  11904.   if the number is positive or 0, X'D' if it is not. 
  11905.  
  11906.  
  11907. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11908.  
  11909. Use NUMPROC(NOPFD) or NUMPROC(MIG) if your COBOL program calls programs written 
  11910. in PL/I or FORTRAN. 
  11911.  
  11912. When NUMPROC(MIG) is in effect, the following processing occurs: 
  11913.  
  11914.  Preferred signs are created only on the output of MOVE statements and 
  11915.   arithmetic operators. 
  11916.  
  11917.  No explicit sign repair is done on input. 
  11918.  
  11919.  Some implicit sign repair may occur during conversion. 
  11920.  
  11921.  Numeric comparisons are performed by a decimal compare, not a logical 
  11922.   compare. 
  11923.  
  11924.  
  11925. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11926.  
  11927. If you specify OBJECT, include a SYSLIN DD statement in your JCL for 
  11928. compilation. 
  11929.  
  11930. NOOBJECT and TEST are mutually exclusive.  If you use both, NOOBJECT is 
  11931. ignored. 
  11932.  
  11933.  
  11934. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11935.  
  11936. Use OFFSET to produce line numbers, statement references, and the location of 
  11937. the first instruction generated for each statement in the procedure portion of 
  11938. the listing. 
  11939.  
  11940. OFFSET and LIST are mutually exclusive.  If you use both, LIST is ignored, and 
  11941. NOLIST is forced on. 
  11942.  
  11943.  
  11944. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11945.  
  11946. Because OPTIMIZE increases compile time, do not use this option when debugging. 
  11947.  
  11948. If you specify OPTIMIZE and TEST at the same time, the OPTIMIZE compiler option 
  11949. is ignored and NOOPTIMIZE is forced on, unless you specify TEST with a 
  11950. hook-location value of NONE. 
  11951.  
  11952.  
  11953. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11954.  
  11955. If you use COPY statements and SEQUENCE is in effect, be sure that your source 
  11956. program sequence fields and the COPY member sequence fields are coordinated. 
  11957.  
  11958. If you use NUMBER and SEQUENCE, the sequence is checked according to numeric, 
  11959. rather than EBCDIC collating sequence. 
  11960.  
  11961.  
  11962. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11963.  
  11964. Use NOSEQUENCE to suppress this checking and the diagnostic messages. 
  11965.  
  11966.  
  11967. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11968.  
  11969. nnnnn:  A decimal number that must be at least 778240. 
  11970.  
  11971.  
  11972. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11973.  
  11974. nnnk:  A decimal number in 1K increments. The minimum acceptable value is 760k. 
  11975.  
  11976.  
  11977. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11978.  
  11979. MAX:  Requests the largest available block of storage in the user region for 
  11980. use during compilation. 
  11981.  
  11982.  
  11983. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11984.  
  11985. You must specify SOURCE if you want embedded messages in the source listing. 
  11986.  
  11987.  
  11988. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11989.  
  11990. Specify NOSOURCE to suppress the source code from the compiler output listing. 
  11991.  
  11992.  
  11993. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11994.  
  11995. Use SPACE only when SOURCE is in effect. 
  11996.  
  11997.  
  11998. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  11999.  
  12000.  When you specify TEST with or without any of the suboptions, the OBJECT 
  12001.   compile-time option goes into effect. 
  12002.  
  12003.  When you specify TEST with a hook-location suboption other than NONE, the 
  12004.   OPTIMIZE compiler option is ignored and the NOOPTIMIZE option is forced on. 
  12005.  
  12006.  The TEST option will be deactivated if you use both the WITH DEBUGGING MODE 
  12007.   clause and the USE FOR DEBUGGING statement, unless you specify the 
  12008.   hook-location suboption NONE.  The TEST option will appear in the list of 
  12009.   options, but a diagnostic will be issued to advise you that because of the 
  12010.   conflict, TEST will not be in effect. 
  12011.  
  12012.  
  12013. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12014.  
  12015.  When you specify TEST with a hook-location suboption other than NONE, the 
  12016.   OPTIMIZE compiler option is ignored and the NOOPTIMIZE option is forced on. 
  12017.  
  12018.  The hook-location suboption controls where compiled-in hooks will be 
  12019.   generated to provide information to Debug Tool. 
  12020.  
  12021.  Use TEST with any hook-location suboption except NONE to produce object code 
  12022.   that can take full advantage of Debug Tool. 
  12023.  
  12024.  The hook-location suboptions are the following: 
  12025.  
  12026.    ALL       Specifies that hooks will be generated at all statements, all path 
  12027.              points, and all program entry and exit points (both outermost and 
  12028.              contained programs). 
  12029.  
  12030.    NONE      Specifies that no hooks will be generated. 
  12031.  
  12032.    STMT      Specifies that hooks will be generated at every statement and 
  12033.              label, as well as at all program entry and exit points. 
  12034.  
  12035.    PATH      Specifies that hooks will be generated at all path points, 
  12036.              including program entry and exit points. 
  12037.  
  12038.    BLOCK     Specifies that hooks will be generated at all entry and exit 
  12039.              points. 
  12040.  
  12041.  
  12042. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12043.  
  12044.  The symbol-table suboption controls whether symbol tables will be generated. 
  12045.  
  12046.  The symbol-table suboptions are the following: 
  12047.  
  12048.    SYM       Activates inclusion of symbolic dictionary information in your 
  12049.              object program. 
  12050.  
  12051.    NOSYM     Deactivates inclusion of symbolic dictionary information in your 
  12052.              object program. 
  12053.  
  12054.  Use TEST(,SYM) to have a symbolic dump of the variables included in the 
  12055.   formatted dump produced by Language Environment/370. 
  12056.  
  12057.  
  12058. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12059.  
  12060. Programs compiled with TEST(NONE) or NOTEST will execute with Debug Tool. 
  12061.  
  12062.  
  12063. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12064.  
  12065. TRUNC(STD) causes the final result of an arithmetic expression, or the sending 
  12066. field in the MOVE statement to be truncated to the number of digits in the 
  12067. PICTURE clause of the BINARY receiving field. 
  12068.  
  12069.  
  12070. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12071.  
  12072. TRUNC(OPT) causes the compiler to assume that the data conforms to the number 
  12073. of digits in the PICTURE clause of the BINARY receiving field in MOVE 
  12074. statements and arithmetic expressions. 
  12075.  
  12076. Results are either truncated to the number of digits in the PICTURE clause or 
  12077. to the size of the BINARY field in storage (halfword, fullword, or doubleword). 
  12078.  
  12079.  
  12080. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12081.  
  12082. TRUNC(BIN) causes the full binary content of the BINARY field to be treated as 
  12083. significant.  BINARY receiving fields are truncated only at halfword, fullword, 
  12084. or doubleword boundaries.  BINARY sending fields are treated as halfwords, 
  12085. fullwords, or doublewords. 
  12086.  
  12087.  
  12088. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12089.  
  12090.  If you specify WORD, the FLAGSTD option is ignored, and the NOFLAGSTD option 
  12091.   is forced on. 
  12092.  
  12093.  See your systems programmer for the names of alternate reserved word tables. 
  12094.  
  12095.  Do not use intrinsic function-names as aliases for reserved words. 
  12096.  
  12097.  
  12098. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12099.  
  12100. The ending characters (xxxx) of the name of the reserved word table may be 1 to 
  12101. 4 characters in length. 
  12102.  
  12103.  
  12104. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12105.  
  12106. Use both XREF and XREF (FULL) to get a sorted cross-reference listing. 
  12107.  
  12108. If you use XREF and SOURCE, cross-reference information will also be printed on 
  12109. the same line as the original source in the listing.  If you use XREF and 
  12110. NOSOURCE however, you will get only the sorted cross-reference listing. 
  12111.  
  12112.  
  12113. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12114.  
  12115. Use XREF (SHORT) to print only the explicitly referenced variables in the 
  12116. cross-reference listing; it applies to DBCS data names and procedure-names as 
  12117. well as EBCDIC names. 
  12118.  
  12119.  
  12120. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12121.  
  12122. Use NOXREF to suppress this listing. 
  12123.  
  12124.  
  12125. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12126.  
  12127. Use ZWB to direct the compiler to remove the sign from a signed external 
  12128. decimal (DISPLAY) field when comparing this field to an alphanumeric elementary 
  12129. field during run time. If the external decimal item is a scaled item (contains 
  12130. the symbol 'P' in its PICTURE character-string), its use in comparisons will 
  12131. not be affected by ZWB. 
  12132.  
  12133.  
  12134. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12135.  
  12136. Use NOZWB if you want to test input numeric fields for SPACES. 
  12137.  
  12138.  
  12139. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  12140.  
  12141. This explicit scope terminator serves to delimit the scope of a statement.  It 
  12142. permits the conditional form of the statement to be nested within another 
  12143. conditional statement. You can also use the explicit scope terminator with the 
  12144. imperative form of the statement.