Overview

This course (and its associated Part 2) have become the de facto standard introduction to the COBOL programming language for all those working in z Systems environments.<br><br>This first course teaches how to write and maintain simple COBOL programs. It is taught using a combination of classroom tuition and hands-on practical exercises, and includes realistic case studies.<br><br>As well as public presentations, this course is available for one-company, on-site presentations. When run exclusively for one organisation, the case studies can be customised to reflect the client's particular environment and work-load.
Read more +

Prerequisites

An understanding of basic computing terms and techniques. For those who will be working in an IBM mainframe environment, a conceptual-level understanding of that environment and the ability to use TSO/ISPF is also expected.
Read more +

Delegates will learn how to

  • describe the structure and purpose of COBOL programs
  • write, compile and test structured COBOL batch programs
  • code both IDENTIFICATION and ENVIRONMENT DIVISIONS
  • code data descriptions within the DATA DIVISIONS
  • access sequential files from COBOL programs
  • perform arithmetic operations in COBOL programs.
Read more +

Outline

Introduction to COBOL Programming

Programming concepts; low and high level programming; development; compiling; COBOL history; Program design; Preparing a program.

COBOL Programming Basics

Syntax descriptions; COBOL divisions; COBOL program structure; Words; Word examples; Literal examples; Figurative constants; User-defined words; Standard COBOL program format.

IDENTIFICATION DIVISION

IDENTIFICATION DIVISION; IDENTIFICATION DIVISION sentences; Use of comments.

ENVIRONMENT DIVISION

ENVIRONMENT DIVISION; CONFIGURATION SECTION; INPUT-OUTPUT SECTION; Relationship with JCL.

DATA DIVISION

DATA DIVISION; Data record structure and levels; Data records - example; FILE SECTION; Coding rules & recommendations; WORKING-STORAGE SECTION; Describing data; PICTURE clause; Alphanumeric & alphabetic data; Numeric data; Setting initial values.

PROCEDURE DIVISION - File Handling

PROCEDURE DIVISION; I/O statements; OPEN /CLOSE statements; OPEN /CLOSE examples; READ / WRITE statements; READ / WRITE examples; Writing print headings and lines; MOVE statement; MOVE examples; Group MOVE; DISPLAY; Terminating a program; RETURN-CODE.

PROCEDURE DIVISION - Program Logic

Paragraphs; GO TO statement; Structured programming; In-line PERFORM; Paragraphs & sections; Using sections; PERFORMing a section; PERFORM example; PERFORM . . THROUGH; PERFORM UNTIL; PERFORM VARYING...UNTIL.

ACCEPT and Date Intrinsic Functions

ACCEPT; Using ACCEPT for input data; ACCEPT date data format; Intrinsic functions; CURRENT-DATE function; Other date functions - YYYYMMDD date format; Other date functions - YYYYDDD date format.

Arithmetic Operations

Arithmetic operations; Other common options; The ADD statement; The SUBTRACT statement; CORRESPONDING statement; MULTIPLY statement; DIVIDE statement; COMPUTE statement; Size errors; ON SIZE ERROR option; Arithmetic functions; Arithmetic functions examples.

Conditional Processing

Conditional processing; IF statement format; Relational conditions; Class conditions; Sign condition; Multiple conditions; Nested IF statements; 88 level identifiers; Setting 88 levels; The EVALUATE statement; EVALUATE and multiple fields; EVALUATE using TRUE & FALSE; Using ANY.

Program Compilation

The COBOL compiler; Compiler-directive statements - COPY; Compiler listing - COPY; Compiler options.

COBOL Errors & Abends

Error messages; Abend codes; Abend information; CEEDUMP.

Read more +

Why choose QA

Dates & Locations

Need to know

Frequently asked questions

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Let's talk

By submitting this form, you agree to QA processing your data in accordance with our Privacy Policy and Terms & Conditions. You can unsubscribe at any time by clicking the link in our emails or contacting us directly.