Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions COBOL Programming Course #1 - Getting Started/Labs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# COBOL Programming Course #1 - Getting Started - Lab Setup

The labs for this course are set up on z/OS 2.4 with Enterprise COBOL v6.3. Modification may be necessary if your installation uses a different version.
The labs for this course are set up on z/OS 2.4 with Enterprise COBOL v6.3. Modification may be necessary for your installation.

Please note that the following instruction is provided as-is. Neither this project nor the Open Mainframe Project will be held responsible or liable for any loss, costs, liabilities, or damages resulting from your direct or indirect use of this Lab Setup.

Expand All @@ -16,7 +16,7 @@ There are 2 kinds of data provided inside the **data** folder:
- **data** is a binary file that is still encoded in EBCDIC with packed decimal
- **xdata** is a viewable ASCII file, however, the packed decimal fields are unreadable

There are 3 supplied cataloged procedures inside the **jclproc** folder:
There are 3 IBM-supplied cataloged procedures inside the **jclproc** folder:
- **IGYWC** for COBOL code compilation
- **IGYWCL** for COBOL code compilation and link-edit
- **IGYWCLG** for COBOL code compilation, link-edit, and execution
Expand All @@ -29,7 +29,7 @@ To set up your environment for the Course,
- You will need to copy the members from **cbl** to your own PDS. The Course Document and JCL assume that the PDS is `&SYSUID..CBL`.
- You will need to copy the members from **jcl** to your own PDS. The Course Document assumes that the PDS is `&SYSUID..JCL`.
- You will need to transfer the binary **data** from the data folder to your own sequential data set. The Course Document and JCL assume that the PDS is `&SYSUID..DATA`.
- You will need to make sure that the procedures IGYWC, IGYWCL, and IGYWCLG are available in your procedure library.
- You will need to make sure that the IBM-supplied procedures IGYWC, IGYWCL, and IGYWCLG are available in your procedure library. A copy of these procedures are available at **jclproc**.

Note that the JCL references the following data sets,
- `&SYSUID..CBL` where the COBOL source codes are stored
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
PROGRAM-ID.
ADDAMT.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
PROGRAM-ID. COBOL.
AUTHOR. STUDENT.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.
PROCEDURE DIVISION.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
* COBOL reference format (Figure 1., page 32)
*Columns:
* 1 2 3 4 5 6 7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
PROGRAM-ID. PAYROL0X.
DATA DIVISION.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//ADDAMT JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(ADDAMT),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(ADDAMT),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0001J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0001),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0001),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0002J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0002),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0002),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0003J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0001),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0001),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0004J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0004),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0004),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0005J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0005),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0005),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0006J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0006),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0006),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0007J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0007),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0007),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0008J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0008),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0008),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0009J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0009),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0009),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0010J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0010),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0010),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0011J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0011),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0011),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0012J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0012),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0012),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0033J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(HELLO),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(HELLO),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//COBOL JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(COBOL),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(COBEXEC),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
//HELLOCBL JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCLG,SRC=HELLO
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
//PAYROL00 JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//PAYROLL EXEC IGYWCLG,SRC=PAYROL00
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
//PAYROL0X JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//PAYROLL EXEC IGYWCLG,SRC=PAYROL0X
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//SRCHBINJ JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(SRCHBIN),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(SRCHBIN),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//SRCHSERJ JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(SRCHSER),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(SRCHSER),DISP=SHR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*-----------------------
* Copyright Contributors to the COBOL Programming Course
* SPDX-License-Identifier: CC-BY-4.0
*-----------------------
IDENTIFICATION DIVISION.
*-----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//CBL0106J JOB 1,NOTIFY=&SYSUID
//***************************************************/
//* Copyright Contributors to the COBOL Programming Course
//* SPDX-License-Identifier: CC-BY-4.0
//***************************************************/
//COBRUN EXEC IGYWCL
//COBOL.SYSIN DD DSN=&SYSUID..CBL(CBL0106),DISP=SHR
//LKED.SYSLMOD DD DSN=&SYSUID..LOAD(CBL0106),DISP=SHR
Expand Down
7 changes: 4 additions & 3 deletions COBOL Programming Course #2 - Advanced Topics/Labs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# COBOL Programming Course #2 - Advanced Topics - Lab Setup

The labs for this course are set up on z/OS 2.4 with Enterprise COBOL v6.3 and Db2 for z/OS 12. Modification may be necessary if your installation uses a different version.
The labs for this course are set up on z/OS 2.4 with Enterprise COBOL v6.3 and Db2 for z/OS 12. Modification may be necessary for your installation.

Please note that the following instruction is provided as-is. Neither this project nor the Open Mainframe Project will be held responsible or liable for any loss, costs, liabilities, or damages resulting from your direct or indirect use of this Lab Setup.

Expand All @@ -14,7 +14,7 @@ There are 3 folders within this directory:
There are 3 supplied cataloged procedures inside the **jclproc** folder:
- **DB2CBL** for COBOL code compilation, link-edit, and Db2 binding
- **DB2JCL** for the execution of SQL statements via JCL
- **DSNUPROC** for invoking Db2 online utility
- **DSNUPROC** for invoking Db2 online utility, this procedure is IBM-supplied

## Setup

Expand All @@ -24,7 +24,8 @@ To set up your own environment for the Course,
- You will need to make sure that the Lab Setup for Course 1 has been followed.
- You will need to copy the members from **cbl** to your own PDS. The Course Document and JCL assume that the PDS is `&SYSUID..CBL`.
- You will need to copy the members from **jcl** to your own PDS. The Course Document assumes that the PDS is `&SYSUID..JCL`.
- You will need to make sure that the procedures DB2CBL, DB2JCL, and DSNUPROC are available in your procedure library.
- You will need to make sure that the procedures DB2CBL and DB2JCL are added from **jclproc** to your procedure library.
- You will need to make sure that the IBM-supplied procedure DSNUPROC is available in your procedure library. A copy is available on **jclproc**.

Note that the JCL references the following data sets,
- `&SYSUID..CBL` where the COBOL source codes are stored
Expand Down
Loading