COBOL : From Micro to Mainframe: Fujitsu Version / Edition 3

COBOL : From Micro to Mainframe: Fujitsu Version / Edition 3

by Robert T. Grauer, Carol Vasquez Villar, Arthur Buss
     
 

ISBN-10: 0130858498

ISBN-13: 9780130858498

Pub. Date: 12/23/1999

Publisher: Prentice Hall

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…  See more details below

Overview

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

Read More

Product Details

ISBN-13:
9780130858498
Publisher:
Prentice Hall
Publication date:
12/23/1999
Edition description:
3rd Edition
Pages:
908
Product dimensions:
8.26(w) x 10.83(h) x 1.36(d)

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.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >