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: Create a master employee file

Solution: Create a master employee file - COBOL Tutorial

From the course: COBOL Essential Training

Start my 1-month free trial

Solution: Create a master employee file

(funky music) - [Instructor] How did you make out with the challenge? So in this one you had to set it up so it could read two employee files, the Acme employees and the Fuses, Incorporated employees, merge them together, and then I recommended for a little bit more of a challenge to write a report. So let's take a look at my code, and actually, I kind of backed it up a little bit because I have a problem with this code and it's something that I've run into several times. So I wanted to show it to you 'cause I think it might be something that's good to know. So here I have in my environment division, I am creating my input file for Acme employees on line seven. And on line 11 we have the Fuses, Incorporated employees coming in as an input file. Let me scroll down a little bit. Since we're going to merge in sort the employee files, on line 15 I have the name of the file that I'll be writing to, and online 18 is the name…

Contents