Introduction to COBOL
  • Introduction
  • Important Information about this Course
  • History and Versions of COBOL
  • Structure of a COBOL Program
  • Coding Rules in COBOL
  • DIVISIONS in COBOL
Let us connect to Mainframe using our Personal computer
  • Understand background connection between Local Operating system and Mainframe
  • Let us connect to MVS 3.8 on our Local computer
  • Common Question which students ask about MVS 3.8J Tur(n)key
  • Connect to Modern Mainframe server using an IP address other than localhost
Variables, Literals, Figurative Constants, Data Types, Levels and Much more.
  • Variables, Literals and Figurative Constants
  • Data Types in COBOL
  • Lets understand about the General Level Numbers in COBOL
  • Advance(Special) Level Numbers
  • Explore a program with various level numbers in Detail
  • DISPLAY and MOVE in COBOL
  • ACCEPT in COBOL
  • Relation of ACCEPT statement with SYSIN and SYSOUT Parameter of JCL
  • Lets Create our First HELLO WORLD Program
Basic commands, Creation of PS and PDS, SPOOL, DISPLAY, MOVE and ACCEPT
  • Basic commands to start with
  • Let us create datasets (PS and PDS) - Optional
  • SPOOL - Analyse the process where you can see the output of your program
Arithmetic Operations in COBOL
  • Arithmetic Operations - ADD
  • Lets code an Example of ADD statement
  • Arithmetic Operation - SUBTRACT
  • Arithmetic Operation - MULTIPLY
  • Arithmetic Operations - DIVIDE
  • Example of DIVIDE in COBOL
  • COMPUTE in COBOL
  • Examples of COMPUTE in COBOL
Conditional Processing and Iterations
  • IF-ELSE Statement
  • Example of IF-ELSE statement in COBOL
  • Lets understand the EVALUATE statement in COBOL
  • Different Types of EVALUATE statements
  • Example of EVALUATE Statement - Part 1
  • Example of EVALUATE Statement - Part 2
  • Different Types of PERFORM statements
  • Examples of PERFORM Statements
Internal Table in COBOL - ARRAYS
  • Lets understand what is Internal Table in COBOL-ARRAYS
  • Lets create a 1-Dimensional Array with confidence.
  • Lets create a 2-Dimensional Array with confidence.
  • INDEXED BY in Arrays
  • SUBSCRIPT in Arrays
  • Difference between INDEX and SUBSCRIPT
Searching for Records in table - Using SEARCH and SEARCH-ALL
  • Understanding SEARCH and SEARCH-ALL
  • Lets code a Program to execute SEARCH-ALL Operation
String Handling in COBOL
  • What is String operations in COBOL
  • Lets understand STRING operation in detail
  • Lets Code a Program to perform STRING Operation
  • Lets Explore STRING operation further
  • Lets Understand UNSTRING Operation
  • Lets analyse a sample UNSTRING Program
  • Lets Explore UNSTRING Operation further
  • Analyse the output of the UNSTRING Operation
  • INSPECT in COBOL
  • Lets Code a PROGRAM to execute INSPECT
CALL - Inter Program Communication
  • Lets master the different Types of Control passing
  • What is CALL and Different types of CALL.
  • Lets code a CALLING program and a CALLED Program
  • CALL by Content
File Handling in COBOL
  • Different types of files in COBOL
  • Details about Sequential Files
  • Examine other options for Sequential Files
  • Various options involved in File Handling - OPEN and READ
  • Various options involved in File Handling - WRITE and START
  • Various options involved in File Handling - REWRITE, DELETE and CLOSE
  • Lets master all the access modes in COBOL file Handling
  • Let us code a Program to read sequential file and process the output in SPOOL
  • Code a Program to read sequential file and write records to the output file
  • Lets us explore about the format and syntax of Indexed and Relative files
  • Let us code an INDEXED file and explore further
  • Update Record
  • Delete a Record
Internal Representation of Data in COBOL
  • Usage Clause
  • Usage Clause as DISPLAY
  • Computational Usage Clause
  • Usage Clause as COMP
  • Usage Clause as COMP-1
  • Usage Clause as COMP-2
  • Usage Clause as COMP-3
Advanced - COBOL DB2 concepts
  • Steps to create a COBOL DB2 Program - Part 1
  • Steps to create a COBOL DB2 Program - Part 2
  • JCLS used in this course to execute COBOL DB2 Program
  • Structure of a COBOL DB2 Program
  • Lets Code a COBOL DB2 Program to perform DB2 operations
  • Code COBOL DB2 Program 1 for DML operation
  • Code COBOL DB2 Program 2 for DML operation