Home > Store

COBOL: From Micro to Mainframe: Fujitsu Version, 3rd Edition

Register your product to gain access to bonus material or receive a coupon.

COBOL: From Micro to Mainframe: Fujitsu Version, 3rd Edition

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

  • NEW - This is now the Fujitsu version of the original book!
  • Revised chapters with supporting COBOL programs—Object-Oriented COBOL; Year 2000 Problem.
  • New appendices:
    • —Introduces the use of Fujitsu Compiler and Project Manager.
    • —Connects COBOL and Visual Basic.
  • A CD-ROM containing the Fujitsu COBOL Version 4.0 compiler
    • Packaged FREE with every book.
    • —Fujitsu Version 4.0 incorporates the proposed features of the COBOL 2000 standard.
    • Gives students access to this tool at no additional charge.

  • 7 revised and 30 illustrative COBOL programs.
    • Presented in a uniform and detailed format, including program narrative, record layouts, report layouts, test data, and processing specifications. Reflects Year 2000 considerations.

  • COBOL programs in the text as well as data files for the nearly one hundred student projects are available via FTP.
    • Allows students to reproduce or modify any of the programs without the tedium of data entry.

  • An abundance of short answer questions, COBOL problems, and programming projects—Nearly 100 in all—for every chapter.
  • A thorough discussion of structured methodology, hierarchy charts, pseudocode, and top-down testing.
  • Programming tips—That go beyond the syntactical rules of COBOL and suggest stylistic considerations to make programs easier to read and maintain.
  • Detailed system concept discussions at the beginning of most chapters—e.g., on control breaks, data validation, techniques for table lookups and initialization, sorting, the balance line algorithm for file maintenance, and the organization of indexed files.

Description

  • Copyright 2000
  • Dimensions: 8-1/2 X 11
  • Pages: 950
  • Edition: 3rd
  • Book
  • ISBN-10: 0-13-085849-8
  • ISBN-13: 978-0-13-085849-8

The third edition of COBOL: from Micro to Mainframe/Fujitsu Version provides a text that covers all basic COBOL elements. It comes with version 4.0 of the Fujitsu compiler, editor, and project manager. The examples and supporting text have been thoroughly updated to emphasize the use of the Fujitsu compiler, which embodies the proposed features of the COBOL 2000 standard. The software also incorporates a project manager that allows more than one program to be built and linked together at a time.

The text includes additional chapters on the Year 2000 problem, structured programming and design, debugging, subprograms, table processing, sorting, screen I/O, sequential file maintenance, indexed files, and object-oriented COBOL. Programming tips are provided throughout that go beyond the syntactical rules of COBOL in order to make programs easier to maintain and more efficient to run. The Fujitsu version teaches programming as it is practiced in the real world with sample projects that reflect Year 2000 considerations.

  • NEW-Includes the new Fujitsu 4.0 software that includes the COBOL compiler, editor, and project manager
  • NEW-Describes fully the use of the Fujitsu software in a new appendix
  • NEW-Updates all listings in the text, especially those on screen processing, to reflect features in the new Fujitsu software
  • NEW-Shows how Visual Basic can be used to create Windows interfaces for COBOL programs
  • REVISED-Details students projects to reflect Year 2000 considerations

The sample data files of the programs listed in the book are available from www.prenhall.com/grauer_cobol

Sample Content

Table of Contents

(NOTE: Most chapters begin with an Overview and end with a Summary and Series of Sample Questions).



1. Introduction.


2. From Coding Form to Computer.

From Coding Form to Computer. The COBOL Coding Form. Use of an Editor. The Compile, Link, and Execute Sequence. Learning by Doing. Errors in Entering the Program. Errors in Operating System Commands. Errors in Compilation. Errors in Execution. Errors in Data Input. Evolution of COBOL. There's Always a Reason.



3. A Methodology for Program Development.

The Tuition Billing Problem. Structured Design. Evaluating the Hierarchy Chart. Completeness. Functionality. Span of Control. Structured Programming.. Sufficiency of the Basic Structures. Expressing Logic. The Traditional Flowchart. Pseudocode. Warnier-Orr Diagrams. Top-Down Testing.



4. The Identification, Environment, and Data Divisions.

COBOL Notation. Identification Division. Environment Division. Configuration Section. Input-Output Section. Data Division. File Section. Working-Storage Section. The Tuition Billing Program. Programming Specifications. COBOL Entries. Limitations of COBOL-74.



5. The Procedure Division.

Open. Close. Read. Placement of the READ Statement. Write. Stop Run. Move. Restrictions on the Move Statement. Alphanumeric Field to Alphanumeric Field. Numeric Field to Numeric Field. Group Moves. Perform. If. The Else Clause. Indentation. Evaluate. Arithmetic Statements. The Rounded Clause. The Size Error Clause. Compute. Add. Subtract. Multiply. Divide. Programming Tip: Use the Compute Statement. Assumed Decimal Point. The Tuition Billing Program. Test Data. Hierarchy Chart. COBOL Program Skeleton. Limitations of COBOL-74.



6. Debugging.

Errors in Compilation. Common Compilation Errors. Errors in Execution. Run Time Error. Logic Errors. Tips for Debugging. Display Statement. The Structured Walkthrough.



7. Editing and Coding Standards.

Editing. The Decimal Point. Zero Suppression. Dollar Signs. Comma. Asterisks for Check Protection. Insertion Characters. Synopsis. Signed Numbers. CR and DB. Plus and Minus Signs. Blank When Zero Clause. The Tuition Billing Program Revisited. Coding Standards. Data Division. Programming Tip: Avoid Literals. Procedure Division. Programming Tip: Use Scope Terminators. Both Divisions. A Well-Written Program.



8. Data Validation.

System Concepts: Data Validation. The IF Statement. Relational Condition. Class Test. Sign Test. Condition-Name Test. Compound Test. Hierarchy of Operations. Implied Conditions. Nested Ifs. Next Sentence. Accept Statement. Calculations Involving Dates. The Stand-Alone Edit Program. Programming Specifications. Error Messages. Pseudocode. Hierarchy Chart. The Completed Program. Limitations of COBOL-74.



9. More About the Procedure Division.

Perform. Test Before/Test After. In-line Perform. Performing Sections. Perform Thru. Programming Tip: Perform Paragraphs, Not Sections. READ. False-Condition Branch. Read Into. Write From. Initialize. String Processing. Inspect. String. Unstring. Reference Modification. Accept. Duplicate Data Names. Qualification. Move Corresponding. The Car Billing Program. Programming Specifications. Program Design. The Completed Program. Limitations of COBOL-74.



10. Screen I-O.

Accept. Programming Tip: Micro Focus Level 78-The Use of COBOL Constants. DISPLAY. The Tuition Billing Program Revisited. Programming Specifications. Hierarchy Chart. Pseudocode. The Completed Program. Programming Tip: The Hidden Power of the Alt key. Car Validation and Billing Program. Programming Specifications. The Screen Section. Hierarchy Chart. Pseudocode. The Completed Program. Limitations of COBOL-74.



11. Introduction to Tables.

Introduction to Tables. Occurs Clause. Processing a Table. Perform Varying. A Second Example. Problems with the Occurs Clause. Rules for Subscripts. Relative Subscripting. Usage Clause. Occurs Depending On. The Student Transcript Program. Programming Specifications. Program Design. The Completed Program. Indexes Versus Subscripts. The Set Statement. Limitations of COBOL-74.



12. Table Lookups.

System Concepts. Types of Codes. Characteristics of Codes. Sequential Table Lookup. Binary Table Lookup. Positional Organization and Direct Lookups. Initializing a Table. Hard Coding. Input-Loaded Tables. Table Lookups. Perform Varying Statement. Search Statement. Programming Tip-Restrict Subscripts and Switches to a Single Use. Search All Statement. Direct Lookup. Range-Step Tables. A Complete Example. Programming Specifications. Program Design. The Completed Program. Limitations of COBOL-74.



13. Multilevel Tables.

System Concepts. COBOL Implementation. One-Level Tables. Perform Varying. Two-Level Tables. Errors in Compilation. Perform Varying. A Sample Program. Programming Specifications. Program Design. The Completed Program. Three-Level Tables. Perform Varying. A Sample Program. Programming Specifications. The Completed Program. Table Lookups. A Calorie Counter's Delight. Programming Specifications. Range-Step Tables. The Completed Program. Limitations of COBOL-74.



14. Sorting.

System Concepts. Collating Sequence. Embedded Sign. COBOL Implementation. Sort Statement. SD (Sort Description). Release and Return. Programming Specifications. Using/Giving Option. Input Procedure/Output Procedure Option. Comparing Options. Merge Statement. Limitations of COBOL-74.



15. Control Breaks.

System Concepts. Running versus Rolling Totals. One-Level Control Breaks. Programming Specifications. Hierarchy Chart. Pseudocode. The Completed Program. Two-Level Control Breaks. Hierarchy Chart. Pseudocode. The Completed Program. Three-Level Control Breaks. Hierarchy Chart. Pseudocode. The Completed Program. Programming Tip: How to Write a Control Break Program. Limitations of COBOL-74.



16. Subprograms.

Subprograms. Called and Calling Programs. Copy Statement. Calling By Content and By Reference. Programming Tip: Use Copy to Pass Parameters. Initial Clause. A System for Physical Fitness. Programming Specifications. Hierarchy Chart. Pseudocode. The Completed Programs. Main Program (FITNESS). Input Program (INPUTSUB). Weight-Range Program (WGTSUB). Training Program (TRAINSUB). Display Program (DSPLYSUB). Time Program (TIMESUB). The Linkage Editor. Problems with the Linkage Editor. Limitations of COBOL-74.



17. Sequential File Maintenance.

System Concepts. Sequential Versus Nonsequential Processing. Periodic Maintenance. Data Validation. Programming Specifications. Designing the Program. The Completed Program. Sequential File Maintenance. Programming Specifications. The Balance Line Algorithm. Designing the Hierarchy Chart. Top-Down Testing. The Stubs Program. The Completed Program.



18. Indexed Files.

System Concepts. COBOL Implementation. Creating an Indexed File. Programming Specifications. Pseudocode. The Completed Program. Additional COBOL Elements. Open. Read. Write. Rewrite. Delete. Maintaining an Indexed File. Programming Specifications. Hierarchy Chart. Pseudocode. The Completed Program. Alternate Record Key. Programming Specifications. Concatenated Key. The Start Statement. Limitations of COBOL-74.



19. The Year 2000 Problem.

The Year 2000 Problem. Date Arithmetic. COBOL Intrinsic Calendar Functions. Leap-Year Problem. Retirement Program Revisited.



20. Object-Oriented COBOL Programming.

The Next Generation of COBOL. The Development of Structured Programming. Terminology. The Object-Oriented Versus Structured Paradigm. Student-Look-UP Program. The Registrar Class. Programming Specifications. Classes and Inheritance. ProcessRequests Method. Programming Tip: Memory Leakage. The StudentDM Class. Programming Specifications. The StudentDM Instance Definition. The Student Class. Programming Specifications. The Person Class. Programming Specifications. The Student PRT Class. Conclusion.



Appendix A: Getting Started.


Appendix B: Connecting COBOL97 with Visual Basic.


Appendix C: Reserved Words.


Appendix D: COBOL-85 Reference Summary.


Appendix E: COBOL in the new Millennium.


Appendix F: Answers to Odd-Numbered Exercises.


Appendix G: Projects.


Index.

Preface

Preface

The Fujitsu Version of COBOL: From Micro to Mainframe, Third Edition parallels our earlier work, but has been updated to support Fujitsu COBOL Version 4.0. All listings in the text have been modified for the new compiler, especially those listings pertaining to screen 1/O. We have added an extensive appendix with supporting documentation and hands-on exercises that describe how to use the new software to full advantage. The set of student programming projects has also been thoroughly revised. As in the previous edition, the Fujitsu software is provided with the text at no additional cost. (The text may also be ordered with one of two compilers from Micro Focus, Net Express COBOL or Personal COBOL, but at an additional cost.)

The Fujitsu version is supported by our Web site at www.prenhall.com/grauer. Students can download the practice files and PowerPoint lectures as before, but now have access to an online studyguide that provides an interactive review on a chapterby-chapter basis. Each chapter contains a variety of short answer questions that can be taken for self-evaluation or e-mailed to instructors.

The Fujitsu Version of COBOL: From Micro to Mainframe includes all subjects normally covered in the one-year COBOL sequence. The scope is extensive, ranging from an introduction to COBOL, to maintaining sequential files and non-sequential files, to object-oriented COBOL, to linking COBOL programs and Visual Basic.

Benefits and Features

Both the new Fujitsu version, and the earlier Micro Focus version, on which it is based, respond to the requests of students and instructors to provide access to Windows-based tools, while maintaining the proven approach to teaching COBOL. Its many features include:

  • Appendix A provides extensive coverage of the Fujitsu compiler through a series of hands-on exercises. Students are shown how to create and edit COBOL programs, how to compile, link, and edit a program, and how to use the debugging facility.
  • A new chapter (Chapter 19) on the Y2K problem discusses the sources of the problem, and techniques to correct it. The chapter also provides a list of Web sites to obtain further information.
  • Another new chapter (Chapter 20) demonstrates the concepts of objectoriented COBOL. This new approach to COBOL promises to be a way for companies to maintain the value of their legacy COBOL programs, while still being able to use the benefits of object-oriented programming.
  • Appendix B shows how Visual Basic can be used to create Windows-based user interfaces for COBOL programs.
  • Coverage of COBOL 2002 and intrinsic functions has been added in Appendix E. The 1989 extensions to COBOL 85 allow the use of predefined functions that had been missing in COBOL. This appendix also discusses the changes anticipated in COBOL 2002.
  • Appendix G, on student programming projects has been thoroughly revised. Many of the projects are continued from one chapter to the next, enabling students to experience system development and programming maintenance.
  • Immediate entry into COBOL programming, beginning in Chapter I. Programming is learned by doing, and the book has students writing a complete program from the very beginning.
  • Over 30 illustrative COBOL programs reinforce the discussion in the text and serve as both pedagogical aids and subsequent reference material. Every program is presented in a uniform and detailed format, including program narrative, record layouts, report layouts, test data, and processing specifications.
  • A thorough discussion of structured methodology, hierarchy charts, pseudocode, and topdown testing is presented in Chapter 3 and followed throughout the text. Students learn the proper way to develop programs early on and follow the procedure throughout the text.
  • An enhanced Web site (www.prenha.com/grauer) from where students can download the COBOL listings in the text, data files for student projects, and PowerPoint lectures. The availability of the sample listings enables students to reproduce and/or modify any of the programs without the tedium of data entry and further enhances the learning experience. The Web site also provides access to an online study guide containing review questions for every chapter.
  • An abundance of short-answer (true-false, multiple choice and fill-in-the blank) questions, COBOL problems, and programming projects for every chapter, with answers to the oddnumbered questions provided in Appendix F.
  • Programming tips, dispersed throughout the text, which go beyond the syntactical rules of COBOL, and suggest stylistic considerations to make programs easier to read and maintain.
  • Extensive use of graphic aids, featuring a two-color presentation, with annotated figures to further clarify the presentation.
  • System concept presentation at the beginning of most chapters, as COBOL instruction has come to require additional material beyond the language itself. There are detailed discussions of control breaks, data validation, techniques for table lookups and initialization, storing, the balance line algorithm for file maintenance and the organization of indexed files.

Software and Supplements

The Fujitsu Version of COBOL: From Micro to Mainframe, Third Edition is bundled with a free copy of Version 4.0 of the Fujitsu COBOL compiler and includes the associated documentation in the text. The Fujitsu version may also be ordered with one of two Micro Focus compilers. For more information please see our Web site (www.prenhall.com/grauer).

Instructors may also obtain the Instructor's Resource CD (ISBN# 0-13-088457X) from their local Prentice Hall representative. The CD contains the Instructor Manual in Word format, solutions to programming projects, and Prentice Hall Testing software. The latter is based on technology developed by Engineering Software Associates, Inc. (EAS), Prentice Hall Custom Test allows the educator to create and tailor the exam to their own needs.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020