I am getting this error below when the COBOL code is run.
Trying to add gm and hm calculations to cobol program
i’m trying to update the program by adding the following features:
• Two measures of central tendency – geometric mean (GM), and harmonic mean (HM)
• One measure of dispersion – root mean square (RMS)
Cobol program wont read until end of file
Cobol program wont read until end of file. It should read line by line, 8 chartcer number followed by 72 empty charctacters till it reads in next number.
Cobol errors, cannot seem to figure it out
I’m encountering compilation errors in my COBOL program, where the compiler is indicating that file names like ‘INPUT-FILE’ and ‘OUTPUT-FILE’ are not defined. Despite defining these files in the FILE SECTION of the program, the compiler seems unable to recognize them. I’ve tried adjusting the I/O setup, but the errors persist. Can anyone help me understand why these errors are occurring and how to resolve them? Below is a snippet of my COBOL code for reference.
Record grouping and aggregation
I have a fixed record file with several millions of records containing sales for several thousands customers. I need to generate file with one record for each customer containing customer id, sales count and sales total.