In this project, you will enhance your COBOL skills by learning to incorporate loops into your COBOL code. A loop enables a program to repeat a set of steps over and over until the process is complete. Since one of COBOL’s strengths is its ability to process large volumes of data, using loops is an essential skill for any COBOL programmer. Although COBOL is an old language, skilled COBOL programmers are in demand, since it is estimated that up to 70% of large corporations still use COBOL for processing data in their mission-critical systems.
Code Loops in COBOL
Taught in English
Instructor: Judy Richardson
Included with
Guided Project
Recommended experience
What you'll learn
Demonstrate the process of compiling and running a COBOL program.
Code three types of loops in a COBOL program.
Process records in a file using a loop in a COBOL program.
Skills you'll practice
Details to know
Add to your LinkedIn profile
Guided Project
Recommended experience
See how employees at top companies are mastering in-demand skills
Learn, practice, and apply job-ready skills in less than 2 hours
- Receive training from industry experts
- Gain hands-on experience solving real-world job tasks
- Build confidence using the latest tools and technologies
About this Guided Project
Learn step-by-step
In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:
Review the OpenCobolIDE as you tour the user interface and open, compile, and run a COBOL program.
Write a PERFORM TIMES loop in a COBOL program to repeat a block of code a specific number of times.
Write and run COBOL code that includes a loop that repeats a block of code until a specific condition is met.
Challenge Task
Compare the PERFORM VARYING loop and the PERFORM UNTIL loop as you alter COBOL code by replacing PERFORM UNTIL with PERFORM VARYING.
Demonstrate the process of reading and displaying each record in a file using a COBOL PERFORM UNTIL loop with the EOF (end-of-file) condition.
Capstone Activity
Recommended experience
A very basic knowledge of COBOL code is recommended.
7 project images
Instructor
Offered by
How you'll learn
Skill-based, hands-on learning
Practice new skills by completing job-related tasks.
Expert guidance
Follow along with pre-recorded videos from experts using a unique side-by-side interface.
No downloads or installation required
Access the tools and resources you need in a pre-configured cloud workspace.
Available only on desktop
This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.
Why people choose Coursera for their career
New to Software Development? Start here.
Open new doors with Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
By purchasing a Guided Project, you'll get everything you need to complete the Guided Project including access to a cloud desktop workspace through your web browser that contains the files and software you need to get started, plus step-by-step video instruction from a subject matter expert.
Because your workspace contains a cloud desktop that is sized for a laptop or desktop computer, Guided Projects are not available on your mobile device.
Guided Project instructors are subject matter experts who have experience in the skill, tool or domain of their project and are passionate about sharing their knowledge to impact millions of learners around the world.