Skip to content

Commit a585cd3

Browse files
committed
Remove lab numbering
Signed-off-by: MikeBauerCA <[email protected]>
1 parent 70dae8d commit a585cd3

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

COBOL Programming with VSCode.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ This chapter introduces the basics of COBOL syntax. It then demonstrates how to
771771
- **Professional manuals**
772772
- **Learn more about recent COBOL advancements**
773773

774-
- **Lab 1**
774+
- **Lab**
775775

776776

777777
## COBOL characteristics
@@ -1004,7 +1004,7 @@ Three ‘Enterprise COBOL for z/OS” manuals are referenced throughout the chap
10041004

10051005
[https://youtu.be/bRLKGeB6W2A](https://youtu.be/bRLKGeB6W2A)
10061006

1007-
## Lab 1
1007+
## Lab
10081008

10091009
In this lab exercise you will connect to an IBM Z system, view a simple COBOL hello world program in VSCode, submit JCL to compile the COBOL program, and view the output. Refer to "Installation of VSCode and extensions" to configure VSCode with the Zowe Explorer and Z Open Editor extensions if you have not already done so.
10101010

@@ -1240,7 +1240,7 @@ Following this chapter is a lab available to compile and execute the COBOL sourc
12401240

12411241
- **MOVE and COMPUTE**
12421242

1243-
- **Lab 2**
1243+
- **Lab**
12441244

12451245
## Variables / Data-items
12461246

@@ -1366,7 +1366,7 @@ MOVE and COMPUTE reserved word statements alter the value of variable names. Ea
13661366

13671367
*Figure 2. MOVE and COMPUTE example*
13681368

1369-
## Lab 2
1369+
## Lab
13701370

13711371
**Note** : It may take a few seconds to load in all segments of this lab. If files are not loading, hit the refresh button on the list that appears when hovering over the section bar.
13721372

@@ -1456,7 +1456,7 @@ An experienced COBOL programmer can answer the question, "How does an Enterprise
14561456

14571457
- **Iterative processing of READ-NEXT-RECORD paragraph**
14581458

1459-
- **Lab 3**
1459+
- **Lab**
14601460

14611461

14621462
## COBOL code used for sequential file handling
@@ -1625,7 +1625,7 @@ Again, the READ-RECORD paragraph executes the COBOL READ statement, resulting in
16251625
*Figure 7. Iterative processing*
16261626

16271627

1628-
## Lab 3
1628+
## Lab
16291629

16301630
The lab associated with this chapter demonstrates the ‘end-of-file’ COBOL coding technique for reading all data records from a sequential file. If a step has an asterisk (\*) next to it, it will have a hint associated at the end of the lab content.
16311631

@@ -2293,7 +2293,7 @@ A capability of COBOL data output formatting that is worth noting but not covere
22932293

22942294
- **PRINT-REC FROM sentences**
22952295

2296-
- **Lab 4**
2296+
- **Lab**
22972297

22982298
## Review of COBOL write output process
22992299

@@ -2394,7 +2394,7 @@ The COBOL MOVE sentence, on line 1, in the WRITE-HEADERS paragraph is collecting
23942394

23952395
PRINT-REC is opened for output resulting in PRINT-REC FROM following through with a write PRINT-REC FROM a different header or defined data name layout. The sentences on lines 5 and 6 write the PRINT-REC FROM defined header data names, HEADER-1 and HEADER-2, from Figure 3. The PRINT-REC file descriptor data names in Figure 2. are effectively replaced with the content of the header data names in Figure 3. written to output. The sentences on lines 7 and 8 result in a blank line written between headers. The sentences on lines 9 and 10 write the PRINT-REC FROM defined HEADER-3 and HEADER-4 data names from Figure 3. The PRINT-REC file descriptor data names in Figure 2. are effectively replaced with the content of the header data names in Figure 3.
23962396

2397-
## Lab 4
2397+
## Lab
23982398

23992399
This lab utilizes two COBOL programs, CBL0004 and CBL0005, located within your id.CBL data set, as well as two JCL jobs, CBL0004J and CBL0005J, located within your id.JCL data set. The JCL jobs are used to compile and execute the COBOL programs, as discussed in previous chapters.
24002400
#### Using VSCode and Zowe Explorer
@@ -2474,7 +2474,7 @@ This chapter dives into how programs make decisions based upon the programmer wr
24742474

24752475
- **Sign conditions**
24762476

2477-
- **Lab 5**
2477+
- **Lab**
24782478

24792479

24802480
## Boolean logic, operators, operands, and identifiers
@@ -2761,7 +2761,7 @@ The sign condition determines whether the algebraic value of a numeric operand i
27612761
[IBM Knowledge Center - Enterprise COBOL for z/OS 4.2.0](https://www.ibm.com/support/knowledgecenter/en/SS6SG3_4.2.0/com.ibm.entcobol.doc_4.2/PGandLR/ref/rlpdsxco.htm)
27622762

27632763

2764-
## Lab 5
2764+
## Lab
27652765

27662766
This lab requires two COBOL programs, CBL0006 and CBL0007 and two respective JCL Jobs, CBL0006J and CBL0007J, to compile and execute the COBOL programs. All of which are provided to you in your VSCode - Zowe Explorer.
27672767
#### Using VSCode and Zowe Explorer:
@@ -2832,7 +2832,7 @@ This chapter aims to introduce the concept of implementing arithmetic expression
28322832

28332833
- **Examples of COBOL arithmetic statements**
28342834

2835-
- **Lab 6**
2835+
- **Lab**
28362836

28372837

28382838
## What is an arithmetic expression?
@@ -2987,7 +2987,7 @@ The WRITE-TLIMIT-TBALANCE paragraph shown in Figure 5. is positioned within the
29872987

29882988
<a name="_Ref36026709"></a>
29892989

2990-
## Lab 6
2990+
## Lab
29912991

29922992
This lab requires two COBOL programs, CBL0008 and CBL0009 and two respective JCL Jobs, CBL0008J and CBL0009J, to compile and execute the COBOL programs. All of which are provided to you in your VSCode - Zowe Explorer.
29932993
#### Using VSCode and Zowe Explorer
@@ -3056,7 +3056,7 @@ A COBOL programmer must be aware that the computer stored internal data represen
30563056

30573057
- **COBOL DISPLAY vs COMPUTATIONAL**
30583058

3059-
- **Lab 7**
3059+
- **Lab**
30603060

30613061

30623062
## Data representation
@@ -3119,9 +3119,9 @@ COBOL can encode and process text data in EBCDIC or ASCII. This means a COBOL p
31193119
Enterprise COBOL for z/OS by default utilizes EBCDIC encoding. However, it is possible to read and write ASCII in z/OS. The EBCDIC format representation of numbers and alphabetic characters is in a DISPLAY format. Packed decimal and zoned decimal are NOT in a DISPLAY format. COBOL can describe packed decimal and zoned decimal fields using COMPUTATIONAL, COMP-1, COMP-2, COMP-3, COMP-4, and COMP-5 reserved words.
31203120

31213121

3122-
## Lab 7
3122+
## Lab
31233123

3124-
Many of the previous COBOL lab programs you have worked with thus far are reading records containing two packed decimal fields, the client account limit and the client account balance. In lab 6, the total of all client account limits and balances used a COMPUTE statement, where the COMP-3 fields contained the packed decimal internal data.
3124+
Many of the previous COBOL lab programs you have worked with thus far are reading records containing two packed decimal fields, the client account limit and the client account balance. In the Arithmetic expressions lab, the total of all client account limits and balances used a COMPUTE statement, where the COMP-3 fields contained the packed decimal internal data.
31253125

31263126
What happens when an internal packed decimal field is not described using COMP-3? Without using COMP-3 to describe the field, the COBOL program treats the data as DISPLAY data (EBCDIC format). This lab demonstrates what happens during program execution without using COMP-3.
31273127

@@ -3186,7 +3186,7 @@ Previous COBOL industry specifications included intrinsic functions, which remai
31863186

31873187
- **Use of intrinsic functions with reference modifiers**
31883188

3189-
- **Lab 8**
3189+
- **Lab**
31903190

31913191

31923192
## What is an intrinsic function?
@@ -3355,7 +3355,7 @@ LNAME(4:2)
33553355
Reference modification, LNAME(1:1), would return only the first character of data item LNAME, while reference modification, LNAME(4:2), would return the fourth and fifth characters of LNAME as the result of starting in the fourth character position with a length of two. If LNAME of value SMITH was the data item being referenced in the intrinsic function, the first reference would output, S. Considering those same specs, the second reference would output, TH.
33563356

33573357

3358-
## Lab 8
3358+
## Lab
33593359

33603360
This lab contains data that includes a last name, where last name is all upper-case. It demonstrates the use of intrinsic functions together with reference modification to lower-case the last name characters, except the first character of the last name.
33613361

@@ -3368,11 +3368,11 @@ This lab requires two COBOL programs, CBL0011 and CBL0012 and two respective JCL
33683368

33693369
2. Observe the report output, last name, with first character upper-case and the remaining characters lower-case.
33703370

3371-
Figure 1. , below, illustrates the difference in output from lab 6 compared to this lab. Notice that in the previous lab, the last names were listed in all capitalized characters, whereas, as previously stated, this lab output has only the first character of the last name capitalized.
3371+
Figure 1. , below, illustrates the difference in output from the Data types lab compared to this lab. Notice that in the previous lab, the last names were listed in all capitalized characters, whereas, as previously stated, this lab output has only the first character of the last name capitalized.
33723372

33733373
![](Images/image170.jpg)
33743374

3375-
*Figure 1. Lab 8 vs. lab 7 output*
3375+
*Figure 1. Current lab vs. Data types lab output*
33763376

33773377

33783378

COBOL Programming with VSCode.pdf

-99 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)