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.

Challenge: Create table of weather data

Challenge: Create table of weather data - COBOL Tutorial

From the course: COBOL Essential Training

Start my 1-month free trial

Challenge: Create table of weather data

(bright upbeat music) - [Instructor] For this challenge, we're going to search weather data. I've already created a weather2020.dat file that's available in your exercise file's folder. This file was created using the Google big query against the GSOD weather data. I used year 2020. The table contains weather information that was collected by NOAA. It includes information such as the amount of rain, and wind speed et cetera. Your program should read the weather data file, and store it in a table. From there, provide the user with the option of printing the entire table, or for searching for a specific station number. So in order to search for a specific station number, you need to make sure that you add the station number as an index. Since I'm recommending that you just use the search verb, you don't have to make sure the table is in any kind of order ascending or descending, although it might not be a bad…

Contents