Mainframe Path Start learning free
Hands-on exerciseIntermediate25 min

COBOL: count and total payments by status

Finance wants a quick count of payments by status, and the total of approved ones. PAYSTAT reads the file and prints the report, but the paragraph that does the counting is empty.

What you will do

  1. Use 88-level condition names
  2. Write an EVALUATE
  3. Compile, link and run, then check the report

Simulated: the Lab runs entirely in your browser on a simulated, fictional z/OS system. Nothing is sent to or run on a real mainframe.

Free, no account needed.
Your work is saved on this device; sign in to keep it in your account.

Start in the Lab