Skip to content

Commit

Permalink
Prepare Testing Course for Publishing
Browse files Browse the repository at this point in the history
Updated READMEs to inform that the testing course is now a published asset. Made minor modifications to the course markdown file to allow pandoc to publish a PDF.

Signed-off-by: Mike Bauer <[email protected]>
  • Loading branch information
MikeBauerCA committed Dec 18, 2023
1 parent 91efa44 commit bef2408
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ Then issue command `cd ..` to come back to the parent directory.

*Figure 21. Output: A new COBOL program with the test cases embedded as statements*

20. You need to copy this file to the MVS data sets (Z99998.CBL) which you can view in your DATA SETS tab. Use the command `cp CC##99.CBL "//Z99998.CBL(NUMBERS)'"`
20. You need to copy this file to the MVS data sets (Z99998.CBL) which you can view in your DATA SETS tab. Use the command `cp CC##99.CBL "//'Z99998.CBL(NUMBERS)'"`

![](Images/image230.png)

Expand Down Expand Up @@ -606,7 +606,7 @@ In this lab, You will have to write test cases for a given COBOL program to chec

*Figure 5. ssh connection*

6. Copy the newly generate source code to DATA SETS (Z99998.CBL) just like as we have seen earlier, use the command `cp CC##99.CBL “//’Z99998.CBL(EMPPAY)’”`
6. Copy the newly generate source code to DATA SETS (Z99998.CBL) just like as we have seen earlier, use the command `cp CC##99.CBL "//'Z99998.CBL(EMPPAY)'"`

![](Images/image241.png)

Expand Down
19 changes: 19 additions & 0 deletions COBOL Programming Course #4 - Testing/Front_Matter.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
\begin{center}
\vspace*{25pt}
\includegraphics{Images/COBOL-Programming-Course.png}
\hypertarget{cobol-programming-course-4}{%
\section*{
\\[35pt]
\Huge COBOL Programming Course 4 \\[10pt]
\Huge Testing \\[15pt]
\Large Version 3.1.0}\label{cobol-programming-course-3}}
\end{center}

\pagebreak
\hypertarget{copyright}{%
\section*{Copyright}{
\normalsize COBOL Programming Course is licensed under Creative Commons
Attribution 4.0 International. To view a copy of this license, visit
\href{https://creativecommons.org/licenses/by/4.0}{https://creativecommons.org/licenses/by/4.0}. \\[10pt]
Copyright Contributors to the Open Mainframe Project's COBOL Programming Course}\label{copyright}}
\pagebreak
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions COBOL Programming Course #4 - Testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ This project is a set of training materials and labs for testing COBOL applicati

## How to get started

There are currently no official releases of COBOL Programming Course #4 - Testing. All content remains in development. We encourage you to view and contribute to the [book](COBOL%20Programming%20Course%20%233%20-%20Testing.md) :)
To begin, select a recent [release](https://github.com/openmainframeproject/cobol-programming-course/releases) of the course. Under a given release, you should see two assets.

- The COBOL Programming Course #4 - Testing PDF asset contains the course instructions.
- The Source code asset contains everything that was in the project when the release was published.

To complete the course, you will also need to do one of the following:
- Select a [provider](#providers) below and follow their registration process. Once complete, you should be given system details to use in the course.
- Upload the source code for the course (located in the Labs folder) to your mainframe environment.

If you run into any issues, please don't hesitate to reach out on our [slack channel](https://openmainframeproject.slack.com/archives/C011NE32Z1T).

Expand All @@ -16,8 +23,8 @@ These materials are being used by other organizations to provide COBOL training

## Build

A PDF can be built using the following [pandoc](https://pandoc.org/) command. Note: pdflatex is required. [MiKTeX](https://miktex.org/) can be installed to accommodate this.
A PDF can be built using the following [pandoc](https://pandoc.org/) command. Note: pdflatex is required. [MiKTeX](https://miktex.org/) can be installed to accommodate this. Prior to issuing the following command, all subscript and superscript notation must be changed. Find all instances of `<sub>` and `</sub>` and replace them with `~`. Find all instances of `<sup>` and `</sup>` and replace them with `^`. This is the notation required for pandoc but this would make it difficult to read the markdown in GitHub.

```
pandoc "COBOL Programming Course #4 - Testing.md" -o "COBOL Programming Course #4 - Testing.pdf" --number-sections --toc --listings
pandoc "COBOL Programming Course #4 - Testing.md" -o "COBOL Programming Course #4 - Testing.pdf" --number-sections --toc -B Front_Matter.tex --listings
```
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ This project is a set of training materials and labs for COBOL on z/OS. The foll
- [COBOL Programming Course #1 - Getting Started](COBOL%20Programming%20Course%20%231%20-%20Getting%20Started/README.md)
- [COBOL Programming Course #2 - Learning COBOL](COBOL%20Programming%20Course%20%232%20-%20Learning%20COBOL/README.md)
- [COBOL Programming Course #3 - Advanced Topics](COBOL%20Programming%20Course%20%233%20-%20Advanced%20Topics/README.md)

- Incubation
- [COBOL Programming Course #4 - Testing](COBOL%20Programming%20Course%20%234%20-%20Testing/README.md)

If you run into any issues, please don't hesitate to reach out on our [Slack channel](https://openmainframeproject.slack.com/archives/C011NE32Z1T).
Expand All @@ -39,7 +37,7 @@ This project is openly governed as defined in [GOVERNANCE.md](GOVERNANCE.md).

## Credits

The courseware materials were made available through a joint collaboration between IBM, its clients, and American River College and proposed as a new project by IBM.
The course materials were made available through a joint collaboration between IBM, its clients, and American River College and proposed as a new project by IBM.

## Video Course Links

Expand Down

0 comments on commit bef2408

Please sign in to comment.