Skip to content

Commit

Permalink
Merge pull request #188 from openmainframeproject/issue-124-125-minor…
Browse files Browse the repository at this point in the history
…-edits

Minor edits to resolve #124 and #125
  • Loading branch information
Sudharsana-Srinivasan authored Nov 3, 2020
2 parents 1182c1f + 3bf2e84 commit 501b00b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ Will be assumed to be COBOL code. This information is stored in the global VSCo

### Margins

The first thing you will notice when editing COBOL source code is that VSCode will have inserted five vertical lines down the file. These lines segment each line of code into the areas reserved for sequence numbers, comment / continuation characters, area A and area B. When coding without this basic aid I cannot recount the number of times I have made a compilation error because I started coding in the wrong column. This alone is a very useful aid to a new COBOL programmer. Move information about COBOL syntax and in particular the columns will be discussed later
The first thing you will notice when editing COBOL source code is that VSCode will have inserted five vertical lines down the file. These lines segment each line of code into the areas reserved for sequence numbers, comment / continuation characters, area A and area B. When coding without this basic aid I cannot recount the number of times I have made a compilation error because I started coding in the wrong column. This alone is a very useful aid to a new COBOL programmer. Move information about COBOL syntax, and in particular the columns, will be discussed later

### Variable expansion

Expand Down Expand Up @@ -2785,7 +2785,7 @@ together.

Designing a structured layout that is easy to read and understand is required to format output. Designing a structured layout involves column headings and variable alignment using spaces, numeric format, currency format, etc. This chapter aims to explain this concept utilizing example COBOL code to design column headings and align data names under the such headings. At the end of the chapter you are asked to complete a lab that practices implementation of the components covered.

A capability of COBOL data output formatting that is worth noting but not covered in this chapter is that COBOL is a web enabled computer language. COBOL includes easy and quick transformation of existing COBOL code to write JSON (JavaScript Object Notation) where the output is sub-sequentially formatted for a browser, a smartphone, etc. Frequently, the critical data accessed by a smart phone, such as a bank balance, is stored and controlled by z/OS where a COBOL program is responsible for retrieving and returning the bank balance to the smart phone.
A capability of COBOL data output formatting that is worth noting but not covered in this chapter is that COBOL is a web enabled computer language. COBOL includes easy and quick transformation of existing COBOL code to write JSON (JavaScript Object Notation) where the output is subsequently formatted for a browser, a smartphone, etc. Frequently, the critical data accessed by a smart phone, such as a bank balance, is stored and controlled by z/OS where a COBOL program is responsible for retrieving and returning the bank balance to the smart phone.

- **Review of COBOL write output process**

Expand Down

0 comments on commit 501b00b

Please sign in to comment.