On September 14th, 2017, we published revised versions of our Privacy Policy, Terms of Service and Website Use Policy and published a Cookie Policy. Your continued use of Lynda.com means you agree to these revised documents, so please take a few minutes to read and understand them.

Challenge: Calculate employee raises

- In this challenge, you will read a file…containing a list of employees…that contains their respective salaries.…The good news to the employees,…they're all getting a 3% cost of living increase.…So we need to read each record,…calculate the new salary,…and write that record to a new employee file.…When you are done with the calculations,…close the file and then open it as input…to print a report of all employees with the new salaries.…A sample data file is included in the Challenge folder.…

If you need some code to get started,…try using 0404 Processing files from an earlier example.…Before you tackle the challenge,…let me just over the file layout for the test data.…As you can see in columns 1-9,…we have the Social Security Number,…next we have the Last Name,…there's 10 characters with the last name,…10 characters for the first name,…then the Birth date which is in year-month-day format,…takes up eight characters,…the Salary, allows for nine positions of salary,…with no decimal point,…and the last position is for the Gender.…

Resume Transcript Auto-Scroll

Author

Released

12/8/2015

COBOL is an endangered language. But it once ran 80% of the world's business systems: thousands of mission-critical applications that still exist today. Some companies want to upgrade and transition their COBOL applications to more modern frameworks; others want to stick with COBOL's relatively stable platform. In either case, hiring managers are willing to pay a premium for candidates who know how to take on COBOL's challenges. For this reason, programmers are learning COBOL again.

This course is designed to help new and experienced programmers alike add COBOL (or add COBOL back) to their skill set. Peggy Fisher shows how to get a COBOL development environment up and running and how to start programming. She reviews COBOL's data types and constants, control structures, file storage and processing methods, tables, and strings. Challenges issued along the way will help you practice what you've learned.