Add Lab on ABEND S322 (Timeout due to Infinite Loop) with Fix #338
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 PR introduces a new lab for the COBOL Programming Course focused on debugging intentionally broken COBOL programs. The lab is designed to help learners strengthen their problem-solving and debugging skills by identifying, understanding, and fixing errors in COBOL code.
This addition aligns with the course’s goal of providing practical, hands-on learning experiences and will improve students' ability to work with real-world COBOL applications where debugging is an essential skill.
Fixes # (issue): NA
Summary of changes:
CBL0015.cobol
with infinite loop (ALWAYS-TRUE = 'N'
condition never met)CBLC2.cobol
as fallback for struggling studentsCBL0015J.jcl
with TIME=(0,05) to demonstrate real timeout conditionsMotivation:
S322 timeout ABENDs are among the most common runtime errors students encounter, especially when learning loop constructs. The existing theoretical content explains the concept well, but students need hands-on practice to truly understand how infinite loops consume CPU time and trigger system timeouts. This lab bridges the gap between theory and practice.
📌 LAB: S322 Abend Lab.pdf
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