Skip to content

Commit 35eb1ff

Browse files
authored
Merge pull request #281 from vargajb/patch-1
Perform SQL select with JCL(SELTBL)
2 parents 8cba38b + b3dffab commit 35eb1ff

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

+7-4
Original file line numberDiff line numberDiff line change
@@ -538,16 +538,19 @@ The result is a personal Db2 tablespace, table, indexspace, and index
538538

539539
3. SUBMIT JCL(LOADTBL)
540540
The result is data loaded into the personal Db2 tablespace, table, indexspace, and index
541+
542+
4. SUBMIT JCL(SELTBL)
543+
Performs an SQL select to verify that your personal Db2 table is properly loaded with data.
541544

542-
4. Edit each COBOL source code member in your CBL partition data set changing all occurrences of Z# to your personal ID. Example - If your ID was Z80001, then change all occurrences of Z# to Z80001.
545+
5. Edit each COBOL source code member in your CBL partition data set changing all occurrences of Z# to your personal ID. Example - If your ID was Z80001, then change all occurrences of Z# to Z80001.
543546

544-
5. SUBMIT JCL(CBLDB21C)
547+
6. SUBMIT JCL(CBLDB21C)
545548
The result is compile of CBL program CBLDB21 and a Db2 Plan needed for program execution
546549

547-
6. SUBMIT JCL(CBLDB21R)
550+
7. SUBMIT JCL(CBLDB21R)
548551
The result is execution of COBOL program CBLDB21 to read the Db2 table and write each record from the Db2 table .
549552

550-
7. Two additional COBOL programs with Db2 API exist, CBLDB22 and CBLDB23 using the same Db2 table as the data source.
553+
8. Two additional COBOL programs with Db2 API exist, CBLDB22 and CBLDB23 using the same Db2 table as the data source.
551554

552555
\newpage
553556
# COBOL Program Compilation

0 commit comments

Comments
 (0)