
Explore DB2, IBM's relational database for mainframes, used for online transaction processing, and learn core concepts like tables, columns, rows, and SQL operations such as create, insert, update, and delete.
Explore how to call DB2 from COBOL in a mainframe environment using multiple methods, including COBOL programs, batch utilities, and data loading/unloading from and to files.
Discover how to call db2 using sql from an application program or tools, including batch cobol and online usage, and test small data with tools to debug.
Understand the DB2 object hierarchy from storage groups to databases, table spaces, tables, indexes, and columns, and learn how views and synonyms fit in while clarifying developer and DBA roles.
Explore the roles of developer and database administrator in mainframe environments, mastering CRUD operations in COBOL and the management of storage groups, table spaces, and indexes.
Learn the three data type families in COBOL DB2—string, numeric, and time types—covering character and graphic varieties, and how to declare values like 9(5) and x(10).
Learn sql fundamentals, covering ddl, dml, and dcl concepts, and practice creating and altering tables, inserting, updating, selecting, deleting, and granting access on the mainframe.
Learn to practice SQL queries on the mainframe using two tools, Kümmel (Quality Management Facility) and Spoofy, for interactive testing, table creation, data insertion, and result storage.
Create a table in qmf by specifying the table name, fields with data types, not null, and a primary key, then alter to add columns and index.
Alter the table by adding customer transaction, date, and amount fields with defaults and null handling. Review primary key, indexes, and how to drop the table.
Demonstrates dropping a table with the drop command in a mainframe DB2 environment, confirms permanent database changes, and highlights basic data definition language commands like create and drop.
Explore referential integrity in mainframe db2, linking primary keys, unique keys, and foreign keys, and applying on delete cascade and on delete restrict rules.
Learn how to grant and revoke table permissions in DB2 using data control language, including insert, delete, select access, while noting that DBAs manage access and developers rarely use grants.
Demonstrate inserting records with dml insert queries by showing single and multi-row inserts, aligning columns and values, and verifying results on a mainframe using a sample customers table.
Perform a dml update to change a specific record, such as updating a customer's name from Robert to Robin Hood where id equals 1001, then verify with a select.
Master the delete command in dml on the mainframe, deleting records with conditions like customer_id=101, and see how delete fits with insert, update, and select.
Master dml select queries to retrieve data from tables, with select * or specific columns. Use where with between and in, and leverage group by and having for aggregated results.
Explore creating database views to tailor data access: combine fields from multiple tables, restrict visible fields for roles like project managers or HR, and query with example salary-based views.
Explore the differences between interactive mode and embedded statements in COBOL DB2, including the global and school parts processed by a precompiler before compiling the COBOL program.
Create three program components for the cobol db2 application and set up load libraries. Define the brm as the compiled cobol version and include 80-byte blocks and copy books.
Learn to create an employee table in SPUFI, defining employee_id, employee_name, date, salary, and department, with a primary key and unique index, then execute and verify results.
Explore host variables as the interface between a COBOL program and DB2, detailing declaration, length handling, and the rules for non-grouping, non-renaming, and inserting values into tables.
Explore host variables by mapping database fields to COBOL equal in variables, matching field lengths and data types such as integer, decimal, character, date, time, and timestamp.
Explore DCLGEN, IBM's declaration generator, to auto-create host-readable COBOL table structures from DB2 tables, reducing errors and easing maintenance with generated copybooks in mainframe COBOL projects.
Explore how DCLGEN with different options handles column labels, host variables, and output statements in COBOL DB2, including replacement actions and label options.
Learn how to write SQL queries inside a COBOL program for mainframe DB2, including select, insert, update, and delete, using exec blocks, host variables, and copy book structures.
Explore a simple COBOL DB2 program showing identification, environment, data, and procedure divisions, a copybook, colon-prefixed host variables, and a select that fetches an employee record for display.
Write a Cobol + DB2 program to retrieve employee data from a table, using host variables, a select statement with a where clause, and display results before compiling and running.
Learn how to compile a COBOL DB2 program from pre compilation to binding, including expanding includes, handling brecon violation, creating load modules, and running with a plan.
Demonstrate inserting data into a DB2 table via a COBOL program, manage records and fields, troubleshoot alignment issues, and run the full COBOL DB2 workflow from compile to execution.
Define and use SQLCA, a structure that stores the status of the last executed statements, along with common error codes and error messages, within your COBOL DB2 programs.
Learn to update table data in COBOL by passing values to host variables for employee name and employee number. Write the update statements, then compile and run to see results.
Explain sqlca in detail, covering status codes, such as zero for success and zero zero for no records, and how warnings and error messages are handled in the copy book.
Master SQL code concepts in COBOL DB2 mainframe work, using evaluate and if statements, status codes, and 88 clauses with copybooks to validate updates and display errors.
Explore essential COBOL DB2 terms, including the precompiler, BRM, and modified source programs. Learn how binding creates a plan and package to execute statements, and understand syntax errors and privileges.
Learn to write a COBOL DB2 program that counts total records in a table, defines a host variable with picture 9(4) comp, binds, compiles, and runs to display the result.
Learn how to insert data into a DB2 table using a COBOL DB2 application program, including mapping the employee name field and compiling the code for execution.
Explore the cursor life cycle in mainframe COBOL DB2, from declaration to opening, fetching into a buffer, and closing, enabling retrieval of multiple rows for display.
Declare a cursor in the procedure division or working storage, with a select and where conditions. Open the cursor, fetch into host variables, and close it to complete the lifecycle.
Execute a cursor program in COBOL DB2 by declaring a cursor, opening it, fetching rows, displaying records, and closing the cursor, with a loop controlled by code values.
Learn to implement a COBOL DB2 cursor program by declaring, opening, fetching, and displaying records, then closing the cursor to fix scope terminator and perform logic to avoid infinite loops.
Create two data sets, allocate a fixed block, prepare spoofy in and spoofy out, then use SPUFI to write and run queries.
Create a table with employee details in a mainframe DB2 environment, defining employee id, first name, last name, date, department, and a primary key. Store results in a sequential dataset.
Demonstrate inserting employee records with insert into, specifying id, first name, last name, birth date, salary, and department, while fixing apostrophe and date format issues; verify table and index.
Master inserting new records and using select queries to fetch data from the M.B table, including retrieving all columns and specific fields like employee id and employee first name.
Master selecting data with a where clause to filter employees by condition and retrieve specific fields such as employee id, name, date of birth, and salary.
Learn how to sort data in ascending or descending order using sql, and how to use select and order by to identify top records and the highest salaries.
Master how to fetch data using relational operators and the LIKE clause in DB2, filtering by salary ranges and pattern matching on names and IDs.
Explore sql aggregate functions by calculating sum and average salaries, applying department-based conditions, and counting rows to verify results across employee data.
Use logical OR and AND conditions to filter records in SQL queries, selecting employees by department and salary thresholds and verifying resulting output.
Explore computing salaries with select queries, applying arithmetic operations to department 001, and analyze results using group by to sum, average, and max salaries by department.
perform a select query using group by to compute the average age by department in DB2 COBOL, illustrating department wise averages and group by techniques.
Use SQL update and delete commands to modify and remove records in a DB2 table, including updating birth dates and salaries and deleting single or multiple rows.
Explore referential integrity by linking employee department numbers as a foreign key to department keys, compare primary and foreign keys, and summarize on delete cascade, restrict, and set null behaviors.
Explore referential integrity in practice by creating department and employee tables, defining primary and foreign keys, and enforcing valid relationships with inserts and error handling.
Explore referential integrity in a department and employee setup. Learn how inserts fail with missing references and how on delete cascade, set, or restrict works.
Create three tables: supplier, product, and supplier_product, and define primary keys, a unique index, and foreign key constraints with cascade delete to demonstrate referential integrity and data insertion.
The lecture demonstrates enforcing referential integrity by validating foreign keys in supplier and product tables before insertions, showing failures when referenced IDs are missing.
Explore referential integrity in foreign key relationships by seeing how on delete cascade automatically removes child records when deleting a parent, versus restrict behavior that blocks deletion.
Learn how to use joins to retrieve data from two related tables by creating an employee and a department table, inserting records, and exploring join options.
Demonstrates a simple join between employee and department tables to fetch employee names and their department names using matching employee and manager numbers.
Apply inner join to two tables to retrieve matched records where employee number equals manager number, selecting employee name and department name to reveal intersection of data.
Explore how the right outer join returns all records from the right table and matched records from the left, shown with department and employee examples.
Explore how the left outer join returns all records from the left table and brings in the matching records from the right.
Master subqueries by writing inner queries to drive outer queries, and learn to retrieve the second max salary from an employee table using nested max calculations.
Master nested subqueries by building an inner query to find the third and fourth highest salaries from the employee table, using up to fifteen levels of subqueries.
Explore the correlated subquery and its execution, compare it with standard and nested subqueries, and learn to write a generic query to fetch top salaries on the mainframe.
Identify the total records in a table using count functions, compare to retrieving all data, and learn optimization by avoiding unnecessary data retrieval and using distinct counts.
Explore how to use group by to aggregate data by department, calculating total salaries, employee counts, and average salaries, and assign meaningful aliases to results.
Learn how to use group by to compute the sum of salaries per department and identify the maximum salary within each department, with practical examples.
Apply group by with having to find departments with more than one employee, using count and filters to drive business analytics and decision making.
Learn how to merge data from two tables using union, align corresponding fields like city and country, and sort results by city to retrieve combined city lists.
Explore the difference between union and union all, showing how union eliminates duplicates to return unique records while union all returns all records.
Create and use views in db2 to restrict access to sensitive employee data, transforming a master employee table into department-specific virtual tables.
Learn to create, query, and drop DB2 views, and tailor a focused employee view with id and salary for specific departments, highlighting views as virtual tables.
Explore querying to extract year, date, and month from a date on the mainframe, using date functions and testing with a dummy table to drive reporting.
Use system functions to fetch the current hour, minute, second, and date in a COBOL DB2 environment, building complete time and date values from current time queries.
Learn to compute year differences using current date and account creation dates to identify premium customers for promotions, and use update queries to flag defaults after 180 days of inactivity.
Master trim functions in mainframe DB2: use left trim and right trim to remove spaces from data sourced from flat files, ensuring clean load into tables and reliable concatenation.
Explore the COBOL DB2 compilation workflow, focusing on precompile steps, converting source to COBOL statements, generating a BRM library, and timestamped validation before binding.
Explore the COBOL DB2 compilation workflow, including pre compilation, recompilation, separating COBOL statements, and generating a dvr before compiling, linking, and binding load modules.
Explore how cobol db2 compilation reaches bind and plan, turning code into an executable by verifying statements, catalog entries, and authorization in the binding process. Understand how statistics influence binding parameters and plan creation.
Explore the two-stage binding process by creating a bind package and generating a plan that combines multiple programs, then execute the plan with a single run.
Explore bind parameters such as cs, rr, and ur, and how isolation levels, plan binding, and validation timing govern concurrency and cobol program management.
First I would like to thank you! on landing on to this Course and Congratulations for opting this course.
Here I'm going to explain the IBM Mainframe classes in a very simple way with a practical oriented Sessions. I have tried my best! to cover all different topics that are being used in the Real time which makes you a feel like a class room session and I hope you will enjoy this journey on learning of the Mainframe Course with in a couple of days .
This course is intended for all the levels that can be starting from a Student or Fresher who is just passed out from his graduation or the people who have joined their carrier as Mainframe Developer or people who want to refresh or Upgrade there skill set on mainframe.
Yes, you are in a right! place on selecting this course and I will be available to address all your queries, support and guide in all the ways that i can during this course of journey.
One and only motive is to teach the Mainframe in a Very simple way.
Course Covers with the following Topics.
Introduction to Mainframe
DB2 From Scratch to Advanced
SQL Queries
QMF Tool
Cobol DB2 Programming
Real Time Examples
Practical Oriented
Happy Learning!!