HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
PDF The popular standard, used most often with the free Acrobat® 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.
Question 1: Where is the serial number for the compiler?
Solution 1: It is listed on page 14 under number 10 of the installation instructions. It is 99-03811-10092.
Question 2: During the validation of the install I followed all of the listed steps. However, when I try to execute the first sample I receive 2 simultaneous errors, one stating that I have missing DLL files, and one stating that the system can't execute the sample1.
Solution 2: Here are the steps to take to fix this.
First, make sure you have restarted your computer. If you install and then try to compile without rebooting, the PATH statement will not have taken effect yet and you WILL receive the error you encountered.
If you have restarted and are still receiving the error, do the following:
The Fujitsu install modifies your autoexec.bat - but when it does it makes a backup copy, starting with AUTOEXEC.001, then AUTOEXEC.002, etc.
In your root directory find the autoexec.bat that is before your FIRST install (assuming you tried the install multiple times). It should NOT have the text \FSC in it anywhere.
Copy this autoexec to autoexec.kep. Edit autoexec.kep.
Find the first PATH= statement, and modify it so that you insert the following immediately after the equal sign.
C:\FSC\PCOBOL32;
If your path originally said:
SET PATH=C:\WINDOWS\SYSTEM;
Change it to
SET PATH=C:\FSC\PCOBOL32;C:\WINDOWS\SYSTEM;
Then save the file.
Copy AUTOEXEC.KEP to AUTOEXEC.BAT
Reboot your computer, then try the compile test again. Everything should work. If it does not, then do this:
Uninstall the software. Re-install, but before restarting your computer after installing, copy the new AUTOEXEC.KEP to AUTOEXEC.BAT, then restart.
We have encountered this with one other reader, and this solved the problem.
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!
Author programs and updates for this book are available on the author's web site.
Download the sample pages (includes Chapter 3 and Index)
(NOTE: All chapters contain a Summary and all chapters, except for Chapter 24, conclude with Q&A and a Workshop.)
I. COBOL PROGRAM BASICS.
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.
II. FILE HANDLING.
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.
III. BUSINESS PROCESSING.
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.
IV. MISCELLANEOUS FUNCTIONS.
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.
V. ADVANCED TOPICS.
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.
Author programs and updates for this book are available on the author's web site.
For a more recent Cobol compiler, such as the open-source Community Edition of COBOL-IT, it is available here: http://www.community.cobol-it.com/
Or, additional free/open-source Cobol compilers is available here: http://www.freebyte.com/programming/cobol/#freecobolcompilers
CD updates:
PDF file with instructions for running the CD software on 64-bit Windows here