IBM As Full American National Standard COBOL Compiler and Library, Program Product Version 4, Planning Guide

IBM As Full American National Standard COBOL Compiler and Library, Program Product Version 4, Planning Guide

GC28-6431-0 IBM as Full American National Standard COBOL Compiler and Library, Program Product Version 4, Planning Guide Program Numbers: 5734-CB2 (Compiler & Library) 5734-LM2 (Library only) The IBM as Full American National Standard COBOL Compiler and Library, Version 4, is a Program Product that accepts as input source programs written in as Full American National Standard COBOL, Version 4. Each of the new features of the Version 4 Compiler is described in a separate chapter of this publication. The features are: Symbolic Debugging Optimized Object Code Teleprocessing COBOL Library Management Facility Dynamic Subprogram Linkage Syntax~Checking Compilation String Manipula ticm System considerations and a description of the COBOL Object-time Subroutine Library are also included. The Version 4 Compiler also contains all of the features of previous versions and is compatible with the highest level of American National Standard COBOL, X3.23-1968, as approved by ANSI; American National Standard COBOL is compatible with, and identical to, the proposed international standard of the language, Draft ISO Recommendation No. 1989 -- Information Processing -­ Programming Language COBOL. The new COBOL language elements of the Version 4 Compiler are IBM extensions to those standards. This publication is a planning aid for system planners and analysts, and for COBOL programmers. It is intended for use prior to the availability of the Version 4 Compiler, and will be supplemented with reference documentation when the Version 4 Compiler becomes available. First Edition (April 1972) This edition corresponds to Version 4 of the IBM OS Full American National Standard COBOL Compiler. Changes are periodically made to the specifications herein; any such changes will be reported in subsequent revisions or Technical Newsletters. Requests for copies of IBM publications should be made to your IBM representative or to the IBM branch office serving your locality. A form for readers' comments is provided at the back of this publication. If the form has been removed, comments may be addressed to IBM Corporation, Programming publications, 1271 Avenue of the Americas, New York 10020. Comments become the property of IBM. ~ Copyright International Business Machines corporation 1972 The IBM OS Full American National standard This publication is a planning aid for COBOL Compiler and Library, Version 4, is a system planners and analysts, and for COBOL Program Product that accepts as input programmers. It is intended for use prior source programs written in IBM OS Full to the availability of the Version 4 American National Standard COBOL, Version Compiler, and will be supplemented with 4. The Version 4 Object-time Subroutine reference documentation when the version 4 Library contains COBOL subroutines which, Compiler becomes available. when required, are combined by the Linkage Editor with the object modules produced by the Version 4 Compiler. Also part of the A knowledge of the basic functions subroutine library is a set of transient provided by the Operating System is routines that can be dynamically fetched necessary for the understanding of this during object program execution. The publication. Such information can be found Version 4 Object-time Subroutine Library is in the following pUblication: also being made available as a separate Program Product. IBM System/360 Operating System: This publication describes the new Introduction, Order No. GC28-6534 features of the Version 4 compiler and Library, which are: The COBOL programmer who uses this Symbolic Debugging publication must be familiar with the optimized object Code capabilities of the operating system Teleprocessing implementation of IBM Full American string Manipulation National Standard COBOL. This COBOL Library Management Facility implementation is described in the Dynamic Subprogram Linkage publication: Syntax-Checking Compilation The Version 4 Compiler also contains all IBM OS Full American National Standard of the features of previous versions of the £OBo~~order-No~ GC28=6396------------ compiler (Version 1, Version 2, and Version 3). The Version 4 Compiler is compatible Detailed information about the with the highest level of American National Telecommunications Access Method (TCAM) is Standard COBOL, X3.23-1968, as approved by contained in the publications: ANSI; American National Standard COBOL is compatible with, and identical to, the IBM System/360 operating System: proposed international standard of the language, Draft ISO Recommendation No. TCAM Concepts and Facilities, Order 1989 -- Information Processing -­ No. GC30-2022 Programming Language COBOL. The new COBOL language elements of the Version 4 Compiler are IBM extensions to those standards. Each of the new features of the Version American National Standard COBOL 4 Compiler is described in a separate programs may be used as application chapter of this publication. Detailed programs under all versions of the Customer planning information about new COBOL Information Control System (CICS). CICS is language elements and general planning a transaction-oriented, multiapplication information on other factors is given. data base/data communication interface System considerations and a description of between a System/360 or System/370 the Version 4 Object-time Subroutine operating system and user-written Library are also included. Note that at application programs. Further details are object program execution time the given in the pUblication: object-time Subroutine Library is required online; if the Library Management Facility is not optioned, the subroutine library is also required at link edit· time. ACKNOWLEDGMENT The following extract from Government "Procedures have been established for the Printing Office Form Number 1965-0795689 is maintenance of COBOL. Inquiries concerning presented for the information and guidance the procedures for proposing changes should of the user: be directed to the Executive Committee of the Conference on Data Systems Languages. "Any organization interested in reproducing the COBOL report and specifications in whole or in part, using ideas taken from "The authors and copyright holders of the this report as the basis for an instruction copyrighted material used herein manual or for any other purpose is free to do so. However, all such organizations are requested to reproduce this section as part FLOW-MATIC (Trademark of Sperry Rand of the introduction to the document. Those corporation), Programming for the using a short passage, as in a book review, UNIVAC (R) I and II, Data Automation are requested to mention 'COBOL' in Systems copyrighted 1958, 1959, by acknowledgment of the source, but need not Sperry Rand Corporation; IBM quote this entire section. Commercial Translator, Form No. F28-8013, copyrighted 1959 by IBM; "COBOL is an industry language and is not FACT, DSI 27A5260-2760, copyrighted the property of any company or group of 1960 by Minneapolis-Honeywell companies, or of any organization or group of organizations. have specifically authorized the use of "No warranty, expressed or implied, is made this material in whole or in part, in the by any contributor or by the COBOL COBOL specifications. Such authorization Committee as to the accuracy and extends to the reproduction and use o,f functioning of the programming system and COBOL specifications in programming manuals language. Moreover, no responsibility is or similar publications." assumed by any contributor, or by the committee, in connection therewith. INTRODUCTION • • • • • • • 7 COBOL LIBRARY MANAGEMENT FACILITY 57 · . Specifying the COBOL Library SYSTEM CONSIDERATIONS •• • • • • • 13 Management Facility • • • • 58 Performance Considerations • • 14 Programming Considerations • 59 compatibility • • • • • • • • • • • 14 Compiler Options • • • • • • • • • • • • 15 DYNAMIC SUBPROGRAM LINKAGE 61 System/370 Device Support • • • • • 15 Specifying the Dynamic CALL 61 CALL Statement • • 62 SYMBOLIC DEBUGGING • • • • • • • . • 17 CANCEL Statement 66 Performance Considerations • 18 ENTRY Statement 67 USING Option • • 67 OPTIMIZED OBJECT CODE • 21 SYNTAX-CHECKING COMPILATION 71 TELEPROCESSING (TP) FEATURE 23 The Message Control Program (MCP) •• 23 APPENDIX A: VERSION 4 OBJECT-TIME Queue Processing • • • • • • • • • • 24 SUBROUTINE LIBRARY • • • • • • • • • 73 Interface Between the COBOL Program and the MCP • • • • • • • • • • 25 APPENDIX B: VERSION 4 CHANGES IN THE communication Section 27 COBOL RESERVED WORD LIST • 75 CD Entry • • • • • • • • • • 28 Procedure Division • • • 36 APPENDIX C: 3505/3525 CARD PROCESSING • 77 Message Condition • • • • 36 3505 OMR Processing • • • • 77 RECEIVE Statement • • • 37 3505/3525 RCE Processing • • • • • • 77 SEND Statement • • • • • • • • • • • 39 3525 Combined Function Processing 78 Queue Structure Description and Use • 41 I -- Environment Division Specifying Queue Structures • • • • 42 Considerations • • • • • • • • • • 78 Accessing Queue Structures Through SPECIAL-NAMES Paragraph • 78 COBOL • • • • • • • • • • • • • • • 43 II -- Data Division Considerations • • 78 Specification of DDnames with III -- Procedure Division Elementary Sub-Queues • • • • 44 Considerations • • • • • • • • • 79 Rules For Queue Structure OPEN Statement • • • • • • • • 79 Description • • • • • • • 45 WRITE Statement -- Punch Function Interface Considerations • • • • • • • 46 Files • • • • • • • • • • • • 79 Execution Time Considerations • • • • 47 WRITE Statement -- Print Function Testing the COBOL TP Program • 49 Files • • • • • • • • •

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    98 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