Add Lab: Case Sensitive Nature of COBOL Conditions (Lab 9) #334
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
This pull request introduces a new lab to the COBOL Programming Course, focusing on the case-sensitive nature of string literal comparisons in COBOL conditional expressions. The lab demonstrates how COBOL is case-insensitive for keywords and identifiers, but case-sensitive when comparing string literals, which can lead to subtle and hard-to-detect bugs in real-world applications.
I have included all the necessary details and comprehensive guidance to assist the user in successfully completing this lab. Initially, the user may encounter an incorrect answer in their report. I then explain to the user what might have caused the error and offer helpful hints on specific areas to review and possible changes to make. This step-by-step approach aims to improve their understanding and ensure accurate results in their report.
Files added:
•
CBL0066.cbl
- COBOL program source•
CBL0066J.jcl
- JCL job to compile and executeFinal look:
Fixes # (issue) - Not applicable, as this is a new feature addition.
Type of change
What type of changes does your PR introduce to the COBOL Programming Course? Put an
x
in the boxes that apply.Checklist:
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the reviewer