About this course

Course code TPCBCO
Duration 5 Days

This five-day course has been specifically designed for programmers with experience in other languages (PL/I, Assembler, Java etc.). It is taught using a combination of classroom tuition and practical exercises, and includes realistic case studies that can be based on the client's particular environment and work-load.<br><br>This course is available publicly on demand and also for one-company, on-site presentations.

Prerequisites

Prerequisite for attendance is experience in programming skills in other languages. Attendees should also have a conceptual level understanding of the z/OS mainframe environment and the ability to use TSO/ISPF and JCL.

Delegates will learn how to

  • code the four divisions of a COBOL program
  • write, compile and test COBOL batch programs in an IBM environment
  • access files from COBOL programs
  • perform arithmetic operations in COBOL programs
  • use conditional expressions
  • call COBOL subroutines
  • define and access tables using both subscripts and indexes.

Outline

Structure & coding conventions

PC Metalanguage; the COBOL character set ; coding conventions; divisions, sections, paragraphs, sentences and statements

IDENTIFICATION DIVISION

ENVIRONMENT DIVISION

DATA DIVISION

FILE SECTION and WORKING - STORAGE SECTION; FDs; hierarchy and level numbers; elementary and group data items; PICTUREs; the VALUE clause; editing characters; literals, figurative constants.

PROCEDURE DIVISION

MOVE, ADD, SUBTRACT, MULTIPLY, DIVIDE and COMPUTE; PERFORM; ACCEPT and DISPLAY; OPEN and CLOSE; READ and WRITE; file access modes; indexed and relative files.

Conditional statements and branching

IF and ELSE; comparisons and tests; Level 88; negated conditions; nested IFs; GO TO; PERFORM UNTIL; EVALUATE.

Table handling and data representation

Tables; PERFORM...VARYING; implicit and explicit redefinition; DISPLAY, COMP, COMP-3, SYNC and JUSTIFY; data representation; INITIALIZE.

Additional statements and alternative constructs

DECLARATIVES; the CORRESPONDING clause.

Other features

COPY; LINKAGE SECTION; CALL; SORT and MERGE.

5 Days

Duration
Delivery Method

Delivery method

Classroom

Face-to-face learning in the comfort of our quality nationwide centres, with free refreshments and Wi-Fi.

Find dates and prices

Online booking is currently not available for this course, to find out more please call us on 0345 074 7998 or email us at info@qa.com to discuss how we can help.

Trusted, awarded and accredited

Fully accredited to ensure we provide the highest possible standards in learning

All third party trademark rights acknowledged.