From the course: COBOL Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Sample program to process payroll

Solution: Sample program to process payroll - COBOL Tutorial

From the course: COBOL Essential Training

Start my 1-month free trial

Solution: Sample program to process payroll

(bouncy music) - [Instructor] How did you make out with the challenge? Well, I hope you had fun and I hope you were able to successfully update the program. I'd like to walk through my solution, which probably look very close to yours. All right the first thing you probably noticed was that when you add on line eight, the file status is filed. Check key and run the program I did in the original program have a typo where I had M file too. So you might have gotten that file not found error. So that's when you want to go back and look and take out the two and now if you ran it again, it should be good. The file status, check is actually really good for anytime you open any file. All right, let's scroll down a little bit. So here we have the employee details of the files that are coming in, and we're basically going to write an exact duplicate, except for the fact that we want to update the hourly rate. The first thing…

Contents