COBOL2000 V1.6 COBOL Compiler

COBOL2000 V1.6 COBOL Compiler

English COBOL2000 V1.6 COBOL Compiler User Guide * June 2018 Table of Contents COBOL Compiler. User Guide. 7 1 Preface . 8 1.1 Objectives and target groups of this manual . 9 1.2 Summary of contents . 10 1.3 Expansion levels of the COBOL2000 system . 11 1.4 Changes compared to the predecessor version . 12 1.5 Notational conventions . 13 1.6 Definitions of terms used in this manual . 14 2 From compilation unit to executable program . 16 2.1 Preparing the compilation unit . 18 2.1.1 Input from cataloged files . 19 2.1.2 Input from PLAM libraries . 20 2.2 Source data input . 22 2.2.1 Assigning the compilation unit with the ASSIGN-SYSDTA command . 23 2.2.2 Input of program segments . 24 2.2.3 Assignment to compiler variables to control source text manipulation . 28 2.3 I/O for repositories . 30 2.3.1 Principle of a repository . 31 2.3.2 Assigning a repository . 32 2.4 Output from the compiler . 33 2.4.1 Output of modules . 34 2.4.2 Output of listings and messages . 36 2.5 Compiler control options . 37 2.6 Terminating the compiler run . 38 2.7 Compiling a compilation group . 39 2.8 Parametrized classes and interfaces . 40 3 Controlling the compiler via SDF . 44 3.1 Calling the compiler and entering options . 45 3.1.1 SDF expert mode . 46 3.1.2 SDF menu mode . 47 3.2 SDF syntax description . 49 3.3 SDF options for controlling the compiler run . 53 3.3.1 SOURCE option . 54 3.3.2 SOURCE-PROPERTIES option . 55 3.3.3 ACTIVATE-FLAGGING option . 57 3.3.4 COMPILER-ACTION option . 58 3.3.5 MODULE-OUTPUT option . 61 3.3.6 LISTING option . 63 3.3.7 TEST-SUPPORT option . 70 3.3.8 OPTIMIZATION option . 72 3.3.9 RUNTIME-CHECKS option . 73 3.3.10 COMPILER-TERMINATION option . 75 3.3.11 MONJV option . 76 3.3.12 RUNTIME-OPTIONS option . 77 3.3.13 VERSION option . 79 4 Controlling the compiler with COMOPT statements . 80 4.1 Source data input under COMOPT control . 82 4.1.1 Assigning the compilation unit with the END statement . 83 4.1.2 Assigning the compilation unit with the ADD-FILE-LINK command and COMOPT SOURCE-ELEMENT . 84 4.2 Table of COMOPT operands . 85 5 Controlling the compiler with compiler directives . 95 5.1 IMP COMPILER-ACTION . 96 5.2 IMP LISTING-OPTIONS . 97 5.3 IMP PRINT-DIRECTIVES . 98 5.4 IMP RUNTIME-ERRORS . 100 6 Linking, loading, starting . 101 6.1 Functions of the linkage editor . 103 6.2 Static linkage using TSOSLNK . 105 6.3 Linking using BINDER . 108 6.4 Dynamic linking and loading using DBL . 110 6.5 Loading and starting executable programs . 112 6.6 Program termination . 113 6.7 Shareable COBOL programs . 116 7 Debugging aids for program execution . 118 7.1 Advanced Interactive Debugger (AID) . 119 7.1.1 Conditions for symbolic debugging . 120 7.1.2 Symbolic debugging with AID . 122 7.1.3 Predefined information . 124 7.1.4 Notes on symbolic debugging of nested programs . 125 7.1.5 Notes on debugging object-oriented COBOL programs . 126 7.1.6 Information on testing programs with user-defined types . 128 7.2 Debugging lines . 130 8 Interface between COBOL programs and BS2000/OSD . 131 8.1 Input/output via system files . 132 8.1.1 COBOL language elements . 133 8.1.2 System files: primary assignments, reassignments, record formats . 135 8.2 Job switches and user switches . 137 8.2 Job switches and user switches . 137 8.3 Job variables . 141 8.4 Accessing an environment variable . 144 8.5 Compiler and operating system information . 145 9 Processing of cataloged files . 149 9.1 Basic information on the structure and processing of cataloged files . 150 9.1.1 Basic concepts relating to the structure of files . 151 9.1.2 Assignment of cataloged files . 153 9.1.3 Definition of file attributes . 156 9.1.4 Disk and file formats . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    333 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us