Home > Store

Sams Teach Yourself COBOL in 24 Hours

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

Sams Teach Yourself COBOL in 24 Hours

eBook (Watermarked)

  • Your Price: $28.79
  • List Price: $35.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.


  • Copyright 1998
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-13-265003-7
  • ISBN-13: 978-0-13-265003-8

Sams Teach Yourself COBOL in 24 Hours teaches the basics of COBOL programming in 24 step-by-step lessons. Each lesson builds on the previous one providing a solid foundation in COBOL programming concepts and techniques. Coupled with the source code and the compiler available from Fujitsu, this hands-on guide is the easiest, fastest way to begin creating standard COBOL compliant code. Business professionals and programmers from other languages will find this hands-on, task-oriented tutorial extremely useful for learning the essential features and concepts of COBOL programming. Writing a program can be a complex task. Concentrating on one development tool guides you to good results every time. There will be no programs that will not compile!

Sample Content

Table of Contents

(NOTE: All chapters contain a Summary and all chapters, except for Chapter 24, conclude with Q&A and a Workshop.)


Hour 1. Getting Started.

COBOL Purpose and History. The Origin of COBOL. The COBOL Standard. Installing the Compiler.

Hour 2. Writing Your First Program in COBOL.

COBOL Program Layout. Creating a Simple COBOL Program. Compiling and Linking.

Hour 3. Different Data Types.

The Picture Clause. Numeric Fields. Alphanumeric Fields. Literals. Numeric Edited Fields. Alphanumeric Edited Fields. Group and Elementary Level Items. Using Data Types in a Program.

Hour 4. Basic User Interface.

Interfacing with the User. The Screen Section. Using the Screen Section in a Program.

Hour 5. Procedure Division.

Procedure Division Organization. Arithmetic Statements. Simple Data Manipulation.

Hour 6. Manipulating Data.

The Accept Statement. The Initialize Statement. The Inspect Statement. Reference Modification. Using What You Have Learned in a Program.

Hour 7. Manipulating String Data.

The String Statement. The Unstring Statement.

Hour 8. Conditional Statements.

Conditional Statements in COBOL. The Else Clause. 88 Levels and the Set Statement.

Hour 9. The Evaluate Statement.

When to Use Evaluate. Simple Evaluate Statements. More Complex Evaluate Usage.

Hour 10. Processing Loops.

The Basic Perform Statement. Sections and Paragraphs. Creating Processing Loops Using Perform.

Hour 11. Advanced Perform Statements.

Perform with Varying. The Use of the Inline Perform. The Inline If Statement and Perform. Using the Debugger.

Hour 12. Tables.

Defining a Table. Basic Table Handling. Populating a Table in Working-Storage. The Search Statement. Multidimensional Tables. Variable- Length Tables.


Hour 13. Sequential Files.

Connecting Your Program to a File. Opening the File. Closing the File. Writing to the File. Reading from the File. Updating the File. Variable-Length Records.

Hour 14. Indexed Files.

Defining the Indexed File. Creating an Indexed File from a Sequential File.

Hour 15. Reading Indexed File Records.

Various Access Methods. Random Access. Dynamic Access.

Hour 16. Updating Indexed File Records.

Opening for I-O. Writing Records. Rewriting Records. Deleting Records. Relative Files.

Hour 17. Sorting.

Sorting a File. Manipulating Data During the Sort.


Hour 18. Master File Updating.

Programming for Transaction Entry. Data Validation. Updating a Master File.

Hour 19. Reporting.

Creating Reports.

Hour 20. Advanced Reporting.

Reporting with Control Breaks.


Hour 21. Date Manipulation.

Determining the Current System Date. Days Between Dates. Determining the Day of the Week for a Particular Date. Validating Dates. Other Kinds of Dates. Fun with Dates.

Hour 22. Other Intrinsic Functions.

Mathematical Functions. Statistical Functions. Financial Functions. String Functions. Miscellaneous Functions.


Hour 23. The Call Interface.

Calling Other Programs. Simple Program Calling. Passing Data. Between Programs.

Hour 24. The Graphical User Interface.

Different Methods of Achieving the Graphical User Interface. Using sp2 to Create a Graphical User Interface. The Future of COBOL. Summary.

Appendix A. Quiz Exercise Questions and Answers - See CD-ROM.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership