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: Commission report solution - COBOL Tutorial
From the course: COBOL Essential Training
Solution: Commission report solution
(upbeat music) - [Instructor] How did you make out with this challenge? Remember, just like everyone uses language a little differently. Every programmer writes code in a slightly different manner. I'd like to show you my solution. It's available in retro size files folder under chapter two, and it's titled SalesCommissionSolution.cbl I'm going to highlight the changes that I made to the original sales program. Starting with, right here in the file control section on line 20, I'm adding the new report that I need to create. So I have select commission report and I'm assigning it to the file name COMMISSIONREPORT.DAT remember that's the name that will be on my computer. Let me scroll down a little bit. In the file section, I need to give this file a file definition. Since this file will contain a report I really only need to define one group item. So in line 41 is my file definition for the commission report. And…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
COBOL naming standards4m 9s
-
(Locked)
How to define types of data4m 37s
-
(Locked)
Comp-3 data types3m 40s
-
(Locked)
Literal and figurative constants4m 48s
-
(Locked)
Editing characters for writing reports5m 27s
-
(Locked)
Challenge: Create a sales commission report1m 33s
-
(Locked)
Solution: Commission report solution5m 59s
-
-
-
-
-
-
-
-
-