Skip to content

Commit 54f9627

Browse files
committed
merge
Signed-off-by: MikeBauerCA <[email protected]>
2 parents 38983e2 + 4a351a4 commit 54f9627

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

COBOL Programming Course #2 - Advanced Topics/COBOL Programming Course #2 - Advanced Topics.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,31 +49,29 @@ Can you fix the code to get the correct result? The new source code is named **C
4949

5050
You can find them in the github repository for the COBOL course, in the subfolder **/COBOL Programming Course #2 - Advanced Topics/Challenges/Debugging**.
5151

52-
# COBOL Challenge - The Covid 19 Reports
52+
# COBOL Challenge - The COVID-19 Reports
5353

54-
Today, you are tasked to create a COVID-19 Summary Report of all the countries around the world. The information will come from COVID19API website.
54+
Today, you are tasked to create a COVID-19 Summary Report of all the countries around the world, using information from the COVID19API website.
5555

56-
Here are the instructions:
56+
## Instructions
5757

58-
- Extract the response from this API: https://api.covid19api.com/summary. You will receive a JSON file that is similar to the photo below:
58+
- Extract the response from this API: https://api.covid19api.com/summary. You will receive a JSON file that is similar to the image below:
5959

6060
![](Images/cobolchCOV19-img1.png)
6161

6262
- Convert that file to CSV format. It should look like this. In my example, I only chose the “Countries” part.
6363

6464
![](Images/cobolchCOV19-img2.png)
6565

66-
- Using Zowe, Upload the CSV file that you have created to mainframe.
66+
- Using Zowe, upload the CSV file to the mainframe.
6767

68-
`Hint: you can use the command zowe files ul ftds “file location” “dataset name”`
68+
**Hint:** You can use the command `zowe files ul ftds “file location” “dataset name”` to upload the CSV file to the mainframe.
6969

70-
- Create a new member in your *.CBL Dataset to write your COBOL program.
70+
- Create a new member in your *.CBL data set to write your COBOL program.
7171

72-
`Hint: This step can be done using Zowe Explorer and Zowe CLI`
72+
**Hint:** You can create a member using Zowe Explorer or Zowe CLI.
7373

74-
- Begin writing your COBOL program
75-
76-
- In your COBOL program, you have to read the uploaded CSV file and re-format it to display the contents like this:
74+
- Write a COBOL program that reads the uploaded CSV file and reformats it to display the contents like this:
7775

7876
```
7977
********************************************************************
@@ -91,18 +89,23 @@ Here are the instructions:
9189
********************************************************************
9290
```
9391
94-
- Optional: A more advance approach is to reformat it into a Report Form like this:
92+
- Compile and test your work.
93+
94+
## Advanced Tasks
9595
96-
![](Images/cobolchCOV19-img3.png)
96+
If you want a more challenging approach, try the optional tasks below:
9797
98-
- Compile and Test your work
98+
- Reformat the data into a Report Form like this:
9999
100-
- Optional: Automate. Using NPM and Zowe CLI, Run all these steps and create a “one click” COBOL build similar to this.
100+
![](Images/cobolchCOV19-img3.png)
101+
102+
- Automate. Using NPM and Zowe CLI, run all these steps and create a “one click” COBOL build similar to this:
101103
102104
![](Images/cobolchCOV19-img4.gif)
103105
104-
I hope this could be a good COBOL challenge to anybody who is willing to try.
105-
If you want to check the solution, read all about it [here](https://medium.com/@jessielaine.punongbayan/solution-covid-19-reports-cobol-challenge-6c509579e3fe?source=friends_link&sk=5a662034a03c91d639b77267ed6abfc9).
106+
## Solution
107+
108+
To check the solution, refer to the blog post [here](https://medium.com/@jessielaine.punongbayan/solution-covid-19-reports-cobol-challenge-6c509579e3fe?source=friends_link&sk=5a662034a03c91d639b77267ed6abfc9).
106109
107110
Happy Coding! 😉
108111

0 commit comments

Comments
 (0)