QA-TPCBF

Ladda ner som PDF

COBOL Programming Part 1 - Foundation Level

Introducing new programmers to COBOL, this course teaches how to write and maintain simple COBOL programs. 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.

Prior knowledge

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.
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.

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 ... Läs mer
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.

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.

Utbildningen levereras i samarbete med

Kurs-ID: QA-TPCBF
Längd: 5 dagar
Kan betalas med:
TRAINING CARD

Avtalsrabatter och kampanjer kan ej nyttjas på denna kurs.


Lämna dina kontaktuppgifter om du önskar en företagsintern utbildning.

Tipsa